Hello, all
How is `matrix' supposed to interact with `checkout'? If I
have several axes, of which some require change of agent (OS
version), and some do not (Debug or Release mode), where
shall place the `checkout' step? Currently, I have it at
this path in my Jenkinsfile:
pipeline -> stages -> stage('All') ->
matrix -> stages -> stage('Build') -> steps
-- that is, inside a matrix cell. Therefore, a checkout is
executed for each cell, regardless of whether it had already
been done on the same agent machine. Is it intended usage of
the `matrix' element? If not, how can I cause checkout to
be performed once per agent, rather than once per matrix
cell?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/20200901172344.87f1525cb0a6b5630e4941c1%40gmail.com.