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