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

variable CI_PIPELINE_DEPLOY_TASK is empty in woodpecker #3872

Closed
3 tasks done
lara-clink opened this issue Jul 4, 2024 · 1 comment · Fixed by #3878
Closed
3 tasks done

variable CI_PIPELINE_DEPLOY_TASK is empty in woodpecker #3872

lara-clink opened this issue Jul 4, 2024 · 1 comment · Fixed by #3878
Labels
bug Something isn't working

Comments

@lara-clink
Copy link

lara-clink commented Jul 4, 2024

Component

other

Describe the bug

I am testing version 2.6 in my development environment, so I updated an application code to use
- evaluate: CI_PIPELINE_DEPLOY_TASK == "sre-dummy-rest-app"
instead of the 'task:' filter.
In my github hooks payload I get:
Captura de Tela 2024-07-04 às 14 21 31
But the CI_PIPELINE_DEPLOY_TASK is empty and woodpecker is not running the steps that it should run.

Steps to reproduce

Using :

when:
      - evaluate: CI_PIPELINE_DEPLOY_TASK == "value" 

Instead of:
task: "value"

Expected behavior

Run with the variable as it should run with the filter in previous versions.

System Info

{"source":"https://github.com/woodpecker-ci/woodpecker","version":"2.6.0"}

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
@lara-clink lara-clink added the bug Something isn't working label Jul 4, 2024
@zc-devs
Copy link
Contributor

zc-devs commented Jul 6, 2024

it should run with the filter in previous versions

Has it ever been?

Constraints doesn't contain task filter and seems has never been.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants