-
Type:
New Feature
-
Resolution: Won't Fix
-
Priority:
Minor
-
Component/s: aws-parameter-store-plugin
-
None
The plugin currently supports "scripted pipelines" thanks to the withAWSParameterStore pipeline method. It would be great if there was similar first-class support for "declarative pipelines".
An example of what this might look like:
Â
pipeline {
environment {
EXAMPLE = awsparamstore(path: '/service', credentialsId: '', naming: 'relative', recursive: true, regionName: 'eu-west-1')
}
stages {
stage('stage') {
steps {
sh "echo look at me using $EXAMPLE_APP_PARAM from /service/app/param"
}
}
}
}
Would you be happy to receive a pull request on GitHub adding this functionality? If so, I'd be happy to submit it. I would envision the arguments to the awsparamstore helper mirroring those of the scripted pipeline helper.
Â
(Thanks for the helpful library!)