From 3ee4537029b6afc87a383b68dd1684653a6b2a97 Mon Sep 17 00:00:00 2001 From: Andreas Fahrecker Date: Wed, 10 Apr 2024 02:00:49 +0200 Subject: [PATCH] Jenkins First Normal Run --- Jenkinsfile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9b71008..aed4a68 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,16 +20,7 @@ pipeline { branch 'main' } steps { - // sh 'npm run compile' - sh ''' - echo "Before deletion:" - ls - rm test.txt - echo "After deletion:" - git add . - git commit -m "Remove test.txt with jenkins" - ls - ''' + sh 'npm run compile' } } stage('git push') { @@ -43,7 +34,7 @@ pipeline { ]) { sh ''' git checkout main - git pull --rebase + git pull git add . git commit -m "Update Compiled Adblock List" git push