Jesse James Isler
b1c0984d61
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit
39 lines
624 B
Groovy
39 lines
624 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') {
|
|
steps {
|
|
sh 'npm run ng build --prod --aot --sm --progress=false'
|
|
}
|
|
}
|
|
|
|
stage('Build Dockerfile') {
|
|
steps {
|
|
sh 'docker build . -t schedulord-frontend'
|
|
}
|
|
}
|
|
}
|
|
}
|