aws-lambda-jenkins-plugin icon indicating copy to clipboard operation
aws-lambda-jenkins-plugin copied to clipboard

Try to deploy environment variables from Jenkins but in vain

Open malikid opened this issue 7 years ago • 0 comments

I set the config like below swipeguide-tracker_config__jenkins_

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?

malikid avatar Mar 30 '18 09:03 malikid