jonnyzzz / TeamCity.GitHub

Integration of TeamCity and GitHub
216 stars 63 forks source link

Paremeters in Context are not interpolated #119

Open Sergej-Popov opened 6 years ago

Sergej-Popov commented 6 years ago

I'm trying to use parameters in the context field like this: image

But they seem to be not resolved in the status I get on GitHub: image

Is that a known issue, or am I missing something?

P.S.> Thanks for the great plugin.

jonnyzzz commented 6 years ago

Do you have the github_status_check variable declared in the build parameters?

That one looks like something new. Technically, it looks like we miss to precess references of the field. There is an API to get references substituted. It should be possible to fix, I guess. You may submit a pull request if you see the missing call right in the code

A workaround could be to use the Kotlin DSL in Versioned Settings of a parent project and have the reference replaced with DSL variable

On Mon, Sep 17, 2018 at 5:36 PM Sergej notifications@github.com wrote:

I'm trying to use parameters in the context field like this: [image: image] https://user-images.githubusercontent.com/1652990/45632971-8a1fca00-ba96-11e8-907e-677a6ab187b4.png

But they seem to be not resolved in the status I get on GitHub: [image: image] https://user-images.githubusercontent.com/1652990/45633089-d5d27380-ba96-11e8-8998-eb0a6d3172ec.png

Is that a known issue, or am I missing something?

P.S.> Thanks for the great plugin.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jonnyzzz/TeamCity.GitHub/issues/119, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPpr7F-tWsaf2E48NXiz_xKSrNPXb5Wks5ub8FigaJpZM4WsLFD .