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 22:03:18 +02:00
parent 34e53b99b9
commit 2eead502bb

6
Jenkinsfile vendored
View File

@ -1,6 +1,6 @@
def getBranchNames(projectName){
//jenkins.model.Jenkins.instance
hudson.model.Hudson.instance.getItemByFullName(projectName).getAllJobs().each { job ->
//hudson.model.Hudson.instance
jenkins.model.Jenkins.instance.getItemByFullName(projectName).getAllJobs().each { job ->
echo job.getName()
}
}
@ -28,7 +28,7 @@ pipeline{
stage('Test') {
steps {
script {
getBranchNames("gitea-sync");
getBranchNames("gitea-sync/antos");
}
}
}