Wrap the Maven execute using withCredentials

withCredentials() will set the SONAR_TOKEN variable which is recognized by the scanner.
It will also automatically mask the token if it is ever printed out in the logs.
1 file changed
tree: e58a528c17b1160a3bd31842a7e0a10281dfcaa1
  1. src/
  2. vars/
  3. .gitignore
  4. CODE_OF_CONDUCT.md
  5. CONTRIBUTING.md
  6. create_jobs.groovy
  7. gen_job_entries.sh
  8. LICENSE
  9. README.md
README.md

License

Sling Jenkins jobs creation

The scripts found in this folder are used to create the Jenkins jobs listed at https://builds.apache.org/view/S-Z/view/Sling/

See https://cwiki.apache.org/confluence/display/SLING/Sling+Jenkins+Setup for more info.