[JIRA] (JENKINS-15370) Node Label Parementer Plugin - Value of Node param variable doesnt contain all values when multiselecting nodes

2012-12-09 Thread scm_issue_l...@java.net (JIRA)















































SCM/JIRA link daemon
 resolved  JENKINS-15370 as Fixed


Node Label Parementer Plugin - Value of Node param variable doesnt contain all values when multiselecting nodes
















Change By:


SCM/JIRA link daemon
(09/Dec/12 5:05 PM)




Status:


Open
Resolved





Resolution:


Fixed



























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






[JIRA] (JENKINS-15370) Node Label Parementer Plugin - Value of Node param variable doesnt contain all values when multiselecting nodes

2012-12-09 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-15370


Node Label Parementer Plugin - Value of Node param variable doesnt contain all values when multiselecting nodes















Code changed in jenkins
User: imod
Path:
 src/main/java/org/jvnet/jenkins/plugins/nodelabelparameter/wrapper/TriggerNextBuildWrapper.java
http://jenkins-ci.org/commit/nodelabelparameter-plugin/e35607a3b3c15023eb2b7306e15f7ed211139e4b
Log:
  [FIXED JENKINS-15370] env variable not propagated for multiple job executions


Compare: https://github.com/jenkinsci/nodelabelparameter-plugin/compare/a0a1c3ee2790...e35607a3b3c1




























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






[JIRA] (JENKINS-15370) Node Label Parementer Plugin - Value of Node param variable doesnt contain all values when multiselecting nodes

2012-10-01 Thread damon.gabrielle+jenk...@gmail.com (JIRA)














































Damon G
 created  JENKINS-15370


Node Label Parementer Plugin - Value of Node param variable doesnt contain all values when multiselecting nodes















Issue Type:


Bug



Assignee:


domi



Components:


nodelabelparameter



Created:


01/Oct/12 4:33 PM



Description:


Summary: When selecting multiple nodes for parallel execution, the values selected at build time cannot be properly retrieved from the environment variable.
Steps to reproduce:
1. Create a parameterized build that contains a Node parameter named HOSTS. 2. Select "Allow multi node selection for concurrent builds"
3. Checked the box further down to allow executing concurrent builds.
4. Create a system groovy script to print the values of the nodes selected. Here's the script: 

import hudson.model.*
import hudson.util.*
def build = Thread.currentThread().executable
def resolver = build.buildVariableResolver
def chosenHosts = resolver.resolve("HOSTS")
println "HOSTS from System Groovy Script= " + chosenHosts

When I build I select 2 nodes from my list of available nodes( node1 and node2). It builds and executes on both nodes.
However the value of chosenHosts in the job that ran on node1 prints a value of node1
The job that executed on node2 prints a value of null.
What I expected was that the value of chosenHosts would be "node1, node2".

Note: This is in a system groovy script, so this build step is executing on the master. 




Environment:


Linux Master and Slaves




Project:


Jenkins



Labels:


plugin




Priority:


Major



Reporter:


Damon G

























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