• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • maven-plugin
    • Jenkins v2.18, Windows 7, Google Chrome, jdk-1.8

      I was able to build the code through command line and Anypoint Studio, although through Jenkins, I am facing a build issue.

      My child project has two parent projects which are specified in th pom inside dependency tags as such
      <dependency>
      <groupId>com.mycompany</groupId>
      <artifactId>parent1</artifactId>
      <version>${parent1.version}</version>
      </dependency>
      <dependency>
      <groupId>com.mycompany</groupId>
      <artifactId>parent2</artifactId>
      <version>${parent2.version}</version>
      </dependency>
      <dependency>

      If I run the child project with -DskipTests it builds fine in Jenkins.

      MUnit is unable to load parameters from the property file of parent projects, resulting in build failure in Jenkins. The property files are imported through 2 different mule projects, packaging of these parent projects is 'jar' and that of child is 'mule' inside their respective pom's.

      The application builds successfully in Studio and command line along with MUnit.

      The following command is used.

      clean install -Denv=dev

      Please find attached zip of the project and screenshot of error in jenkins.

          [JENKINS-41363] Mule Project Build Failure

          Daniel Beck added a comment -

          This is a bug tracker, not a support site.

          If this is meant to be a bug report, it needs to be more straightforward. Nobody is going to waste an hour trying to reproduce the problem (which you don't explain well at all).

          Daniel Beck added a comment - This is a bug tracker, not a support site. If this is meant to be a bug report, it needs to be more straightforward. Nobody is going to waste an hour trying to reproduce the problem (which you don't explain well at all).

          Tanya Dsouza added a comment -

          Hello Daniel,

          I did search for support site for Jenkins related issues, and I could only come across JIRA, hence reported the issue here.

          If there is any particular Jenkins related support site, request you to kindly provide the same.

          Just to make it short, Jenkins fails to pick up property files in MUnit when building through Maven. The application builds successfully across other environments viz. MuleSoft's Anypoint Studio, MuleSoft's Cloudhub and Command Line.

          Tanya Dsouza added a comment - Hello Daniel, I did search for support site for Jenkins related issues, and I could only come across JIRA, hence reported the issue here. If there is any particular Jenkins related support site, request you to kindly provide the same. Just to make it short, Jenkins fails to pick up property files in MUnit when building through Maven. The application builds successfully across other environments viz. MuleSoft's Anypoint Studio, MuleSoft's Cloudhub and Command Line.

          Daniel Beck added a comment -

          First google hit when searching for that: https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue

          Note the giant yellow message on top.

          Daniel Beck added a comment - First google hit when searching for that : https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue Note the giant yellow message on top.

            Unassigned Unassigned
            tadsouza Tanya Dsouza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: