We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e487b8 + 4fbfa00 commit bc1cdf1Copy full SHA for bc1cdf1
pipeline-examples/get-build-cause/getBuildCause.groovy
@@ -8,5 +8,8 @@ def causes = currentBuild.rawBuild.getCauses()
8
// if present.
9
def specificCause = currentBuild.rawBuild.getCause(hudson.model.Cause$UserIdCause)
10
11
+// If you see errors regarding 'Scripts not permitted to use method...' approve
12
+// these scripts at JENKINS_URL/scriptApproval/ - the UI shows the blocked methods
13
+
14
// See the Javadoc for Cause for more information on what's in Causes, etc at:
15
// http://javadoc.jenkins-ci.org/hudson/model/class-use/Cause.html
0 commit comments