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

No scripts are defined. Please define one at scriptler

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • scriptler-plugin
    • Linux RHEL6.4
      Jenkins 1.642.2
      Scriptler-Plugin 2.9

      Hi,

      I am trying to work with scriptler-plugin to build static archives containing the scriptler directory with some predefined groovy scripts inside.

      I encountered a strange behaviour of the plugin.

      Scriptler plugin screen is OK : I see all the scripts and I can start them.

      But when I want to add a Scriptler Script inside a job, I have the alert:

      No scripts are defined. Please define one at scriptler

      When I add a new groovy script, I can see it and I dont have the alert but the other scripts are not visible.

      I try some different actions with the internal git repository but with no success.

      Thanks for your help

          [JENKINS-35183] No scripts are defined. Please define one at scriptler

          Hi,

          After investigation, I checked the <nonAdministerUsing> in scriptler.xml (which is the persistance of the UI checkbox : Allow execution by user with RunScripts permission allow runscripts) and changed the value.

          The scripts are visible and available in the Builder.

          Thanks

          Nicolas Dupont-Jubien added a comment - Hi, After investigation, I checked the <nonAdministerUsing> in scriptler.xml (which is the persistance of the UI checkbox : Allow execution by user with RunScripts permission allow runscripts) and changed the value. The scripts are visible and available in the Builder. Thanks

          For me, no further investigation is needed.

          Nicolas Dupont-Jubien added a comment - For me, no further investigation is needed.

            domi Dominik Bartholdi
            nicdupjub Nicolas Dupont-Jubien
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: