0

I need to see the Gerrit environment variables that are passed from the gerrit trigger in Jenkins to (in my case) a gradle build. The keys are shown here. I was hoping that adding this to the build.gradle would show them:

ext.systemProperties = System.properties
println "All properties = ${System.properties}"

This prints lots of variables but not the gerrit variables. Any thoughts?

Thanks up front.

Return_Of_The_Archons
  • 1,731
  • 3
  • 20
  • 26

0 Answers0