[JIRA] (JENKINS-37586) WORKSPACE environment variable not available in Jenkins pipeline

2016-08-29 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick resolved as Duplicate  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-37586  
 
 
  WORKSPACE environment variable not available in Jenkins pipeline   
 

  
 
 
 
 

 
Change By: 
 Jesse Glick  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Duplicate  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-37586) WORKSPACE environment variable not available in Jenkins pipeline

2016-08-26 Thread jgl...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Glick commented on  JENKINS-37586  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: WORKSPACE environment variable not available in Jenkins pipeline   
 

  
 
 
 
 

 
 Duplicate of something. Use the pwd() step.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-37586) WORKSPACE environment variable not available in Jenkins pipeline

2016-08-22 Thread jenk...@jbfavre.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jean Baptiste Favre created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-37586  
 
 
  WORKSPACE environment variable not available in Jenkins pipeline   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Jesse Glick  
 
 
Components: 
 workflow-plugin  
 
 
Created: 
 2016/Aug/22 11:00 AM  
 
 
Environment: 
 Debian Jessie  Jenkins 2.7.2, one master + 2 SSH slaves  Pipeline plugin 2.2  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Jean Baptiste Favre  
 

  
 
 
 
 

 
 Since the upgrade to Jenkins 2.7.2 & pipeline plugin 2.2, WORKSPACE is not available anymore in my groovy pipeline script. Issue looks like https://issues.jenkins-ci.org/browse/JENKINS-36545 but since I'm a Jenkins newbie, I can't confirm they're the same. Since shell scripts launched by pipeline use this variable, I basically can't use it anymore. Jenkins is started with following options: 

 
-Djava.awt.headless=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpListenAddress=127.0.0.1 --httpPort=$HTTP_PORT --ajp13Port=$AJP_PORT -Dhudson.model.ParametersAction.keepUndefinedParameters=true 

 I first though it was somewhat related to https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11. I tried to use default options 

 
-Djava.awt.headless=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080