[JIRA] (JENKINS-58212) VaultTokenCredentialBinding is not working in pipeline

2019-08-30 Thread nicolas.dru...@ensc.fr (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicolas Drufin commented on  JENKINS-58212  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: VaultTokenCredentialBinding is not working in pipeline   
 

  
 
 
 
 

 
 Joseph Petersen No this is resolved since 2.3.0. Ticket can be closed.    
 

  
 
 
 
 

 
 
 

 
 
 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.200272.1561559302000.3218.1567166280437%40Atlassian.JIRA.


[JIRA] (JENKINS-58212) VaultTokenCredentialBinding is not working in pipeline

2019-06-26 Thread nicolas.dru...@ensc.fr (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicolas Drufin commented on  JENKINS-58212  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: VaultTokenCredentialBinding is not working in pipeline   
 

  
 
 
 
 

 
 After investigation, it seems to not be present in version 2.2.0. Maybe next ?  
 

  
 
 
 
 

 
 
 

 
 
 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.200272.1561559302000.9537.1561562340208%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-58212) VaultTokenCredentialBinding is not working in pipeline

2019-06-26 Thread nicolas.dru...@ensc.fr (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicolas Drufin created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-58212  
 
 
  VaultTokenCredentialBinding is not working in pipeline   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Peter Tierno  
 
 
Components: 
 hashicorp-vault-plugin  
 
 
Created: 
 2019-06-26 14:28  
 
 
Environment: 
 docker image jenkins/jenkins:lts  
 
 
Labels: 
 plugin  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Nicolas Drufin  
 

  
 
 
 
 

 
 When I try to create a pipeline with code from the documentation: 

 

node {
withCredentials([[$class: 'VaultTokenCredentialBinding', credentialsId: 'my-github-token']]) {
// values will be masked
sh 'echo TOKEN=$VAULT_TOKEN'
sh 'echo ADDR=$VAULT_ADDR'
}
}
 

 This return the error below and in Pipeline Syntax I do not see binding for withCredentials. 

 

Started by user Jenkins
Replayed #5
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /var/jenkins_home/workspace/test
[Pipeline] {
[Pipeline] withCredentials
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
java.lang.UnsupportedOperationException: no known implementation of class