Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72239

Scripts are not getting approved , when I post the updated config.xml with api using Admin credential and token

XMLWordPrintable

      with the script security plugin recent version - 1275.v23895f409fb_d , when we post confix.xml using REST API with Admin credential and token , the updated config.xml is not being approved automatically. 

      We have to go into the scriptApproval page and approve the scripts.

      Earlier the approval used to happen automatically using the Admin gui.

      It would be very helpful if there is a way to approve scripts without having to manually approve them using the GUI.

      Actually, we are working on a feature to add / remove a parameter from pipelines based on flags provided by user. so we need a way to automatically approve the config.xml of a pipeline without requiring manaul process with GUI.

      Jenkins version:- 2.426
      Operating system :- Oracle Linux Server 8.8

            Unassigned Unassigned
            harsha_vardhan_987 Harsha
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: