From 3415159873f909a88197859847eec3f64083b8a7 Mon Sep 17 00:00:00 2001 From: dany Date: Thu, 29 Sep 2022 23:01:21 +0200 Subject: [PATCH] Update 'Jenkinsfile' --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 360364b..8152035 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,11 @@ def copyArtifactsByBranches(projectName){ Iterator iterator = jobs.iterator(); while (iterator.hasNext()) { def job = iterator.next(); - copyArtifacts(projectName: 'gitea-sync/antos/' + job.getName(), target: 'build/frontend/' + job.getName()); + step([$class: 'CopyArtifact', + projectName: 'gitea-sync/antos/' + job.getName(), + target: 'build/frontend/' + job.getName() + ]); + //copyArtifacts(projectName: 'gitea-sync/antos/' + job.getName(), target: 'build/frontend/' + job.getName()); } return null; }