[JIRA] (JENKINS-53881) aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs

2018-11-05 Thread malu...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Grochowski commented on  JENKINS-53881  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs   
 

  
 
 
 
 

 
 Works for me now! Thanks!  
 

  
 
 
 
 

 
 
 

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


[JIRA] (JENKINS-53881) aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs

2018-10-10 Thread malu...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Grochowski edited a comment on  JENKINS-53881  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs   
 

  
 
 
 
 

 
 I'm using the plugin in a declarative pipeline in a multibranch job.Invocation looks like:steps {withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/XX/XX', recursive: true, regionName: 'us-east-1') {sh "run-tests.sh"}}The (scrubbed) console output:Pull request #XX updated04:03:18 Connecting to https://api.github.com using XX/**Obtained Jenkinsfile from XXRunning in Durability level: MAX_SURVIVABILITYorg.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:WorkflowScript: 179: Missing required parameter: "namePrefixes" @ line 179, column 17.   withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/XX/XX', recursive: true, regionName: 'us-east-1') {   ^WorkflowScript: 192: Missing required parameter: "namePrefixes" @ line 192, column 17.   withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/XX/XX', recursive: true, regionName: 'us-east-1') {   ^WorkflowScript: 202: Missing required parameter: "namePrefixes" @ line 202, column 17.   withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/XX/XX', recursive: true, regionName: 'us-east-1') {   ^3 errors at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268) at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688) at groovy.lang.GroovyShell.parse(GroovyShell.java:700) at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131) at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:330) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)Finished: FAILURE  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

   

[JIRA] (JENKINS-53881) aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs

2018-10-10 Thread malu...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Grochowski edited a comment on  JENKINS-53881  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs   
 

  
 
 
 
 

 
 I'm using the plugin in a declarative pipeline in a multibranch job. Invocation looks like:steps {withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/XX/XX', recursive: true, regionName: 'us-east-1') {sh "run-tests.sh"}}  The (scrubbed) console output:Pull request #XX updated04:03:18 Connecting to https://api.github.com using XX/**Obtained Jenkinsfile from XXRunning in Durability level: MAX_SURVIVABILITYorg.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:WorkflowScript: 179: Missing required parameter: "namePrefixes" @ line 179, column 17.   withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/XX/XX', recursive: true, regionName: 'us-east-1') {   ^WorkflowScript: 192: Missing required parameter: "namePrefixes" @ line 192, column 17.   withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/XX/XX', recursive: true, regionName: 'us-east-1') {   ^WorkflowScript: 202: Missing required parameter: "namePrefixes" @ line 202, column 17.   withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/XX/XX', recursive: true, regionName: 'us-east-1') {   ^3 errors at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268) at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688) at groovy.lang.GroovyShell.parse(GroovyShell.java:700) at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131) at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:330) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)Finished: FAILURE  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 


[JIRA] (JENKINS-53881) aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs

2018-10-10 Thread malu...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Grochowski edited a comment on  JENKINS-53881  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs   
 

  
 
 
 
 

 
 I'm using the plugin in a declarative pipeline in a multibranch job. The (scrubbed) console output:  {{ Pull request #XX updated }}  {{ 04:03:18 Connecting to https://api.github.com using XX/** }}  {{ Obtained Jenkinsfile from  }}{{ XX }}{{}}  {{ Running in Durability level: MAX_SURVIVABILITY }}  {{ org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: }}  {{ WorkflowScript: 179: Missing required parameter: "namePrefixes" @ line 179, column 17. }}  {{  withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/ }}{{ XX }}{{ /XX ', recursive: true, regionName: 'us-east-1') { }}  {{  ^ }}{{  WorkflowScript: 192: Missing required parameter: "namePrefixes" @ line 192, column 17. }}  {{  withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/ }}{{ XX }}{{ /XX ', recursive: true, regionName: 'us-east-1') { }}  {{  ^ }}{{  WorkflowScript: 202: Missing required parameter: "namePrefixes" @ line 202, column 17. }}  {{  withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/ }}{{ XX }}{{ /XX ', recursive: true, regionName: 'us-east-1') { }}  {{  ^ }}{{  3 errors }}{{  at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310) }}  {{  at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085) }}  {{  at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603) }}  {{  at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581) }}  {{  at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558) }}  {{  at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298) }}  {{  at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268) }}  {{  at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688) }}  {{  at groovy.lang.GroovyShell.parse(GroovyShell.java:700) }}  {{  at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131) }}  {{  at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125) }}  {{  at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560) }}  {{  at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521) }}  {{  at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:330) }}  {{  at hudson.model.ResourceController.execute(ResourceController.java:97) }}  {{  at hudson.model.Executor.run(Executor.java:429) }}  {{ Finished: FAILURE }}   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

 

[JIRA] (JENKINS-53881) aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs

2018-10-10 Thread malu...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Grochowski commented on  JENKINS-53881  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs   
 

  
 
 
 
 

 
 I'm using the plugin in a declarative pipeline in a multibranch job. The (scrubbed) console output:   Pull request #XX updated 04:03:18 Connecting to https://api.github.com using XX/** Obtained Jenkinsfile from }}{{XX{{}} Running in Durability level: MAX_SURVIVABILITY org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 179: Missing required parameter: "namePrefixes" @ line 179, column 17. {{ withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/}}XX', recursive: true, regionName: 'us-east-1') { {{ ^}}WorkflowScript: 192: Missing required parameter: "namePrefixes" @ line 192, column 17. {{ withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/}}XX', recursive: true, regionName: 'us-east-1') { {{ ^}}WorkflowScript: 202: Missing required parameter: "namePrefixes" @ line 202, column 17. {{ withAWSParameterStore(credentialsId: '', naming: 'basename', path: '/}}XX', recursive: true, regionName: 'us-east-1') { {{ ^}}3 errorsat org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310) {{ at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085)}} {{ at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)}} {{ at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)}} {{ at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)}} {{ at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)}} {{ at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)}} {{ at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)}} {{ at groovy.lang.GroovyShell.parse(GroovyShell.java:700)}} {{ at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:131)}} {{ at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:125)}} {{ at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:560)}} {{ at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:521)}} {{ at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:330)}} {{ at hudson.model.ResourceController.execute(ResourceController.java:97)}} {{ at hudson.model.Executor.run(Executor.java:429)}} Finished: FAILURE    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 

[JIRA] (JENKINS-53881) aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs

2018-10-02 Thread malu...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Grochowski created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-53881  
 
 
  aws-parameter-store-plugin 1.2.0 is not backwards compatible with 1.1.0 in pipeline jobs   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Rik Turnbull  
 
 
Components: 
 aws-parameter-store-plugin  
 
 
Created: 
 2018-10-03 03:50  
 
 
Priority: 
  Major  
 
 
Reporter: 
 David Grochowski  
 

  
 
 
 
 

 
 When upgrading aws-parameter-store-plugin from 1.1.0 to 1.2.0, existing pipeline jobs break due to the addition of the namePrefixes parameter (specifically: Missing required parameter: "namePrefixes"). The parameter should be optional and all prefixes should be matched by default.   The change was introduced in https://github.com/jenkinsci/aws-parameter-store-plugin/pull/1  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment