-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
An environment variable set by an environment directive gets ignored in 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.
acraftydev
Metadata
Metadata
Assignees
Labels
No labels