fixed indentation
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
b664645c85
commit
abced8fb6c
39
Jenkinsfile
vendored
39
Jenkinsfile
vendored
@ -3,22 +3,27 @@ pipeline {
|
|||||||
tools {
|
tools {
|
||||||
nodejs "node"
|
nodejs "node"
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('NPM Install') {
|
stage('NPM Install') {
|
||||||
sh 'npm install'
|
withEnv(["NPM_CONFIG_LOGLEVEL=warn"]) {
|
||||||
}
|
sh 'npm install'
|
||||||
|
|
||||||
stage('Test') {
|
|
||||||
sh 'ng test --progress=false --watch false'
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Lint') {
|
|
||||||
sh 'ng lint'
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Build') {
|
|
||||||
sh 'ng build --prod --aot --sm --progress=false'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Test') {
|
||||||
|
withEnv(["CHROME_BIN=/usr/bin/chromium-browser"]) {
|
||||||
|
sh 'ng test --progress=false --watch false'
|
||||||
|
}
|
||||||
|
junit '**/test-results.xml'
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Lint') {
|
||||||
|
sh 'ng lint'
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Build') {
|
||||||
|
milestone()
|
||||||
|
sh 'ng build --prod --aot --sm --progress=false'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user