added test to Jenkinsfile
nclazz/api-cli/pipeline/head There was a failure building this commit Details

pull/2/head
Niclas Thobaben 2021-07-07 22:42:26 +02:00
parent 8585289540
commit 3c2d743b18
1 changed files with 4 additions and 0 deletions

4
Jenkinsfile vendored
View File

@ -20,6 +20,10 @@ pipeline {
sh('git remote set-url origin \$(echo $GIT_URL | sed -e "s^//^//$GIT_CREDENTIALS@^")')
}
}
stage('Checks') {
sh 'npm run test'
}
stage('Set Version') {
when {
allOf {