How can I disable security checks for Jenkins pipeline builds

前端 未结 5 957
日久生厌
日久生厌 2020-12-19 00:51

I\'m running Jenkins in a local trusted environment where I\'m trying to run this pipeline. This Jenkinsfile is checked into git.

#!groovy
node(\'master\')          


        
5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-19 01:33

    Try the following jenkins plugin: https://wiki.jenkins-ci.org/display/JENKINS/Permissive+Script+Security+Plugin It disables the sandbox. Works for me.

提交回复
热议问题