Hi,

you're probably using a strategy that is merging your branch with master
before building.
Not sure what you use there but I would recommend you to review the git
configuration in your job.

Vincent


Le jeu. 5 sept. 2019 à 00:06, Shaun McArthur <shamc...@gmail.com> a écrit :

> This is happening more often than I'd like, and I can't figure out why.
>
> - the commit I want to test is c3a9...
> - the git plugin ends up checking out cd69.... - which appears to be
> master (?why?)
>
> > /usr/bin/git merge -s recursive --ff 
> > c3a9d9a295f1acd636078514a49558c871cb502a # timeout=10*00:00:10.967*  > 
> > /usr/bin/git rev-parse HEAD^{commit} # timeout=10*00:00:11.053* Seen 91 
> > remote branches*00:00:11.068*  > /usr/bin/git show-ref --tags -d # 
> > timeout=10*00:00:11.083* Checking out Revision 
> > cd69b45ba6a34f67791c5cbc6964b5c152415aae (origin/master)
>
>
> - and of course, when I try to update the status, I get an error:
>
> message": "No commit found for SHA: cd69b45ba6a34f67791c5cbc6964b5c152415aae"
>
>
>
> ...and then we end up re-testing master.
>
> What is the Git Plugin doing?
>
>
> Related - is there a way to script something before the git plugin does
> it's thing? I could convert the branch name to a commit id.
>
>
> Thanks for any assistance. Cross posted to SO.
> Shaun
>
> --
> 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/34c14b2c-d7f5-423f-9711-72603e89c471%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/34c14b2c-d7f5-423f-9711-72603e89c471%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAH-zGCgsMh4wQGY-p%3Dkybt_3e31-ff5G-jeuqx0qOqpTHpYFHw%40mail.gmail.com.

Reply via email to