The checkout scm step, as I understand it, is automatically executed in a
declarative pipeline. You don't have to declare it.
However, I need to execute a shell script just before checking out the code.
How can I achieve this in a declarative pipeline?
Thanks!
--
You received this message bec
> that is part of declarative, and then perform the checkout yourself within
> the declarative pipeline.
>
> Refer to declarative options
> <https://jenkins.io/doc/book/pipeline/syntax/#options> and the
> skipDefaultCheckout.
>
> Mark Waite
>
> On Mon, Sep 11, 20
I have a multibranch pipeline job that runs on a Linux slave. The source
code comes from a git repo at BitBucket.
Now, 3 questions:
1) I suppose that, for each new build, a "git pull" or similar is executed,
instead of a more expensive "git clone". Am I right?
2) Furthermore, I guess the "git
n the last build and the current one (as each commit should have a
Jira issue ID in it).
But I guess there are better ways to achieve this...
On Wednesday, September 27, 2017 at 9:39:34 PM UTC-3, Mark Waite wrote:
>
>
>
> On Wed, Sep 27, 2017 at 6:11 PM Elifarley Cruz > wrote: