From e72ecc35a260f532b26a07d5d9b1085975a3411e Mon Sep 17 00:00:00 2001 From: Andreas Fahrecker Date: Wed, 10 Apr 2024 17:44:44 +0200 Subject: [PATCH] test --- Jenkinsfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d565b74..042f641 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,6 +25,8 @@ pipeline { if (sh(script: 'git log -1 --pretty=format:"%an"', returnStdout: true).trim() == 'Jenkins') { currentBuild.result = 'ABORTED' error('Last commit was by Jenkins, skipping build') + } else { + echo 'Last commit was not by Jenkins, continuing build' } } } @@ -45,7 +47,7 @@ pipeline { } steps { sh 'mkdir -p out' - sh 'rm out/andysadguardhomeblocklist.txt' + sh 'npm run compile:test' sh ''' git add out/andysadguardhomeblocklist.txt git commit -m "Update Compiled Adblock List"