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
de7ca49100
commit
cc0e8844ea
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -1,5 +1,5 @@
|
||||
def getBranchNames(project){
|
||||
project.getItems().each { job ->
|
||||
def getBranchNames(projectName){
|
||||
jenkins.model.Jenkins.instance.getItem(projectName).getItems().each { job ->
|
||||
echo job.getProperty(org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty.class).getBranch().getName()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user