Test new Jenkins File
Some checks failed
andreas-personal/AndysAdguardHomeBlockList/pipeline/head There was a failure building this commit

This commit is contained in:
Andreas Fahrecker 2024-04-10 01:34:07 +02:00
parent a3655a8ee4
commit 64d96165fe

13
Jenkinsfile vendored
View File

@ -1,17 +1,13 @@
#!groovy
pipeline {
agent none
stages {
stage('Compile List and Push to Gitea') {
agent {
label 'linux'
}
when {
beforeAgent true;
branch 'main'
}
agent {
label 'linux'
}
stages {
stage('NPM Install') {
steps {
@ -29,6 +25,7 @@ pipeline {
gitUsernamePassword(credentialsId: 'gitea-jenkins-user-token')
]) {
sh '''
git checkout main
git add .
git commit -m "Update Compiled Adblock List"
git push
@ -38,5 +35,3 @@ pipeline {
}
}
}
}
}