Fixed pipeline global library configuration saving error

Change-Id: Ibafaaa0b5ac1666e4a3617428e5d9ad890846678
diff --git a/_states/jenkins_lib.py b/_states/jenkins_lib.py
index 10ef75f..d4dc5be 100644
--- a/_states/jenkins_lib.py
+++ b/_states/jenkins_lib.py
@@ -34,6 +34,7 @@
       globalLibsDesc.get().getLibraries().removeIf{{ it.name.equals("{lib_name}")}}
       globalLibsDesc.get().getLibraries().add(library)
     }}
+    globalLibsDesc.save()
     print("SUCCESS")
 }}
 """ # noqa
@@ -42,6 +43,7 @@
 def globalLibsDesc = Jenkins.getInstance().getDescriptor("org.jenkinsci.plugins.workflow.libs.GlobalLibraries")
 def existingLib = globalLibsDesc.get().getLibraries().removeIf{{it.name.equals("{lib_name}")}}
 if(existingLib){{
+    globalLibsDesc.save()
     print("DELETED")
 }}else{{
     print("NOT PRESENT")