[JIRA] (JENKINS-59808) Jenkins PR(pull request) build fails for 1st time

15 views
Skip to first unread message

tanzeelrana901223@gmail.com (JIRA)

unread,
Oct 16, 2019, 4:09:02 PM10/16/19
to jenkinsc...@googlegroups.com
tanzeel rehman created an issue
 
Jenkins / Bug JENKINS-59808
Jenkins PR(pull request) build fails for 1st time
Issue Type: Bug Bug
Assignee: Christian Del Monte
Attachments: Screen Shot 2019-10-16 at 3.56.43 PM.png
Components: bitbucket-branch-source-plugin, bitbucket-pullrequest-builder-plugin, bitbucket-push-and-pull-request-plugin, webhook-eventsource-plugin, webhook-step-plugin
Created: 2019-10-16 20:08
Environment: Jenkins ver. 2.197
Bitbucket Branch Source plugin 2.4.6
Priority: Critical Critical
Reporter: tanzeel rehman

When I create a pull request in Bitbucket my build fails, see attached image for details. 
Couldn't find remote ref refs/pull-requests/42/from
Another thing I have noticed is that when I go to Jenkins UI and re-trigger the build it builds without any errors. Next when I decline the PR and then open the same PR it again fails and this time when I try to re trigger build from Jenkins UI it continues to fail with the same error and I end up with having to create a new PR with the only solution to run my build pipeline. 

My environments are: 

  • Jenkins ver. 2.197
  • Bitbucket Branch Source plugin 2.4.6
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

tanzeelrana901223@gmail.com (JIRA)

unread,
Oct 16, 2019, 4:12:02 PM10/16/19
to jenkinsc...@googlegroups.com
tanzeel rehman updated an issue
Change By: tanzeel rehman
When I create a pull request in Bitbucket my build fails, see attached image for details. 
{code:java}
Couldn't find remote ref refs/pull-requests/42/from {code}

Another thing I have noticed is that when I go to Jenkins UI and re-trigger the build it builds without any errors. Next when I decline the PR and then open the same PR it again fails and this time when I try to re trigger build from Jenkins UI it continues to fail with the same error and I end up with having to create a new PR with the only solution to run my build pipeline. 

My environments are: 
* Jenkins ver. 2.197
* Bitbucket Branch Source plugin 2.4.6

tanzeelrana901223@gmail.com (JIRA)

unread,
Oct 16, 2019, 4:13:02 PM10/16/19
to jenkinsc...@googlegroups.com
tanzeel rehman updated an issue
When I create a pull request in Bitbucket my build fails, see attached image for details. 
{code:java}
Couldn't find remote ref refs/pull-requests/42/from{code}

* Another thing I have noticed is that when I go to Jenkins UI and re-trigger the build it builds without any errors.
*
Next if I commit to my branch/PR build runs without errors
* Next
when I decline the PR and then open the same PR it again fails and this time when I try to re trigger build from Jenkins UI it continues to fail with the same error and I end up with having to create a new PR with the only solution to run my build pipeline. 


My environments are: 
* Jenkins ver. 2.197
* Bitbucket Branch Source plugin 2.4.6

tanzeelrana901223@gmail.com (JIRA)

unread,
Oct 16, 2019, 4:15:02 PM10/16/19
to jenkinsc...@googlegroups.com
tanzeel rehman updated an issue
When I create a pull request in Bitbucket my build fails, see attached image for details. 
{code:java}
Couldn't find remote ref refs/pull-requests/42/from{code}
* Another thing I have noticed is that when I go to Jenkins UI and re-trigger the build it builds without any errors.
* Next if I commit to my branch/PR build runs without errors
* Next when I decline the PR and then open the same PR it again fails and this time when I try to re trigger build from Jenkins UI it continues to fail with the same error and I end up with having to

**
create a new PR with the only solution to run my build pipeline . , OR
** I do a new commit
  and that triggers a successful build

My environments are: 
* Jenkins ver. 2.197
* Bitbucket Branch Source plugin 2.4.6

tanzeelrana901223@gmail.com (JIRA)

unread,
Oct 16, 2019, 4:23:02 PM10/16/19
to jenkinsc...@googlegroups.com
tanzeel rehman updated an issue
When I create a pull request in Bitbucket my build fails, see attached image for details. 
{code:java}
Couldn't find remote ref refs/pull-requests/42/from{code}
* Another thing I have noticed is that when I go to Jenkins UI and re-trigger the build it builds without any errors.
* Next if I commit to my branch/PR build runs without errors
* Next when I decline the PR and then open the same PR it again fails and this time when I try to re trigger build from Jenkins UI it continues to fail with the same error and I end up with having to
** create a new PR with the only solution to run my build pipeline, OR

** I do a new commit  and that triggers a successful build

My environments are: 
* Jenkins ver. 2.197
* Bitbucket Branch Source plugin 2.4.6


This issue might be related to 
# JENKINS-45966
# JENKINS-40958
# JENKINS-49353
# JENKINS-48361
# JENKINS-46174

register@cdelmonte.de (JIRA)

unread,
Oct 17, 2019, 8:03:02 AM10/17/19
to jenkinsc...@googlegroups.com
Christian Del Monte commented on Bug JENKINS-59808
 
Re: Jenkins PR(pull request) build fails for 1st time

Hi tanzeel rehman

please assign the issue to the mantainer of the Bitbucket Branch Source plugin.

I can help you only in case you are using exclusively the Bitbucket Push And Pull Request Plugin

Thanks

 

slide.o.mix@gmail.com (JIRA)

unread,
Dec 10, 2019, 3:34:03 PM12/10/19
to jenkinsc...@googlegroups.com
Alex Earl updated an issue
 
Change By: Alex Earl
Component/s: webhook-step-plugin

register@cdelmonte.de (JIRA)

unread,
Jan 13, 2020, 11:19:02 AM1/13/20
to jenkinsc...@googlegroups.com
Christian Del Monte closed an issue as Not A Defect
Change By: Christian Del Monte
Status: Open Closed
Resolution: Not A Defect
Reply all
Reply to author
Forward
0 new messages