Jenkins Test 3
All checks were successful
andreas-personal/AndysAdguardHomeBlockList/pipeline/head This commit looks good

This commit is contained in:
Andreas Fahrecker 2024-04-10 01:46:27 +02:00
parent a0eb86be7b
commit bc635e599c

16
Jenkinsfile vendored
View File

@ -5,22 +5,30 @@ pipeline {
label 'linux'
}
stages {
when {
beforeAgent true;
branch 'main'
}
stage('NPM Install') {
when {
beforeAgent true;
branch 'main'
}
steps {
sh 'npm clean-install'
}
}
stage('Compile Adblock List') {
when {
beforeAgent true;
branch 'main'
}
steps {
// sh 'npm run compile'
sh 'echo "Compiling Adblock List...">test.txt'
}
}
stage('git push') {
when {
beforeAgent true;
branch 'main'
}
steps {
withCredentials([
gitUsernamePassword(credentialsId: 'gitea-jenkins-user-token')