gradle-plugin icon indicating copy to clipboard operation
gradle-plugin copied to clipboard

Added the ability to label a build scan

Open lschwahn opened this issue 2 years ago • 2 comments

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

lschwahn avatar Feb 15 '22 15:02 lschwahn

Hi @lschwahn, thank you for your pull request! Given that quite some time has passed, are you still interested in this feature?

wolfs avatar Oct 18 '22 10:10 wolfs

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 avatar Oct 19 '22 04:10 lschwahn

@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 avatar Feb 16 '23 13:02 wolfs

@wolfs Thanks for the hint. These Enriched build scans seem to solve our problem. Closing this PR.

lschwahn avatar Feb 21 '23 07:02 lschwahn