Cleaned up the hudson-post-receive script by boxerab · Pull Request #3 · stephenh/git-central · GitHub
Skip to content

Cleaned up the hudson-post-receive script#3

Open
boxerab wants to merge 7 commits into
stephenh:masterfrom
boxerab:master
Open

Cleaned up the hudson-post-receive script#3
boxerab wants to merge 7 commits into
stephenh:masterfrom
boxerab:master

Conversation

@boxerab

@boxerab boxerab commented Apr 21, 2011

Copy link
Copy Markdown

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

@stephenh

Copy link
Copy Markdown
Owner

@boxerab

boxerab commented Apr 22, 2011

Copy link
Copy Markdown
Author

Cool, that echo trick would work. Also, yes, good idea to pass in all three post-receive inputs.
I can make these changes on my fork, if you like. And test it on my Hudson server.

@stephenh

Copy link
Copy Markdown
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)
@boxerab

boxerab commented Apr 26, 2011

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants