I'm a stupid donkey
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit
Some checks failed
gitea_dndsources/schedulord-frontend/pipeline/head There was a failure building this commit
This commit is contained in:
parent
abced8fb6c
commit
b86ce8fa78
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -5,25 +5,29 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
stage('NPM Install') {
|
stage('NPM Install') {
|
||||||
withEnv(["NPM_CONFIG_LOGLEVEL=warn"]) {
|
steps {
|
||||||
sh 'npm install'
|
sh 'npm install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Test') {
|
stage('Test') {
|
||||||
withEnv(["CHROME_BIN=/usr/bin/chromium-browser"]) {
|
steps {
|
||||||
sh 'ng test --progress=false --watch false'
|
sh 'ng test --progress=false --watch false'
|
||||||
}
|
|
||||||
junit '**/test-results.xml'
|
junit '**/test-results.xml'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Lint') {
|
stage('Lint') {
|
||||||
|
steps {
|
||||||
sh 'ng lint'
|
sh 'ng lint'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
steps {
|
||||||
milestone()
|
milestone()
|
||||||
sh 'ng build --prod --aot --sm --progress=false'
|
sh 'ng build --prod --aot --sm --progress=false'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user