Open johanneskraemer-lhind opened 11 months ago
An environment variable set by an environment directive gets ignored in envVariables:
environment
envVariables
stage('Deploy') { environment { SOME_VAR = "TEST" } steps { awsCodeBuild( region: 'eu-central-1', projectName: 'TestProject', envVariables: '[{ ENV_VAR, ${SOME_VAR } }]', credentialsType: 'keys', sourceControlType: 'project' ) } }
[AWS CodeBuild Plugin] Starting build with > project name: TestProject > environment variables: [{ ENV_VAR, ${SOME_VAR} }]
I would expect the output to be
> environment variables: [{ ENV_VAR, TEST }]
I know that I can use double quotes in envVariables, but then special characters like äöüß get replaced by ä.
Same problem exists with Variables set by build-user-vars-plugin.
build-user-vars-plugin
An environment variable set by an
environment
directive gets ignored inenvVariables
:I would expect the output to be
I know that I can use double quotes in
envVariables
, but then special characters like äöüß get replaced by ä.Same problem exists with Variables set by
build-user-vars-plugin
.