Skip to content

Instantly share code, notes, and snippets.

@ghale
Created November 4, 2021 14:20
Show Gist options
  • Save ghale/d0beb619d46872d1e645d6b29e420771 to your computer and use it in GitHub Desktop.
Save ghale/d0beb619d46872d1e645d6b29e420771 to your computer and use it in GitHub Desktop.
Capturing Maven builds without parallel enabled
def maxThreads = session.request.degreeOfConcurrency
if (maxThreads > 1) {
buildScan.tag "PARALLEL"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment