Maybe Fixed IT?
Some checks failed
andreas-personal/AndysAdguardHomeBlockList/pipeline/head There was a failure building this commit
Some checks failed
andreas-personal/AndysAdguardHomeBlockList/pipeline/head There was a failure building this commit
This commit is contained in:
parent
89de48245d
commit
a16f1bc3e1
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -20,8 +20,11 @@ pipeline {
|
|||||||
branch 'main'
|
branch 'main'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'mkdir -p dist'
|
sh '''
|
||||||
sh 'npm run compile'
|
git checkout main
|
||||||
|
mkdir -p dist
|
||||||
|
npm run compile
|
||||||
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('git push') {
|
stage('git push') {
|
||||||
@ -36,8 +39,7 @@ pipeline {
|
|||||||
sh '''
|
sh '''
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update Compiled Adblock List"
|
git commit -m "Update Compiled Adblock List"
|
||||||
git checkout main
|
git pull --rebase
|
||||||
git pull
|
|
||||||
git push
|
git push
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user