aws-lambda-jenkins-plugin
aws-lambda-jenkins-plugin copied to clipboard
Try to deploy environment variables from Jenkins but in vain
I set the config like below

And the request message I saw from console is only like this:
Lambda update code request:
{FunctionName: Tracker,ZipFile: java.nio.HeapByteBuffer[pos=0 lim=3450022 cap=3450022],Publish: false}
There's no environment variables in the request. Should be
{FunctionName: Tracker,ZipFile: java.nio.HeapByteBuffer[pos=0 lim=3450022 cap=3450022],Publish: false,Environment: {Variables: {REDSHIFT_CONNECTION_STRING=blabla, GA_CONTAINER_ID=blablabla, REDSHIFT_DATABASE_SCHEMA=blabla}, }, }
Shall I set Update Mode to Code and configuration? Or how can I fix it?