Jesse James Isler
7e6b165876
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit
33 lines
466 B
Groovy
33 lines
466 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 {
|
|
sh 'ng build --prod --aot --sm --progress=false'
|
|
}
|
|
}
|
|
}
|
|
}
|