You will be wanting my changes that should make a beta early next week

Then you add the local branch trait and that does exactly what you want

HTH

On Sat 17 Jun 2017 at 07:18, Idan Adar <[email protected]> wrote:

> Checkouts in Jenkins, AFAIK, are headless, meaning that I cannot do git
> operations on them.
> If I want to do an operation, like git tag and then git push... I need to
> first do git clone inside an sshagent block or similar.
>
> For large repositories this can be a problem, as the process becomes
> lengthy...
> checkout scm...
> do stuff (tests, build, etc)...
> git clone...
> git tag...
> git push...
>
> This can be made a little better by git cloning using --depth 1, but this
> still will git clone the whole repo, even if without history.
>
> So I'm looking for a way to be able to git tag/push, but not also git
> clone the repo again... is this at all possible, to maybe check scm with
> head (or, not headless) so git operations would be possible?
>
> --
> 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/52f875bc-020c-422f-8508-2277a628f608%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/52f875bc-020c-422f-8508-2277a628f608%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Sent from my phone

-- 
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/CA%2BnPnMw1YnzxswbOZKM%2BfJa2nqD9j5OZ0A%3DD%2B3_mNiiemepEew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to