Update 'Jenkinsfile'
All checks were successful
gitea-sync/antos-appimage/pipeline/head This commit looks good
All checks were successful
gitea-sync/antos-appimage/pipeline/head This commit looks good
This commit is contained in:
parent
838d8e91db
commit
42dc4c36bc
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -5,7 +5,7 @@
|
||||
// method hudson.model.ItemGroup getItems
|
||||
// method jenkins.model.Jenkins getItemByFullName java.lang.String
|
||||
// new java.util.ArrayList
|
||||
staticMethod jenkins.model.Jenkins getInstance
|
||||
// staticMethod jenkins.model.Jenkins getInstance
|
||||
def ArrayList<String> getBranches(projectName){
|
||||
def jobs = jenkins.model.Jenkins.instance.getItemByFullName(projectName).getAllJobs();
|
||||
Iterator<?> iterator = jobs.iterator();
|
||||
|
Loading…
Reference in New Issue
Block a user