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

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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • Windows

      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'.

          [JENKINS-28232] Maven post-build task breaks when using Maven 3.3 on Windows

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

              Created:
              Updated:
              Resolved: