I'm a stupid donkey
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit

This commit is contained in:
Jesse James Isler 2022-06-09 11:58:42 +02:00
parent abced8fb6c
commit b86ce8fa78

16
Jenkinsfile vendored
View File

@ -5,25 +5,29 @@ pipeline {
}
stages {
stage('NPM Install') {
withEnv(["NPM_CONFIG_LOGLEVEL=warn"]) {
steps {
sh 'npm install'
}
}
stage('Test') {
withEnv(["CHROME_BIN=/usr/bin/chromium-browser"]) {
steps {
sh 'ng test --progress=false --watch false'
junit '**/test-results.xml'
}
junit '**/test-results.xml'
}
stage('Lint') {
sh 'ng lint'
steps {
sh 'ng lint'
}
}
stage('Build') {
milestone()
sh 'ng build --prod --aot --sm --progress=false'
steps {
milestone()
sh 'ng build --prod --aot --sm --progress=false'
}
}
}
}