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
2eead502bb
commit
89ee949d85
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -1,7 +1,11 @@
|
||||
// need to approve all static functions in Dashboard > Manage Jenkins > ScriptApproval
|
||||
def getBranchNames(projectName){
|
||||
//hudson.model.Hudson.instance
|
||||
jenkins.model.Jenkins.instance.getItemByFullName(projectName).getAllJobs().each { job ->
|
||||
echo job.getName()
|
||||
env.tag = job.getName()
|
||||
sh'''
|
||||
echo "TAG: $tag"
|
||||
mkdir -p -p build/frontend/$tag
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user