-
-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic argument retrieval with fallback mechanism #1265
Milestone
Comments
I do something like this:
|
I've since evolved my script to do this:
|
Related Cake addins that try to help in this area: |
Hello everyone! Is this still a relevant issue as I see that the last change has been made almost 2 years ago? |
Hi Everyone! Is this issue still open? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For my own purposes I have created this convenience method. It checks for argument values in the following order:
This way we need less explicit variable definitions because most of them are automatically retrieved from the build server (in most cases, people are running cake from a build server and pass in variables already defined in the build server).
It's currently written for continua ci only, but this can easily be extended to other build servers as well and renamed to GetVariable
What do you think, is it worth PR-ing?
The text was updated successfully, but these errors were encountered: