New plugin for running build steps before SCM checkout

173 views
Skip to first unread message

cjo

unread,
Aug 17, 2011, 6:28:10 PM8/17/11
to Jenkins Developers
Hi all,

I have looked through all of the existing plugins and could not find
one that would let me run a build step before the SCM does its check,
so noticing that the buildwrapper has a preCheckout method, I have
created a simple plugin to allow any build steps to run at this point.

I hope this will be of use to other people.

Can I request forking of the plugin from https://github.com/cjo9900/preSCMbuildstep-plugin
along with a rename to pre-scm-buildstep-plugin as i think it more in-
line with the rest of the plugin naming scheme.

I have created a sample wiki page for the plugin at
https://wiki.jenkins-ci.org/display/~cjo9900/pre-scm-buildstep-plugin
to cover the main usage points.

Any comments are more than welcome,

My Jenkins and github user names are both cjo9900

Thanks


Ullrich Hafner

unread,
Aug 18, 2011, 5:17:02 AM8/18/11
to jenkin...@googlegroups.com

Grégory Boissinot

unread,
Aug 18, 2011, 4:36:57 PM8/18/11
to jenkin...@googlegroups.com
The EnvInject plugin (https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin) provides also this feature.
However, in a simpler way that the pre-buildstep-scm plugin.

cjo

unread,
Aug 19, 2011, 7:32:23 AM8/19/11
to Jenkins Developers
I can see the fork but I don't seem to have commit access, so cannot
do the last modifications before a release.

I am already a member of the jenkinsci organization, and have commit
access to other plugins.
so can you check everything is setup correctly.

I think it needs to be added to the Everybody group.


Thanks
Reply all
Reply to author
Forward
0 new messages