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.

          [JENKINS-26057] Workflow build step for Maven

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-26055 [ JENKINS-26055 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-26462 [ JENKINS-26462 ]
          Jesse Glick made changes -
          Description Original: Really belongs in a different plugin as described in https://trello.com/c/ImfSSGkj/4-classic-maven-builder-into-maven-builder-plugin 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.
          New: 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.
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-28718 [ JENKINS-28718 ]
          Jesse Glick made changes -
          Link New: This issue is blocking JENKINS-30121 [ JENKINS-30121 ]
          Alvaro Lobato made changes -
          Assignee New: Alvaro Lobato [ alobato ]
          Alvaro Lobato made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          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.

          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.

          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?

          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?

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

              Created:
              Updated:
              Resolved: