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

Disable generateGitProperties task when executing only for tests #229

Open
rivancic opened this issue Nov 24, 2023 · 0 comments
Open

Disable generateGitProperties task when executing only for tests #229

rivancic opened this issue Nov 24, 2023 · 0 comments

Comments

@rivancic
Copy link

I have a pipeline with 3 separate steps

  • build
  • test
  • integration tests

Its fine that the first time at build (tests excluded) step git properties are created.
While I don't want that this task runs again when I execute test or integration test tasks. Note because of conventions I can't influence parameters to the test or integration test tasks.

How can I configure that within test and integrationTests tasks, `generateGitProperties task isn't triggered with classes task (that generateGitProperties isn't executed at all)?

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

1 participant