Script not yet approved issue for seed job

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: script-security-plugin
    • Environment:
      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

       

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

              Created:
              Updated: