From c8ea52a77fc57312ce81e5692eecb525bd355d13 Mon Sep 17 00:00:00 2001 From: Norbert Walkowiak Date: Thu, 8 Jun 2023 12:01:46 +0200 Subject: [PATCH] update do zadania 2 z lab 06 --- Jenkinsfile-evaluation | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile-evaluation b/Jenkinsfile-evaluation index cbe47a5..416a281 100644 --- a/Jenkinsfile-evaluation +++ b/Jenkinsfile-evaluation @@ -17,7 +17,7 @@ pipeline{ // 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/', '') + branchName = branchName.replaceFirst('origin/', '') def myProject = "z-s487175-training/${branchName}" copyArtifacts(