[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-10-08 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-58860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
 

It seems you unassigned it
 This issue was never assigned (and I generally reject assignments from others). I was unable to reproduce this issue despite the information you provided, and there are only so many hours in a day. in 3+ years it seems you're the first one to encounter this issue, indicating there's perhaps something unusual about your configuration that so far isn't apparent here.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.3409.1570549080729%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-10-08 Thread julien.bred...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Julien Bréda commented on  JENKINS-58860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
 Any feedback on this issue Daniel Beck ? It seems you unassigned it despite of you were the author of https://jenkins.io/blog/2016/05/11/security-update/ I thought you were the best analyst for this one.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.3396.1570547580249%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-09-10 Thread julien.bred...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Julien Bréda commented on  JENKINS-58860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
 It prints the var, which is valued, as expected.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.414.1568098860166%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-09-09 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-58860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
 Right, but does the shell step do what you would expect, or print an empty line?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.220.1568045700523%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-09-09 Thread julien.bred...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Julien Bréda commented on  JENKINS-58860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
 I was running v2.107.3. I've added a shell execution but nothing has changed : I still get the log.    
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.8913.1568021100243%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-08-10 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-58860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
 Which version of Jenkins were you running before? When you add a shell/batch build step to the downstream job, and have it output the value of the artifactVersion environment variable ( echo "$artifactVersion" or echo %artifactVersion% respectively), what happens?    
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.302.1565438820264%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-08-10 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58860  
 
 
  Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
Change By: 
 Daniel Beck  
 
 
Priority: 
 Major Minor  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.299.1565438700269%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-08-09 Thread julien.bred...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Julien Bréda updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58860  
 
 
  Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
Change By: 
 Julien Bréda  
 
 
Attachment: 
 build.xml  
 
 
Attachment: 
 config.xml  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.11312.1565354160217%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-08-09 Thread julien.bred...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Julien Bréda commented on  JENKINS-58860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
 config.xml and build.xml uploaded.  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.11313.1565354160257%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-08-09 Thread db...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Beck commented on  JENKINS-58860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
 

since the logs are growing quickly
 The log message explains how you can remove it. Please provide the complete config.xml file for the job in question, as well as the build.xml file for a build showing this message.  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.11141.1565338800195%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-08-08 Thread julien.bred...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Julien Bréda commented on  JENKINS-58860  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
 I changed priority since the logs are growing quickly  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.10688.1565272560050%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-08-08 Thread julien.bred...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Julien Bréda updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58860  
 
 
  Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
Change By: 
 Julien Bréda  
 
 
Priority: 
 Minor Major  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.201175.1565270296000.10687.1565272500093%40Atlassian.JIRA.


[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-08-08 Thread julien.bred...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Julien Bréda updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58860  
 
 
  Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
Change By: 
 Julien Bréda  
 

  
 
 
 
 

 
 Since my update to Jenkins version 2.176.1, I get some warnings in logs about 'Skipped parameter', which relates to SECURITY-170.The log says : {code:java}"WARNING: Skipped parameter `artifactVersion` as it is undefined on `JOB-XX`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters=true` to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach or `-Dhudson.model.ParametersAction.keepUndefinedParameters=false` to no longer show this message."but the problem is that this job is defining such parameter. (see attachment){code}    I don't want to set `-Dhudson.model.ParametersAction.keepUndefinedParameters=true` only to evict some logs.I could see this issue twice : * one time with a pipeline job : this job defines the parameter and the scripted pipeline is retrieved on SCM. This pipeline uses this parameter. * another time with a freestyle job : this job also defines the parameter and the build task is nothing more than executing a shell script on a remote SSH. This script uses the parameter.In these both cases I need the parameter and, one more time, it is clearly defined. Why are my logs spammed with such lines ?The message is maybe missleading because my jobs are very simple and I can't see what's wrong.Is that because these jobs are launched from another job (which, of course, set the parameter) ?Is that because of the old builds ? I see somewhere a guy talking about old builds AND SECURITY-170.I think the log could be improved.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-08-08 Thread julien.bred...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Julien Bréda updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58860  
 
 
  Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
Change By: 
 Julien Bréda  
 

  
 
 
 
 

 
 Since my update to Jenkins version 2.176.1, I get some warnings in logs about 'Skipped parameter', which relates to SECURITY-170.The log says :  {code:java} "WARNING: Skipped parameter `artifactVersion` as it is undefined on `JOB-XX`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters=true` to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach or `-Dhudson.model.ParametersAction.keepUndefinedParameters=false` to no longer show this message."  but the problem is that this job is defining such parameter. (see attachment) {code}     I don't want to set `-Dhudson.model.ParametersAction.keepUndefinedParameters=true` only to evict some logs.I could see this issue twice : * one time with a pipeline job : this job defines the parameter and the scripted pipeline is retrieved on SCM. This pipeline uses this parameter. * another time with a freestyle job : this job also defines the parameter and the build task is nothing more than executing a shell script on a remote SSH. This script uses the parameter.In these both cases I need the parameter and, one more time, it is clearly defined. Why are my logs spammed with such lines ?The message is maybe missleading because my jobs are very simple and I can't see what's wrong.Is that because these jobs are launched from another job (which, of course, set the parameter) ?Is that because of the old builds ? I see somewhere a guy talking about old builds AND SECURITY-170.I think the log could be improved.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
   

[JIRA] (JENKINS-58860) Skipped parameter which is defined in a job

2019-08-08 Thread julien.bred...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Julien Bréda created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58860  
 
 
  Skipped parameter which is defined in a job   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Attachments: 
 JobParameter.png  
 
 
Components: 
 core, pipeline  
 
 
Created: 
 2019-08-08 13:18  
 
 
Environment: 
 Jenkins v2.176.1, RedHat7, Oracle Java8  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Julien Bréda  
 

  
 
 
 
 

 
 Since my update to Jenkins version 2.176.1, I get some warnings in logs about 'Skipped parameter', which relates to SECURITY-170. The log says : "WARNING: Skipped parameter `artifactVersion` as it is undefined on `JOB-XX`. Set `-Dhudson.model.ParametersAction.keepUndefinedParameters=true` to allow undefined parameters to be injected as environment variables or `-Dhudson.model.ParametersAction.safeParameters=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach or `-Dhudson.model.ParametersAction.keepUndefinedParameters=false` to no longer show this message." but the problem is that this job is defining such parameter. (see attachment)   I don't want to set `-Dhudson.model.ParametersAction.keepUndefinedParameters=true` only to evict some logs. I could see this issue twice : 
 
one time with a pipeline job : this job defines the parameter and the scripted pipeline is retrieved on SCM. This pipeline uses this parameter. 
another time with a freestyle job : this job also defines the parameter and the build task is