[JIRA] (JENKINS-49540) Rebuild Commit

1 view
Skip to first unread message

aaron@splatteredbits.com (JIRA)

unread,
Feb 13, 2018, 2:38:02 PM2/13/18
to jenkinsc...@googlegroups.com
Aaron Jensen created an issue
 
Jenkins / New Feature JENKINS-49540
Rebuild Commit
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: core
Created: 2018-02-13 19:37
Priority: Minor Minor
Reporter: Aaron Jensen

We need to be able to rebuild commits/builds.

* On the build results page, one of the options in the left menu should be "Rebuild Commit" or "Try Again" or "Run Again". When I click that button, that build should re-run on the same commit and branch of the original build. Build number would still increment.

  • When I'm on a project's page, with the build history on the left, when I click the arrow to the right of a build name/number, and the action menu pops up, the same "Rebuild Commit"/"Try Again"/"Run Again" option should be available.

We have one build per repository. Builds trigger whenever a change is pushed to any branch in a repository (e.g. our branch specifier is "origin/**"). When a build fails for a reason that has nothing to do with code in the repository (e.g. disk fills up, some external resource is temporarily down, etc.), the only way to re-build that branch is to make some change to the repository, usually adding/removing some whitespace. Most other build servers I've used (TeamCity and Appveyor) let you rebuild a commit.

We do not use Jenkins pipelines, nor have any plans to do so.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 10, 2018, 4:43:02 PM3/10/18
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Component/s: scm-api-plugin

o.v.nenashev@gmail.com (JIRA)

unread,
Mar 10, 2018, 4:43:02 PM3/10/18
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on New Feature JENKINS-49540
 
Re: Rebuild Commit

You can achieve that by using https://wiki.jenkins.io/display/JENKINS/Rebuild+Plugin and a commit parameter.
It could be also a feature request to the SCM API plugin, but I doubt it makes sense to do it in the core

aaron@splatteredbits.com (JIRA)

unread,
Mar 10, 2018, 4:57:01 PM3/10/18
to jenkinsc...@googlegroups.com
Aaron Jensen commented on New Feature JENKINS-49540
 
Re: Rebuild Commit

Can you point me to documentation on how? We tried using that plugin but it is only used to rebuild paramarerized builds without entering the parameters again. The branch to build on isn’t a parameter (nor can it be) on any of our builds.

adnanaware10@gmail.com (JIRA)

unread,
Apr 23, 2019, 5:14:02 AM4/23/19
to jenkinsc...@googlegroups.com
Amit Nanaware updated an issue
Change By: Amit Nanaware
Priority: Minor Major
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

adnanaware10@gmail.com (JIRA)

unread,
Apr 23, 2019, 5:15:02 AM4/23/19
to jenkinsc...@googlegroups.com
Amit Nanaware commented on New Feature JENKINS-49540
 
Re: Rebuild Commit

Can we have same feature for pipeline job?

 

brian.murrell@intel.com (JIRA)

unread,
May 6, 2020, 11:50:02 AM5/6/20
to jenkinsc...@googlegroups.com
Brian J Murrell commented on New Feature JENKINS-49540
 
Re: Rebuild Commit

This looks like a duplicate of JENKINS-39218.

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

brian.murrell@intel.com (JIRA)

unread,
May 6, 2020, 11:50:03 AM5/6/20
to jenkinsc...@googlegroups.com
Brian J Murrell updated an issue
Change By: Brian J Murrell
Comment:
This looks like a duplicate of JENKINS-39218.
Reply all
Reply to author
Forward
0 new messages