How to get list of Pull requests on a specific branch

7 views
Skip to first unread message

joe.c...@gmail.com

unread,
Mar 13, 2017, 12:01:34 AM3/13/17
to Jenkins Users
Hi,

Iam a newbie to Jenkins and Iam looking for help on this issue.

My requirement is to create a nightly build Jenkins job, which should do the following.

1.Create Temp branch from a Dev_main Branch
2.Merge Temp Branch with One Candidate* Branch
3.Build
4.Run UI Tests
5.On Success : Merge candidate branch to Dev_main(with email) and Delete Temp Branch
6.On Failure : Send Email and delete Temp Branch
7.start from Step 1 for the next candidate* branch

  • Candidate : All non-merged pull requests against Dev_main

As far as I learned about Jenkins, I can trigger any job on a pull request created event. But I want this job to run a on night and lt should be able to  loop through each active pull requests on a specific branch on that time.

Any help will be really helpful ..

Thanks
Reply all
Reply to author
Forward
0 new messages