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

Active choice doesn't display scriptlet scripts

      I have the configuration per definition of jenkins.txt.

      I took the following script which was already approved as a parameter in active choice:

      return [ 'betops_t3,sfils,ozs_suzocfopzef': 'ozs', 'msszef,zls,mcs_bqwr': 'mcs_bqwr'] 

      And add it as id=Repository_data.groovy, Name=Repository Data, no checkbox were selected. The script is approved.

      At an existing "Active Choices Parameter" I switch from Groovy Script to Scriptler Script and get the message:

      No scripts are defined. Please define one at scriptler

      And it doesn't matter what the value of Use Groovy Sandbox.

          [JENKINS-72377] Active choice doesn't display scriptlet scripts

          Assaf Katz created issue -
          Assaf Katz made changes -
          Description Original: I have the configuration per definition of [^jenkins.txt].

          I took the following script which was already approved as a parameter in active choice:

          _return [ 'betops_t3,sfils,ozs_suzocfopzef': 'ozs', 'msszef,zls,mcs_bqwr': 'mcs_bqwr']_

          And add it as id=Repository_data.groovy, Name=Repository Data, no checkbox were selected. The script is approved.

          At a existing "Active Choices Parameter" I switch from Groovy Script to Scriptler Script and get the message:

          _No scripts are defined. Please define one at [scriptler|http://192.168.200.26:8080/scriptler]_

          And it doesn't matter what the value of Use Groovy Sandbox.
          New: I have the configuration per definition of [^jenkins.txt].

          I took the following script which was already approved as a parameter in active choice:
          {code:java}
          return [ 'betops_t3,sfils,ozs_suzocfopzef': 'ozs', 'msszef,zls,mcs_bqwr': 'mcs_bqwr'] {code}
          And add it as id=Repository_data.groovy, Name=Repository Data, no checkbox were selected. The script is approved.

          At an existing "Active Choices Parameter" I switch from Groovy Script to Scriptler Script and get the message:

          _No scripts are defined. Please define one at [scriptler|http://192.168.200.26:8080/scriptler]_

          And it doesn't matter what the value of Use Groovy Sandbox.
          Assaf Katz made changes -
          Link New: This issue blocks JENKINS-72306 [ JENKINS-72306 ]
          Assaf Katz made changes -
          Description Original: I have the configuration per definition of [^jenkins.txt].

          I took the following script which was already approved as a parameter in active choice:
          {code:java}
          return [ 'betops_t3,sfils,ozs_suzocfopzef': 'ozs', 'msszef,zls,mcs_bqwr': 'mcs_bqwr'] {code}
          And add it as id=Repository_data.groovy, Name=Repository Data, no checkbox were selected. The script is approved.

          At an existing "Active Choices Parameter" I switch from Groovy Script to Scriptler Script and get the message:

          _No scripts are defined. Please define one at [scriptler|http://192.168.200.26:8080/scriptler]_

          And it doesn't matter what the value of Use Groovy Sandbox.
          New: I have the configuration per definition of [^jenkins.txt].

          I took the following script which was already approved as a parameter in active choice:
          {code:java}
          return [ 'betops_t3,sfils,ozs_suzocfopzef': 'ozs', 'msszef,zls,mcs_bqwr': 'mcs_bqwr'] {code}
          And add it as id=Repository_data.groovy, Name=Repository Data, no checkbox were selected. The script is approved.

          At an existing "Active Choices Parameter" I switch from Groovy Script to Scriptler Script and get the message:
          {code:java}
          No scripts are defined. Please define one at scriptler{code}
          And it doesn't matter what the value of Use Groovy Sandbox.

            kinow Bruno P. Kinoshita
            assafkatz3b Assaf Katz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: