Update 'Jenkinsfile'
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit

This commit is contained in:
dany 2022-09-29 22:48:27 +02:00
parent fee7a3fa97
commit b4dc960dd7

1
Jenkinsfile vendored
View File

@ -1,5 +1,4 @@
// need to approve all static functions in Dashboard > Manage Jenkins > ScriptApproval // need to approve all static functions in Dashboard > Manage Jenkins > ScriptApproval
@NonCPS
def copyArtifactsByBranches(projectName){ def copyArtifactsByBranches(projectName){
jenkins.model.Jenkins.instance.getItemByFullName('gitea-sync/antos').getAllJobs().each { job -> jenkins.model.Jenkins.instance.getItemByFullName('gitea-sync/antos').getAllJobs().each { job ->
copyArtifacts(projectName: 'gitea-sync/antos/' + job.getName(), target: 'build/frontend/' + job.getName()); copyArtifacts(projectName: 'gitea-sync/antos/' + job.getName(), target: 'build/frontend/' + job.getName());