Merge branch 'julius-dev' of Software_Engineering_I/greenvironment-frontend into master

master
Trivernis 5 years ago committed by Gitea
commit 1ed72738b0

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