added check if pipeline job was running
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -29,19 +29,19 @@ pipeline {
|
|||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Install Dependencies') {
|
stage('Install Dependencies') {
|
||||||
script {
|
|
||||||
didRun = true
|
|
||||||
}
|
|
||||||
steps {
|
steps {
|
||||||
|
script {
|
||||||
|
didRun = true
|
||||||
|
}
|
||||||
sh 'npm ci'
|
sh 'npm ci'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Test & Security Audit') {
|
stage('Test & Security Audit') {
|
||||||
script {
|
|
||||||
didRun = true
|
|
||||||
}
|
|
||||||
steps {
|
steps {
|
||||||
|
script {
|
||||||
|
didRun = true
|
||||||
|
}
|
||||||
echo 'Start checking security vulnerabilities in npm packages'
|
echo 'Start checking security vulnerabilities in npm packages'
|
||||||
sh 'npm audit --audit-level=moderate'
|
sh 'npm audit --audit-level=moderate'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user