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

[BUG] Incorrect configuration task buildNoJdkRpm #3927

Closed
cdsap opened this issue Jul 16, 2022 · 1 comment
Closed

[BUG] Incorrect configuration task buildNoJdkRpm #3927

cdsap opened this issue Jul 16, 2022 · 1 comment
Labels

Comments

@cdsap
Copy link
Contributor

cdsap commented Jul 16, 2022

Describe the bug
The configuration of the task buildNoJdkRpm is:

tasks.register('buildNoJdkRpm', Rpm) {
  configure(commonRpmConfig(true, 'x64'))
}

The current configuration was setting the incorrect parameter jdk to true. This configuration was causing in incremental build scenarios the execution of the tasks. After setting the correct parameter tasks are UP-TO-DATE.

To Reproduce
Steps to reproduce the behavior:

  1. Execute ./gradlew clean assemble
  2. Execute ./gradlew assemble
  3. See build scan of second execution: https://scans.gradle.com/s/2wvwfoybovs3e

Expected behavior
Second build shouldn't execute the tasks buildNoJdkRpm and buildRpm

@minalsha
Copy link
Contributor

@cdsap thank you for raising the PR and i see it is merged. If no other work pending, can you please close this issue? Thanks

@cdsap cdsap closed this as completed Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants