Hi All,


I started to work with Jenkins for a week. I have referred the Jenkins
plugins and implemented a Jenkins to build the source. Now, I need to get
all the active branches in a BitBucket cloud repository from a Jenkins
job(automatically) and build the sources for the particular branch alone if
commits done on the same branch.



Note: If any new branch created from the Bitbucket cloud repository, then
that should also be detected and start the Jenkins job if commit done for
the branch source.



Could anyone please guide me on this to get all the active branches in a
Bitbucket cloud repository using Jenkins?  Is there any plugin available
for this?



I have also referred the below links. But, this link specified to trigger
the jenkins job for the particular branch  and we need to manually include
the branch name in jenkins job.



   1.
   
http://stackoverflow.com/questions/20713157/is-it-possible-to-trigger-jenkins-from-one-specific-branch-only
   2.
   
http://stackoverflow.com/questions/19003098/how-can-i-make-jenkins-only-build-feature-branches-if-they-have-changed-when-tri
   3.
   
http://stackoverflow.com/questions/27388145/bitbucketjenkins-trigger-build-only-when-specific-branch-is-changed
   4.
   
http://stackoverflow.com/questions/11231064/how-do-i-get-jenkins-to-build-on-push-to-a-bitbucket-git-repository



Stackoverflow query:
http://stackoverflow.com/questions/38657171/is-there-any-jenkins-plugin-available-to-get-all-the-active-branches-in-a-bitbuc



Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAByDd%3DfO0TarwMjHUZjeHWoHgFetRQ3LOKLkBD5N%2BG%2BU0J74KQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to