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

Support multiple aliases

Open SamVerschueren opened this issue 9 years ago • 0 comments

It would be a nice feature if we could add multiple aliases to a version. It could be added by allowing a comma separated list to the input box of the aliases.

I mentioned it in #31 as well but I guess this might be easier to start with.

Use Case

The reason I'm asking this is because I add multiple tags to my released versions. The production alias is always pointing to the latests versioned release. I also add a v0 (or v1, v2, ...) depending on the semver of my code. This way, when calling a lambda function from another function, I know for sure that the v1 alias doesn't introduce breaking changes. It allows me to keep upgrading lambda A without the need to upgrade lambda B (which calls lambda A at v1) at the same time because lambda A introduced a breaking change.

So ideally, the input box allows multiple aliases with the option to pass in environment variables

production, ${MAJOR}

where ${MAJOR} points to v1 or something.

Any thoughts on this?

SamVerschueren avatar Jan 18 '16 15:01 SamVerschueren