...
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:38:54 +02:00
parent 3194710388
commit b664645c85

7
Jenkinsfile vendored
View File

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