Skip to content

Add support for multibranch pipelines  #16

@pzelnip

Description

@pzelnip

The multibranch pipelines plugin (https://wiki.jenkins.io/display/JENKINS/Pipeline+Multibranch+Plugin) for Jenkins allows one to effectively have a separate build job for a number of branches within a repository.

It'd be really cool if the Jenkins Status VSCode addon could support this. Currently if you specify the main url for a multibranch job (ie http://my.jenkinsserver.com/job/MainProject), it fails to retrieve the status of the job. If you specify a specific branch's job (http://my.jenkinsserver.com/job/MainProject/job/somebranch), you get the status of the most recent build on that branch. This works for monitoring a single "mainline" branch, but if you want to see the status of the most recent build of the branch you're working (which may very well not be master), then you have to manually edit the .jenkins config file to point to the Jenkins job for your branch which is cumbersome.

What I'm envisioning is having the base url in the .jenkins file (ie http://my.jenkinsserver.com/job/MainProject), and then the VS Code plugin queries Jenkins for the most recent build of the current branch you have checked out.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions