gradle-plugin
gradle-plugin copied to clipboard
Added the ability to label a build scan
This PR adds the ability to optionally label a build scan. This is useful when a jenkins job creates multiple build scans.
What we have changed:
- New option for Gradle-BuildStep in FreeStyle-Jobs.
- New optional Parameter for "findBuildScans" ("buildScanLabel").
- New optional Parameter for "withGradle" ("buildScanLabel").
- Added and changed tests.
- Added documentation.
Our Solution is backwards compatible.
- [x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue
Hi @lschwahn, thank you for your pull request! Given that quite some time has passed, are you still interested in this feature?
Hi @wolfs, yes we are still interested in this feature. We are using it in our productive Jenkins-Environment.
edit: I just rebased this PR and fixed some conflicts
@lschwahn The Gradle plugin 2.3 adds Enriched build scans. Is that already enough for your use-case or would you still want to have additional labels for the scans.
@wolfs Thanks for the hint. These Enriched build scans seem to solve our problem. Closing this PR.