Closed dduportal closed 1 year ago
The call to recordDeployment() in the post block fails with the following message:
recordDeployment()
post
19:04:24 org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use method groovy.lang.GroovyObject invokeMethod java.lang.String java.lang.Object (org.jenkinsci.plugins.workflow.cps.CpsClosure2 recordDeployment java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String)
=> the method signature is incorrect as per https://github.com/jenkins-infra/pipeline-library/blob/master/vars/recordDeployment.groovy#LL1C56-L1C66.
This PR fixes this issue (tested with a replay on infra.ci.jenkins.io)
The call to
recordDeployment()
in thepost
block fails with the following message:=> the method signature is incorrect as per https://github.com/jenkins-infra/pipeline-library/blob/master/vars/recordDeployment.groovy#LL1C56-L1C66.
This PR fixes this issue (tested with a replay on infra.ci.jenkins.io)