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

The referencedParameters property does't trigger properties

      Multiple assigment parameters in referencedParameters doesn't initialize its values properly.

      There're releaseBranch, releaseNumber and serviceName parameters (see the attached file).

      releaseNumber property depends on releaseBranch  

      and serviceName property depends on both releaseNumber and releaseBranch  

      The Groove script of releaseBranch returns "main" value always. This value is set up as first chosen parameter in the lookup component automatically.

      The Groovy script of releaseNumber depends on releaseBranch and return the list ([100, 101, 102, 103]). The lookup component initializes the default value 100 as well.

      It's expected that these two initialized values ("main" and 100) are available for the Groovy Script in serviceName, but it's not.

       

      When the page is refreshed the ['Could not get releaseBranch param'] and ['Could not get either releaseBranch or releaseNumber param(s)'] values are blinked. It points on executing fallbackScript scripts.

      Moreover the error has been picked up from the Jenkins log file when fallbackScript is not used in Jenkinsfile script (see attached jenkins.log file). A recorded video (15.10.2024_08.38.35_REC.mp4) shows infinity scrolling icon when fallbackScript is not used.   

       

       

       

      Release version is 
      2.8.4
       

        1. 15.10.2024_00.49.45_REC.mp4
          884 kB
        2. 15.10.2024_08.38.35_REC.mp4
          477 kB
        3. jenkins.log
          64 kB
        4. Jenkinsfile-1
          5 kB

          [JENKINS-73928] The referencedParameters property does't trigger properties

          Hossted added a comment - - edited

          Greetings!

          We are also a community member experiencing the similar issue.

          We hired professional expert(s) to work on this matter since our business case demanded so.
          We submitted the dedicated issue describing the problem(s) in detail here:
          JENKINS-73935

          We hope that the plugin maintainer(s) and / or author(s) will be able to fix the root cause of this issue in the near future.

          In the meantime, we created a separate repository project which contains a workaround for this issue.

          For more information, you can check it out here (on our GitHub).

          Please read in detail if you are interested.
          Also, we provided a patched plugin bundles containing the fix here (on our GitHub).

          But due to security concerns, please, use with caution.

          If you are interested in using the fix before the official fix from the maintainer(s), it would be preferred that you rebuild it yourself instead of using our pre-built bundle we are distributing.

           

          Best regards,
          Hossted
           

          Hossted added a comment - - edited Greetings! We are also  a community member  experiencing the similar issue. We hired professional expert(s) to work on this matter since our business case demanded so. We submitted the dedicated issue describing the problem(s) in detail here: JENKINS-73935 We hope that the  plugin maintainer(s) and / or author(s) will be able to fix the root cause of this issue  in the near future. In the meantime, we created a separate repository project which contains a workaround for this issue. For more information, you can check it out here (on our GitHub) . Please read in detail if you are interested. Also, we provided a patched plugin bundles containing the fix here (on our GitHub) . But due to security concerns, please, use with caution. If you are interested in using the fix before the official fix from the maintainer(s), it would be preferred that you rebuild it yourself instead of using our pre-built bundle we are distributing.   Best regards, Hossted  

            chudnikau siarhei
            chudnikau siarhei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: