I suspect it is not interpreting that variable because variable expansion is not implemented for that field. I suspect the original author did not consider variable expansion in handling that field.
I think that is a novel use of the field, asking it to compute changes since the last successful build. I'm more accustomed to that field being used to define a common branch against which diffs are performed. Mark Waite On Thu, Dec 21, 2017 at 4:23 PM <jbro...@snapapp.com> wrote: > Hi all- > > I'm using the "Calculate Changelog Against a Specific Branch" additional > behavior, and I've used the GIT_PREVIOUS_SUCCESSFUL_COMMIT env variable. > However, I'm getting this error in my build: > > Using 'Changelog to branch' strategy. > fatal: bad revision '^origin/$GIT_PREVIOUS_SUCCESSFUL_COMMIT' > ERROR: Unable to retrieve changeset > > I've attached a screenshot of the config. It's straightforward: use the > origin repo, and use a variable. Why isn't this field interpolating the > variable? (I've tried other variables- it just doesn't seem to respect > variables at all, regardless of whether I have braces around them or not.) > > Cheers, > Jack > > -- > 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/80a97199-bece-45e6-afec-9ae3062d7aeb%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/80a97199-bece-45e6-afec-9ae3062d7aeb%40googlegroups.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 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/CAO49JtG8ixqct2Y%3DhBUc3JLNK-vn_rw5hhPxCj9G3mVTGtqJPQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.