[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-12-03 Thread james.mk.gr...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Green commented on  JENKINS-46379  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
 This has just driven us utterly nuts and made us introduce bugs in our deployment scripts. Here's what you need to know: Do not create an environment variable who's name matches (case insensitively) the parameter name! Here's a Jenkinsfile that actually works: parameters  { string(name: "DockerHost", defaultValue: "tcp://0.0.0.0:2376", description: "Private IP of a swarm manager to which you want to deploy.") string(name: "WhichProvider", defaultValue: "aws", description: "Who is providing the infrastructure? 'aws' or 'regular' are possible values.") } ... withEnv(["DOCKER_HOST=${params.DockerHost}", "PROVIDER=${params.WhichProvider}"]) { ... At this point DOCKER_HOST and PROVIDER have the correct values within the environment. The documentation should at least mention this. A warning should perhaps me issued when withEnv operates and finds an existing environment variable.    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-08-04 Thread shliangx...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Xiao Shelwin commented on  JENKINS-46379  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
 I also met this issue. Do we have any plan to fix this issue in future release?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-05-25 Thread k...@shaiton.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kevin Raymond commented on  JENKINS-46379  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
 Coding a pipeline with environment variable (either job parameter defined or global jenkins configuration) and sh step is just a matter of try'n fix... I just avoid them as much as possible   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-05-24 Thread matt...@beechwoods.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matthew Gabeler-Lee commented on  JENKINS-46379  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
 This drove me utterly insane working on my pipeline until I figured out what was symptomatically going on and came across this bug. Is there anything I can do to help move forwards addressing this issue?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-03-08 Thread k...@shaiton.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kevin Raymond commented on  JENKINS-46379  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
 yes suren pi the one I posted as a comment-311533. Have you defined a String parameter spelled 'ENVNAME' in your pipeline? I am adding the config.xml job definition. config.xml   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-03-08 Thread k...@shaiton.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kevin Raymond updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-46379  
 
 
  withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
Change By: 
 Kevin Raymond  
 
 
Attachment: 
 config.xml  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-03-07 Thread zxj...@126.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 suren pi commented on  JENKINS-46379  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
 You just use the case that your last post? I can retry it. Kevin Raymond  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-03-07 Thread k...@shaiton.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kevin Raymond commented on  JENKINS-46379  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
 I am also using Basic Steps 2.6 under Jenkins ver. 2.73.3 I have just reproduced this issue. How can I give you more input?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-03-01 Thread zxj...@126.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 suren pi edited a comment on  JENKINS-46379  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
 I thought it should be a issue, anyone will take care of it Can you give your plugin versioin ?  Because it'is all right. My plugin version like bleow:Pipeline: Basic Steps 2.6[~shaiton]  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-03-01 Thread zxj...@126.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 suren pi assigned an issue to suren pi  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-46379  
 
 
  withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
Change By: 
 suren pi  
 
 
Assignee: 
 suren pi  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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/d/optout.


[JIRA] (JENKINS-46379) withEnv mess with Job parameter (not case sensitive)

2018-03-01 Thread zxj...@126.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 suren pi commented on  JENKINS-46379  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: withEnv mess with Job parameter (not case sensitive)   
 

  
 
 
 
 

 
 I thought it should be a issue, anyone will take care of it?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
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/d/optout.