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

Groovy script failed to run if build started by timer

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            kinow 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

            Show
            kinow 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
            Hide
            slavik334 Viachaslau Kabak added a comment -

            thanks

            Show
            slavik334 Viachaslau Kabak added a comment - thanks
            Hide
            kinow Bruno P. Kinoshita added a comment -

            Closing as duplicate

            Show
            kinow Bruno P. Kinoshita added a comment - Closing as duplicate

              People

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

                Dates

                Created:
                Updated:
                Resolved: