Jesse James Isler
bd1c5a8ad4
Some checks reported errors
gitea_dndsources/schedulord-frontend/pipeline/head Something is wrong with the build of this commit
33 lines
490 B
Groovy
33 lines
490 B
Groovy
pipeline {
|
|
agent any
|
|
tools {
|
|
nodejs "node"
|
|
}
|
|
stages {
|
|
stage('NPM Install') {
|
|
steps {
|
|
sh 'npm install'
|
|
}
|
|
}
|
|
|
|
stage('Test') {
|
|
steps {
|
|
sh 'npm run ng test --progress=false --watch false'
|
|
junit '**/test-results.xml'
|
|
}
|
|
}
|
|
|
|
stage('Lint') {
|
|
steps {
|
|
sh 'npm run ng lint'
|
|
}
|
|
}
|
|
|
|
stage('Build') {
|
|
steps {
|
|
sh 'npm run ng build --prod --aot --sm --progress=false'
|
|
}
|
|
}
|
|
}
|
|
}
|