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:10:51 +02:00
parent 89ee949d85
commit 5d86a49502

7
Jenkinsfile vendored
View File

@ -1,11 +1,8 @@
// need to approve all static functions in Dashboard > Manage Jenkins > ScriptApproval
def getBranchNames(projectName){
jenkins.model.Jenkins.instance.getItemByFullName(projectName).getAllJobs().each { job ->
env.tag = job.getName()
sh'''
echo "TAG: $tag"
mkdir -p -p build/frontend/$tag
'''
String name = job.getName();
copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'build/frontend/' + name);
}
}