diff --git a/Jenkinsfile b/Jenkinsfile index 852e85c..62b2e34 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -36,7 +36,7 @@ pipeline{ copyArtifacts(projectName: 'luasec', target: 'build/backend'); script { - jenkins.model.Jenkins.instance.getItemByFullName(projectName).getAllJobs().each { job -> + jenkins.model.Jenkins.instance.getItemByFullName('gitea-sync/antos').getAllJobs().each { job -> String name = job.getName(); echo name; copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'build/frontend/');