Will it build??

This commit is contained in:
2024-06-11 21:44:13 +02:00
parent dac9b31f78
commit 42fe9ca7d3

6
Jenkinsfile vendored
View File

@@ -15,8 +15,10 @@ pipeline {
if (dir(subfolderPath).exists()) {
try {
def subfolderJob = load "${subfolderPath}/.jenkins/Jenkinsfile.snapshot"
subfolderJob()
dir("${WORKSPACE}/${subfolderName}") {
def subfolderJob = load ".jenkins/Jenkinsfile.snapshot"
subfolderJob()
}
} catch (Exception e) {
echo "Error running pipeline for ${subfolderPath}: ${e.message}"
hasFailure = true