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

Maven post-build task breaks when using Maven 3.3 on Windows

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When using Maven 3.3 on a Windows Jenkins instance, builds fail on post-build tasks that depend on Maven, for example the Sonar plugin. In the console output you would see: "Couldn’t find any executable in [maven path]".

      The reason for this is that Maven 3.3 now ships '.cmd' files instead of '.bat' files, and Jenkins checks specifically for the presence of '.bat'.

        Attachments

          Issue Links

            Activity

            Hide
            martijnb Martijn Baay added a comment -

            This fix has already been pulled in by Olivier Lamy in pull request https://github.com/jenkinsci/jenkins/pull/1683. Creating an issue for administrative purposes

            Show
            martijnb Martijn Baay added a comment - This fix has already been pulled in by Olivier Lamy in pull request https://github.com/jenkinsci/jenkins/pull/1683 . Creating an issue for administrative purposes

              People

              Assignee:
              olamy Olivier Lamy
              Reporter:
              martijnb Martijn Baay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: