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 {
|
||||
stage('Install Dependencies') {
|
||||
script {
|
||||
didRun = true
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
didRun = true
|
||||
}
|
||||
sh 'npm ci'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Test & Security Audit') {
|
||||
script {
|
||||
didRun = true
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
didRun = true
|
||||
}
|
||||
echo 'Start checking security vulnerabilities in npm packages'
|
||||
sh 'npm audit --audit-level=moderate'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user