Hi Robert, Thanks for the input. This complicates matters for me :) - I need something that runs right after checkout, regardless of wheather or not the checkout failed. Do you have any suggestions?
I considered using a buildWrapper and the setUp method...but it looks like a buildwrapper needs to be enabled through UI, and i don't want this to be the case, i'm already using the RunListener to report when the build starts, but i also want something that can report when a checkout fails...without having to configure or enable it in a configuration. Any help would be appreciated. Best regards, Mads [image: ____________________________________________________________] Mads Nielsen Consultant m...@praqma.net +45 50 98 18 09 <+45%2050%2098%2018%2009> Skype: inkspot Praqma www.praqma.com DK: CPH, Aarhus, Allerod NO: OSL SE: STHLM +45 36 PRAQMA <+4536772762> <http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner> On Thu, Apr 7, 2016 at 10:51 AM, Robert Sandell <rsand...@cloudbees.com> wrote: > Looks like after checkout and only if successful > > > https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/AbstractBuild.java#L612 > > Not sure if pipeline or other non AbstractBuild type jobs does something > different. > > /B > > On Wed, Apr 6, 2016 at 8:08 PM, Mads Nielsen <m...@praqma.net> wrote: > >> Hey Guyes... >> >> Question: >> >> The SCMListener class has a method, called onCheckout(...) that is called >> when a build finishes establishing a workspace and immediately after >> SMC.checkout(). Does this mean this method is called even if the SCM fails >> to check something out, documentation isn't really clear about it? >> >> >> http://javadoc.jenkins-ci.org/hudson/model/listeners/SCMListener.html#onCheckout(hudson.model.Run, >> hudson.scm.SCM, hudson.FilePath, hudson.model.TaskListener, java.io.File, >> hudson.scm.SCMRevisionState) >> >> Best regards, >> Mads >> >> [image: ____________________________________________________________] >> Mads Nielsen >> Consultant >> m...@praqma.net >> +45 50 98 18 09 <+45%2050%2098%2018%2009> >> Skype: inkspot >> Praqma >> www.praqma.com >> DK: CPH, Aarhus, Allerod >> NO: OSL >> SE: STHLM >> +45 36 PRAQMA <+4536772762> >> >> <http://www.josra.org/blog/An-automated-git-branching-strategy.html?src=mailbanner> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-dev+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/CAFariutjrrj%3DyRguJK6pWHiZmaX7FioZsbBGFh3XMJOC8sN2Tg%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-dev/CAFariutjrrj%3DyRguJK6pWHiZmaX7FioZsbBGFh3XMJOC8sN2Tg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Robert Sandell > *Software Engineer* > *CloudBees Inc.* > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS3ygdLQYC6TUm%3D6DCcjRNWiRDzSZeERd7_5JWvGb-_m6Q%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS3ygdLQYC6TUm%3D6DCcjRNWiRDzSZeERd7_5JWvGb-_m6Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAFariutC%2BKa4HoXTXYFerybQ2Xwqx%2B_MoNh%3DE%3DRRv_K77HDUGQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.