Test file structure
Some checks failed
andreas-personal/AndysAdguardHomeBlocklist/pipeline/head There was a failure building this commit

This commit is contained in:
Andreas Fahrecker 2024-08-07 15:35:32 +02:00
parent 52bddefaae
commit 6fb435a914

4
Jenkinsfile vendored
View File

@ -17,6 +17,8 @@ pipeline {
withGradle {
sh './gradlew :compileAdblockList'
}
// List the contents of the out directory for debugging
sh 'ls -la out'
// Verify the file exists
sh 'test -f out/andysadguardhomeblocklist.txt'
}
@ -36,6 +38,8 @@ pipeline {
stages {
stage('Build') {
steps {
// List the contents of the out directory for debugging
sh 'ls -la out'
// Verify the file exists
sh 'test -f out/andysadguardhomeblocklist.txt'
sh 'docker build -t gitea.fahrecker.com/andreas-personal/andysadguardhomeblocklist:dev-latest -t gitea.fahrecker.com/andreas-personal/andysadguardhomeblocklist:${tag} .'