--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8772bb4a-0dd7-4555-8d15-0d982f33ac39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks Mark for your reply. I did look at the previous successful job output and compiled a script with following.
if [ ! -d .git ]; then git init; git status; else git status; fi # This is to ijnitialize git -> this step not seen in the job output when plugin used.git rev-parse --is-inside-work-treegit config remote.origin.url ${URL}git config --local credential.helper store --file=~/.git-credentialsgit fetch --tags --progress ${URL} +refs/heads/*:refs/remotes/origin/*git config --local --remove-section credentialgit rev-parse origin/${BNAME}^{commit}#git config core.sparsecheckoutgit checkout -f ${REVNO}#git branch -a#git branch -D ${BNAME}git checkout -b ${BNAME} ${REVNO}I had commented out some lines above which were giving some errors, except that I am able to checkout the contents, but in the git hub site I see below commands (The clone command does little bit diff from above steps which creates the parent folder in the workspace) :git clone https://github.com/<pathToRepo>git checkout developThough I see required files checked out from git, but I am skeptical to use if it breaks anything. So far I am playing around with test repository, soon I need to hook this to Development code. Can you please look into it and verify if those steps are good to go?
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/adff96b2-9501-47dc-b861-15b414cf64b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks Mark,
Please find the environment details for the jenkins:
Jenkins ver: Jenkins ver. 1.509.1.1Jenkins GIT client plugin: 1.9.1Jenkins GIT plugin: 2.2.1Git server plugin: 1.3
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/46eca92c-97f5-45ab-9a45-e1a030587194%40googlegroups.com.
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d6ebe9d1-839e-4386-ab6c-80393f343f6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.