I'm sorry, but could you please elaborate? :)
What changes to which plug-in and an example implementation...

Right now instead of "checkout scm" in the checkout stage and "git clone" 
in the stage where I need to do git tag/push, I do only the following in 
the checkout stage:

sshagent (credentials: ['...']) {
    sh "git clone --depth 1 -b develop [email protected]"
}

And then I should be able to do the operations...
Essentially, Jenkinsfile now does the "checkout" not-headlessly, but it 
does meant it's not declarative anymore...

-- 
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/b1020fe2-961e-4586-8b19-0f6c51879cad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to