Hi Ashish,

Basically we need to have a job that builds several branches
automatically AND be able to run manually with a given branch name as a
parameter.

Our difficulties is finding how to trigger a specific bit of the git
plugin. It's In GitSCM.java in the method determineRevisionToBuild

// parameter forcing the commit ID to build
if (candidates.isEmpty() ) {
    final RevisionParameterAction rpa = 
build.getAction(RevisionParameterAction.class);
    if (rpa != null) {
        candidates = Collections.singleton(rpa.toRevision(git));
    }
}

Does it answer your questions?

Ivan

October, 23 at 11:19 Ashish Sharma wrote:

> Can you please little bit describe it. Hence I would like to try out
> this activity?
>
> Please let me know your difficulties.

-- 
Journalist say a thing that they know isn't true, in the hope that if
they keep on saying long enough it will be true.
    -- Arnold Bennett

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to