jenkinsci / jenkinsci/java-client-api
JENKINS-45898 Proper Multibranch pipeline support
- Lingua principale
- Java
- Stelle
- 913
- Fork
- 466
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Currently, the Java client api does not have proper support for Multibranch projects. Since these differ a bit from other types of jobs, how to use the Java client api's are not intuitive. The code base does not really take Multibranch projects in to account either. It would preferable if these could be supported out of the box with proper object models.
The current workaround is to mimic the Multibranch job as a folder, such as:
```
FolderJob multibranchRoot = new FolderJob(createdJob.getName(), jenkinsUrl + '/job/' + createdJob.getName() + '/')
def job = jenkins.getJob(multibranchRoot, 'master')
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.