{{ message }}
Cleaned up the hudson-post-receive script#3
Open
boxerab wants to merge 7 commits into
Open
Conversation
added 4 commits
April 8, 2011 16:03
…l post-receive-hudson
…l post-receive-hudson
…rom command line and calling from another script
Owner
Author
|
Cool, that echo trick would work. Also, yes, good idea to pass in all three post-receive inputs. |
Owner
|
That'd be great, Aaron, thanks. |
…structive for users 2. added post-receive-redmine script, which pushes changes to redmine copy of repository 3. improved post-receive-hudson: added configurable parent job name and parent branch name, where the parent job is used as a template to create new hudson jobs (for new branches)
Author
added 2 commits
April 26, 2011 14:26
…leted; also added our custom post-receive-email script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Hi Stephen,
So, here is another version of the post receive script. I made the script work via either the command line,
or called from another script: in my case, I do call it from the main post-receive script, along with a few other "post receive" scripts, and so I can't read the parameters in from command line or they won't be available to my other scripts. I have also made the hudson user name and password configurable. And, following your suggestion, I only read USER_EMAIL from git log if it has not been set.
Check it out and let me know what you think.
Cheers,
Aaron