Jenkins First Normal Run
Some checks reported errors
andreas-personal/AndysAdguardHomeBlockList/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
andreas-personal/AndysAdguardHomeBlockList/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
034292f685
commit
3ee4537029
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user