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

java.lang.NoSuchMethodError: No such DSL method 'when' found among steps

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      With a requirement to build selectively from a single mono repo I was trying to create steps for every project and conditionally (using 'when') build only what's required.

      When running the attached pipeline it fails with this exception - java.lang.NoSuchMethodError: No such DSL method 'when' found among steps [ArtifactoryGradleBuild

      full exception attached.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dpilat Derek Pilat
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: