Jenkins First Normal Run
Some checks reported errors
andreas-personal/AndysAdguardHomeBlockList/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Andreas Fahrecker 2024-04-10 02:00:49 +02:00
parent 034292f685
commit 3ee4537029

13
Jenkinsfile vendored
View File

@ -20,16 +20,7 @@ pipeline {
branch 'main' branch 'main'
} }
steps { steps {
// sh 'npm run compile' 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
'''
} }
} }
stage('git push') { stage('git push') {
@ -43,7 +34,7 @@ pipeline {
]) { ]) {
sh ''' sh '''
git checkout main git checkout main
git pull --rebase git pull
git add . git add .
git commit -m "Update Compiled Adblock List" git commit -m "Update Compiled Adblock List"
git push git push