drone-downstream icon indicating copy to clipboard operation
drone-downstream copied to clipboard

Environment variables are not working as expected.

Open e-mk opened this issue 3 years ago • 2 comments

I am triggering my integration test pipeline after docker image build for one of the repos and using downstream trigger plugin for that.

this is my log for trigger step

with params:
4s6  - TRIGGERED_BY_REPO: repo-name
4s7  - TRIGGERED_BY_TAG: test-tag-999

but the variable TRIGGERED_BY_TAG is set as “latest” in my integration test pipeline. I had previous build with value “latest” for the same variable so I suspect there is some kind of caching.

I have already posted this at https://discourse.drone.io/ but there is no response after several days. Any help will be appreciated.

e-mk avatar Oct 20 '21 07:10 e-mk

Just updated to Drone 2.4. Getting exactly the same issue.

For some reason in downstream builds I keep getting variables from older build

winrono avatar Nov 11 '21 21:11 winrono

Hi,

I've the same problem with this plugin: https://discourse.drone.io/t/issue-with-params-using-downstream-plugin/10418/2 This PR should fix the issue: https://github.com/harness/drone/pull/3182

asosso avatar Jan 14 '22 18:01 asosso