-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Jenkins Administrator's Guide
By :

In this chapter, we learned the ins and outs of the Script Security plugin and Jenkins' security model as a whole.
We started off by learning about the important distinction between an administrator and a non-administrator.
Then, we learned about the Groovy sandbox. First, we saw how to run a pipeline outside of the sandbox using a direct pipeline, and then went through a disaster scenario where approving direct pipeline scripts can lead to problems. Again, never approve them. Then we learned how to use a Global Shared Library to wrap a dangerous method call with the necessary checks and restrictions for safe use. We also learned how the method signature approval works while running a pipeline inside the sandbox.
Then we went through the epic journey of understanding how the Approve assuming permission check button works. We first learned about who the SYSTEM user is and what they can do with the horror of realizing that the permission restrictions that...