Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: job-dsl-plugin
    • Labels:
      None

      Description

      It's very possible that someone will want to bring in an external library, which we're unfamiliar with or just don't include. If they could add an @Grab to get it, it's add up a lot of functionality.

      Comments / References from Original Github Issue

      andrewharmellaw referenced this issue 8 months ago
      Closed
      Issue #18: Facilitate DSL Extensions

      andrewharmellaw commented 8 months ago
      Sounds great. This is anther way of looking at the issue I created (#18). This is more idiomatic than mine though. I'll close it.

        Attachments

          Issue Links

            Activity

            Hide
            andrewharmellaw Andrew Harmel-Law added a comment -

            Done. I'm giving 10 hours to see if anyone else wants to have a look too. Great work. Do you want to put something up on the wiki too? I created a "User Power Moves" page yesterday where this (using @Grab) would fit nicely...

            Show
            andrewharmellaw Andrew Harmel-Law added a comment - Done. I'm giving 10 hours to see if anyone else wants to have a look too. Great work. Do you want to put something up on the wiki too? I created a "User Power Moves" page yesterday where this (using @Grab) would fit nicely...
            Hide
            quidryan Justin Ryan added a comment -

            Let's leave this open until after it's documented. I just started using this feature today, so give me a few days to clean it up to be used as an example. Thanks for adding the page.

            Show
            quidryan Justin Ryan added a comment - Let's leave this open until after it's documented. I just started using this feature today, so give me a few days to clean it up to be used as an example. Thanks for adding the page.
            Hide
            pmatignon Patrice Matignon added a comment -

            Any indication of which version of Jenkins this is/will be available ?
            Also, does it matter whether the @Grab annotation is used from within the System console or a Groovy build step ?

            Show
            pmatignon Patrice Matignon added a comment - Any indication of which version of Jenkins this is/will be available ? Also, does it matter whether the @Grab annotation is used from within the System console or a Groovy build step ?
            Hide
            daspilker Daniel Spilker added a comment -

            This ticket has been for the Job DSL plugin. For Grab support in the system console or the Groovy plugin you need to open another ticket.

            The Job DSL plugin has the Grab support for quite some time and works with Jenkins 1.480 or later. In principle, you can use the Job DSL plugin as a replacement for system Groovy build step provided by the Groovy plugin.

            Show
            daspilker Daniel Spilker added a comment - This ticket has been for the Job DSL plugin. For Grab support in the system console or the Groovy plugin you need to open another ticket. The Job DSL plugin has the Grab support for quite some time and works with Jenkins 1.480 or later. In principle, you can use the Job DSL plugin as a replacement for system Groovy build step provided by the Groovy plugin.
            Hide
            pmatignon Patrice Matignon added a comment -

            Thanks for the quick reply. I had missed this ticket was indeed for the job-dsl-plugin. I will try what you suggest. Cheers!

            Show
            pmatignon Patrice Matignon added a comment - Thanks for the quick reply. I had missed this ticket was indeed for the job-dsl-plugin. I will try what you suggest. Cheers!

              People

              • Assignee:
                quidryan Justin Ryan
                Reporter:
                andrewharmellaw Andrew Harmel-Law
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: