Update 'Jenkinsfile'
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit
This commit is contained in:
parent
89ee949d85
commit
5d86a49502
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -1,11 +1,8 @@
|
|||||||
// need to approve all static functions in Dashboard > Manage Jenkins > ScriptApproval
|
// need to approve all static functions in Dashboard > Manage Jenkins > ScriptApproval
|
||||||
def getBranchNames(projectName){
|
def getBranchNames(projectName){
|
||||||
jenkins.model.Jenkins.instance.getItemByFullName(projectName).getAllJobs().each { job ->
|
jenkins.model.Jenkins.instance.getItemByFullName(projectName).getAllJobs().each { job ->
|
||||||
env.tag = job.getName()
|
String name = job.getName();
|
||||||
sh'''
|
copyArtifacts(projectName: 'gitea-sync/antos/' + name, target: 'build/frontend/' + name);
|
||||||
echo "TAG: $tag"
|
|
||||||
mkdir -p -p build/frontend/$tag
|
|
||||||
'''
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user