Update 'Jenkinsfile'
All checks were successful
gitea-sync/antos-appimage/pipeline/head This commit looks good

This commit is contained in:
dany 2022-09-29 23:58:39 +02:00
parent 838d8e91db
commit 42dc4c36bc

2
Jenkinsfile vendored
View File

@ -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();