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
808582fed0
commit
34e53b99b9
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -1,5 +1,6 @@
|
|||||||
def getBranchNames(projectName){
|
def getBranchNames(projectName){
|
||||||
jenkins.model.Jenkins.instance.getItem(projectName).getItems().each { job ->
|
//jenkins.model.Jenkins.instance
|
||||||
|
hudson.model.Hudson.instance.getItemByFullName(projectName).getAllJobs().each { job ->
|
||||||
echo job.getName()
|
echo job.getName()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user