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
34e53b99b9
commit
2eead502bb
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user