diff --git a/Jenkinsfile-evaluation b/Jenkinsfile-evaluation index 46363ff..cbe47a5 100644 --- a/Jenkinsfile-evaluation +++ b/Jenkinsfile-evaluation @@ -14,7 +14,12 @@ pipeline{ stage('Copy model artifacts with test dataset') { steps { script { - def myProject = "z-s487175-training/master" + // Biblioteka w Jenkis automatycznie dopisuje origin przed nazwą brancha + // dlatego wprowadziłem poniższe przekształcenie + def branchName = params.BRANCH ?: 'master' + branchName = branchName.replaceFirst('/origin/', '') + + def myProject = "z-s487175-training/${branchName}" copyArtifacts( projectName: myProject, fingerprintArtifacts: true,