On a related note, when you want to automate something, you generally want
to think on how you'd do it 'manually'. Here as Mark summarized perfectly,
you just use 'sh' facility. Where plugins shine and where they can and
should be used is when there's a interesting integration to avoid writing
Aha! Thanks so much! I will have to get busy on this. I was looking at it
totally wrong.
On Tue, Aug 7, 2018, 9:10 PM Mark Waite wrote:
> The git plugin has no facility to support creating a branch or pushing a
> branch from a Pipeline step.
>
> However, Pipeline can do it with an "sh" or "bat"
The git plugin has no facility to support creating a branch or pushing a
branch from a Pipeline step.
However, Pipeline can do it with an "sh" or "bat" step (depending on your
platform).
If your repository URL is an ssh URL ( g...@example.com:dir/repo.git or ssh:
//g...@example.com/dir/repo.git
Hi folks,
I've googled extensively, but I haven't seen any documentation or answers
on how to create a new git branch in Pipeline. I must be missing something
obvious, but the Git plugin page doesn't indicate anything other than
checking out code with credentials. Has anyone here used Jenkins