[JIRA] [build-pipeline] (JENKINS-18490) Run button not work

2013-08-05 Thread hims...@derjohn.de (JIRA)














































Andreas John
 commented on  JENKINS-18490


Run button not work















Keep in mind, that might need to clear the browser cache. I "fixxed" one of my BP probems dropping my browser cache %-/ 

The last known working version is 1.509.2 (LTS) plus BP 1.3.3.  All other combinations starting from 1.519 - 1.5.24 or so didn't work. We tried a lot, including nightly builds of the BP plugin. IMHO all BP plugin versions since the switch to jquery don't work.

It might be a good idea to follow https://github.com/jenkinsci/build-pipeline-plugin/commits/master before starting effort in try  error...






























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-14656) Jenkins cannot guarantee that it will push the exact same build through a build pipeline if some of the steps are triggered manually

2013-03-25 Thread hims...@derjohn.de (JIRA)














































Andreas John
 commented on  JENKINS-14656


Jenkins cannot guarantee that it will push the exact same build through a build pipeline if some of the steps are triggered manually















Heyho,
same problem here  After reading Christopher's excellent analysis I create a groovy script that injects the variable for me. It simply loops over the causes until it find the cause with class name hudson.model.Cause$UpstreamCause and then injects a UPSTREAM_BUILD_NUMBER env variable. This can be used in the copyartifact step to copy "specific build number". And yes, you need additionally the groovy plugin and envinject.

=== 8 ===
import hudson.model.*
def upstreamBuildNumber
def build = Thread.currentThread().executable
def actions = build.getActions(hudson.model.CauseAction);

actions.each { action -
  action.causes.each { cause -
if ( cause.class.name == 'hudson.model.Cause$UpstreamCause' ) {
  upstreamBuildNumber = "${cause.getUpstreamBuild()}"
}
  }
}



def map = UPSTREAM_BUILD_NUMBER:upstreamBuildNumber
return map 

=== 8 ===


HTH,
Andreas



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.