Update 'Jenkinsfile'
Some checks failed
gitea-sync/antos-appimage/pipeline/head There was a failure building this commit

This commit is contained in:
dany 2022-09-29 21:53:32 +02:00
parent de7ca49100
commit cc0e8844ea

4
Jenkinsfile vendored
View File

@ -1,5 +1,5 @@
def getBranchNames(project){ def getBranchNames(projectName){
project.getItems().each { job -> jenkins.model.Jenkins.instance.getItem(projectName).getItems().each { job ->
echo job.getProperty(org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty.class).getBranch().getName() echo job.getProperty(org.jenkinsci.plugins.workflow.multibranch.BranchJobProperty.class).getBranch().getName()
} }
} }