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

Workflow build step for Maven

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Really belongs in a different plugin as described in JENKINS-26462 but filing here for the moment.

      A way to run Maven from a workflow using configured Maven installations and with support for other features such as settings files and console highlighting.

        Attachments

          Issue Links

            Activity

            Hide
            alobato Alvaro Lobato added a comment -

            Started to work on this issue. Already have a block scope step that accepts a Maven Installation and changes the environment variables so when you invoke "sh maven" inside that block uses the defined maven installations.

            Next steps allow to define settings.xml by using Config File Provider plugin.

            Show
            alobato Alvaro Lobato added a comment - Started to work on this issue. Already have a block scope step that accepts a Maven Installation and changes the environment variables so when you invoke "sh maven" inside that block uses the defined maven installations. Next steps allow to define settings.xml by using Config File Provider plugin.
            Hide
            batmat Baptiste Mathus added a comment -

            Is "sh maven" an intermediate step in that dev?

            I've been thinking about that for a while, a was planning to do it at some point, but great if you can work on it: shouldn't there be a global mvn variable like the docker one?

            Show
            batmat Baptiste Mathus added a comment - Is "sh maven" an intermediate step in that dev? I've been thinking about that for a while, a was planning to do it at some point, but great if you can work on it: shouldn't there be a global mvn variable like the docker one?
            Hide
            alobato Alvaro Lobato added a comment -

            Yes, the final objective would be to have an actual maven step without having to resort on sh, currently it is blocked by JENKINS-26055. In any case getting this first step will allow us to have some sort of maven integration and get closer to the final objective you mentioned.

            Show
            alobato Alvaro Lobato added a comment - Yes, the final objective would be to have an actual maven step without having to resort on sh, currently it is blocked by JENKINS-26055 . In any case getting this first step will allow us to have some sort of maven integration and get closer to the final objective you mentioned.
            Hide
            davidkarlsen davidkarlsen added a comment -

            What version will this be in? I found no commit references

            Show
            davidkarlsen davidkarlsen added a comment - What version will this be in? I found no commit references
            Hide
            jglick Jesse Glick added a comment -

            It is in a separate plugin.

            Show
            jglick Jesse Glick added a comment - It is in a separate plugin.

              People

              Assignee:
              alobato Alvaro Lobato
              Reporter:
              jglick Jesse Glick
              Votes:
              25 Vote for this issue
              Watchers:
              31 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: