From 95a9364391ba438cffb1210ae648e4f97d9f3dd3 Mon Sep 17 00:00:00 2001 From: Jared Date: Tue, 1 Jul 2025 09:25:21 +0200 Subject: [PATCH] added check if pipeline job was running --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b523cfa..f3d4456 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' }