schedulord-frontend/Jenkinsfile
Jesse James Isler b86ce8fa78
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit
I'm a stupid donkey
2022-06-09 11:58:42 +02:00

34 lines
486 B
Groovy

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