[JIRA] (JENKINS-41947) PATH value is being overwritten in declarative pipeline syntax

2017-02-10 Thread catufu...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Chima Atufunwa created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41947  
 
 
  PATH value is being overwritten in declarative pipeline syntax   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 nodejs-plugin  
 
 
Created: 
 2017/Feb/11 12:25 AM  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Chima Atufunwa  
 

  
 
 
 
 

 
 Declarative pipeline example: 

 

pipeline {
agent any

stages {
stage('Without NPM'){
steps {
echo PATH
}
}

stage('With NPM'){
tools {
nodejs 'Node v6'
}
steps {
echo PATH
}
}
}
}
 

 Output 

 
[Pipeline] node
Running on master in /data/jenkins/workspace/_playground
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Without NPM)
[Pipeline] echo
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (With NPM)
[Pipeline] tool
[Pipeline] envVarsForTool
[Pipeline] withEnv
[Pipeline] {
[Pipeline] echo
/data/jenkins/tools/jenkins.plugins.nodejs.tools.NodeJSInstallation/Node_v6/bin
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
 

  
 
 

[JIRA] (JENKINS-34958) Getting "Your Authorization Token has expired" when using ECR credentials

2016-12-06 Thread catufu...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Chima Atufunwa commented on  JENKINS-34958  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Getting "Your Authorization Token has expired" when using ECR credentials   
 

  
 
 
 
 

 
 Give setting this env a try, AWS_ECR_DISABLE_CACHE. It causes the plugin to not use the local cache.  Source, https://github.com/awslabs/amazon-ecr-credential-helper/pull/3  
 

  
 
 
 
 

 
 
 

 
 
 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.