Quantcast

New plugin for running build steps before SCM checkout

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

New plugin for running build steps before SCM checkout

cjo9900
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


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New plugin for running build steps before SCM checkout

Ulli Hafner
On 08/18/2011 12:28 AM, cjo wrote:

> 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
>
>


Done: https://github.com/jenkinsci/pre-scm-buildstep-plugin

Welcome aboard!

Ulli
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New plugin for running build steps before SCM checkout

Gregory Boissinot
In reply to this post by cjo9900
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.

On Thu, Aug 18, 2011 at 12:28 AM, cjo <[hidden email]> wrote:
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



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New plugin for running build steps before SCM checkout

cjo9900
In reply to this post by Ulli Hafner
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: New plugin for running build steps before SCM checkout

balavinod
This post has NOT been accepted by the mailing list yet.
In reply to this post by cjo9900
hi cjo9900,

i love this plugin.i want to use this plugin for jenkins.
where can i get .hpi file for this ?


Thanks
Loading...