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

Script not yet approved issue for seed job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • script-security-plugin
    • Jenkins 2.170
      Script Security 1.70
      Job DSL 1.72

      Issue with the first run of script created by seed job: 

      org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedUsageException: script not yet approved for use

       

      Hashs of seed job are programatically allowed. 

      Groovy sandbox disabled.

      useScriptSecurity=false

       

      Once newly created job updated ( e.g. blank space in the pipeline or whatever) no additional approves needed and everything works as expected. 

       

      Thank you,

      Vadym

       

            Unassigned Unassigned
            vadymt1 Vadym Tregubov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: