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

Groovy script failed to run if build started by timer

      Add groovy script to fill the list. If run build manually - script run successfully and list is filling well. But if job runs by timer - fallback script runs.
      Using Active Choices Reactive Parameter with 2 Referenced Parameters.

          [JENKINS-32405] Groovy script failed to run if build started by timer

          Viachaslau Kabak created issue -
          Bruno P. Kinoshita made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Hi Viachaslau!

          Thanks for reporting the issue.

          At the moment the plug-in is not able to render the parameters without the user interface. The Groovy script is evaluated on the server side, however, the interaction between parameters is done via JavaScript.

          What is happening, is that your script is probably being evaluated with default values, and the active choices are not being "linked".

          This issue is being marked as duplicate of JENKINS-28735. Feel free to add any comment or suggestions here or on JENKINS-28735.

          Thanks again
          Bruno

          Bruno P. Kinoshita added a comment - Hi Viachaslau! Thanks for reporting the issue. At the moment the plug-in is not able to render the parameters without the user interface. The Groovy script is evaluated on the server side, however, the interaction between parameters is done via JavaScript. What is happening, is that your script is probably being evaluated with default values, and the active choices are not being "linked". This issue is being marked as duplicate of JENKINS-28735 . Feel free to add any comment or suggestions here or on JENKINS-28735 . Thanks again Bruno
          Bruno P. Kinoshita made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Bruno P. Kinoshita made changes -
          Link New: This issue is duplicated by JENKINS-28735 [ JENKINS-28735 ]
          Bruno P. Kinoshita made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          thanks

          Viachaslau Kabak added a comment - thanks

          Closing as duplicate

          Bruno P. Kinoshita added a comment - Closing as duplicate
          Bruno P. Kinoshita made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168027 ] New: JNJira + In-Review [ 209602 ]

            kinow Bruno P. Kinoshita
            slavik334 Viachaslau Kabak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: