Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment variables are not working as expected. #75

Open
e-mk opened this issue Oct 20, 2021 · 2 comments
Open

Environment variables are not working as expected. #75

e-mk opened this issue Oct 20, 2021 · 2 comments

Comments

@e-mk
Copy link

e-mk commented Oct 20, 2021

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.

@winrono
Copy link

winrono commented Nov 11, 2021

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

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

@asosso
Copy link

asosso commented Jan 14, 2022

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: harness/harness#3182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants