[JIRA] (JENKINS-51147) Plugin Kubernetes Continuous Deploy Plugin makes input command fail

2018-05-08 Thread e...@evan.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Evan Reynolds commented on  JENKINS-51147  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Plugin Kubernetes Continuous Deploy Plugin makes input command fail   
 

  
 
 
 
 

 
 One note from more testing - I am running the kubernetesDeploy step twice in my full Jenkinsfile, once to staging and then maybe to production. The staging one works. I tried moving the input to before both of them, and THAT worked too. I just can't run the kubernetesDeploy step before the Input step!  
 

  
 
 
 
 

 
 
 

 
 
 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-51147) Plugin Kubernetes Continuous Deploy Plugin makes input command fail

2018-05-04 Thread e...@evan.org (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Evan Reynolds created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51147  
 
 
  Plugin Kubernetes Continuous Deploy Plugin makes input command fail   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Azure DevOps  
 
 
Components: 
 kubernetes-cd-plugin  
 
 
Created: 
 2018-05-05 00:20  
 
 
Environment: 
 Jenkins 2.119  Kubernetes Continuous Deploy Plugin 0.2.1  Pipeline: Input Step 2.8  Ubuntu 16.04.4 LTS  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Evan Reynolds  
 

  
 
 
 
 

 
 When I run a kubernetesDeploy command, then an input command, it fails. If I comment out the Kubernetes command then the input command will succeed - and if I comment out the input command, the Kubernetes command succeeds. (THAT made this hard to figure out what was happening!) I replicated the issue using the following Jenkinsfile: #!/usr/bin/env groovy node {    stage('Deploy') {       kubernetesDeploy(          kubeconfigId: "staging-credentials",          configs: "config.yaml",          dockerCredentials: [[credentialsId: 'credentialId']])       input "ask something"       } } Input was originally in a different stage. And again, the input and the kubernetesDeploy command will work by themselves - but running them together will fail. This is the error: java.lang.UnsupportedOperationException: Refusing to marshal com.microsoft.jenkins.azurecommons.core.EnvironmentInjector$EnvironmentInjectionAction for security reasons; see https://jenkins.io/redirect/class-filter/ at hudson.util.XStream2$BlacklistedTypesConverter.marshal(XStream2.java:543) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at