Jenkings config artifact

- added the build output as an artifact
- removed tslint call in Dependencies stage
master
Trivernis 5 years ago
parent 481de04ee5
commit bd310ab287

3
Jenkinsfile vendored

@ -8,7 +8,6 @@ pipeline {
nodejs(nodeJSInstallationName: 'Node 12.x') { nodejs(nodeJSInstallationName: 'Node 12.x') {
sh 'npm i @angular/cli' sh 'npm i @angular/cli'
sh 'npm i' sh 'npm i'
sh 'tslint "src/**/*.ts"'
} }
} }
} }
@ -26,6 +25,8 @@ pipeline {
nodejs(nodeJSInstallationName: 'Node 12.x') { nodejs(nodeJSInstallationName: 'Node 12.x') {
sh 'ng build --prod' sh 'ng build --prod'
} }
sh '/bin/tar -zcvf greenvironment-frontend.tar.gz dist'
archiveArtifacts artifacts: 'greenvironment-frontend.tar.gz', fingerprint: true
} }
} }
} }

Loading…
Cancel
Save