schedulord-frontend/Jenkinsfile
Jesse James Isler 36124b47cc
All checks were successful
gitea_dndsources/schedulord-frontend/pipeline/head This commit looks good
Schedulord/schedulord-frontend/pipeline/head This commit looks good
Renamed the Build Step
2022-06-09 14:32:55 +02:00

39 lines
632 B
Groovy

pipeline {
agent any
tools {
nodejs "node"
}
stages {
stage('NPM Install') {
steps {
sh 'npm install'
}
}
// stage('Test') {
// steps {
// sh 'npm run ng test --progress=false --watch false'
// junit '**/test-results.xml'
// }
// }
// stage('Lint') {
// steps {
// sh 'npm run ng lint'
// }
// }
stage('Build Angular') {
steps {
sh 'npm run ng build --prod --aot --sm --progress=false'
}
}
stage('Build Dockerfile') {
steps {
sh 'docker build . -t schedulord-frontend'
}
}
}
}