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

Build file is not created as finalName

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      centos
    • Similar Issues:

      Description

      The maven pom.xml setting is as follows.

      <project>

       <artifactId>test-api</artifactId>

      <properties>
          <finalName>${project.artifactId}-${git.branch}-${git.commit.id.abbrev}</finalName>
      </properties>

      </project>

       

      The file should be created as follows.

      ex) test-api-develop-2e14ddc.war 

       

      However, on the jenkins server it would be a folder like this: 

      ex) target/test-api-origin/develop-2e14ddc.war 

       

      System information is as follows.

      -jenkins 2.245

      -Maven Integration plugin 3.7 

       

        Attachments

          Activity

          jason88 son jeongae created issue -
          jason88 son jeongae made changes -
          Field Original Value New Value
          Description The maven pom.xml setting is as follows.

          <properties>
              <finalName>${project.artifactId}-${git.branch}-${git.commit.id.abbrev}</finalName>
          </properties>

           

          The file should be created as follows.

          ex) test-api-develop-2e14ddc.war 

           

           

          However, on the jenkins server it would be a folder like this: 

          ex) target/test-api-origin/develop-2e14ddc.war 

           

          System information is as follows.

          -jenkins 2.245

          -Maven Integration plugin 3.7 

           
          The maven pom.xml setting is as follows.

          <properties>
               <finalName>${project.artifactId}--${git.branch}--${git.commit.id.abbrev}</finalName>
           </properties>

           

          The file should be created as follows.

          ex) test-api-develop-2e14ddc.war 

           

           

          However, on the jenkins server it would be a folder like this: 

          ex) target/test-api-origin/develop-2e14ddc.war 

           

          System information is as follows.

          -jenkins 2.245

          -Maven Integration plugin 3.7 

           
          jason88 son jeongae made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          jason88 son jeongae made changes -
          Description The maven pom.xml setting is as follows.

          <properties>
               <finalName>${project.artifactId}--${git.branch}--${git.commit.id.abbrev}</finalName>
           </properties>

           

          The file should be created as follows.

          ex) test-api-develop-2e14ddc.war 

           

           

          However, on the jenkins server it would be a folder like this: 

          ex) target/test-api-origin/develop-2e14ddc.war 

           

          System information is as follows.

          -jenkins 2.245

          -Maven Integration plugin 3.7 

           
          The maven pom.xml setting is as follows.

          <project>

           <artifactId>test-api</artifactId>

          <properties>
               <finalName>${project.artifactId}--${git.branch}--${git.commit.id.abbrev}</finalName>
           </properties>

          </project>

           

          The file should be created as follows.

          ex) test-api-develop-2e14ddc.war 

           

           

          However, on the jenkins server it would be a folder like this: 

          ex) target/test-api-origin/develop-2e14ddc.war 

           

          System information is as follows.

          -jenkins 2.245

          -Maven Integration plugin 3.7 

           
          jason88 son jeongae made changes -
          Description The maven pom.xml setting is as follows.

          <project>

           <artifactId>test-api</artifactId>

          <properties>
               <finalName>${project.artifactId}--${git.branch}--${git.commit.id.abbrev}</finalName>
           </properties>

          </project>

           

          The file should be created as follows.

          ex) test-api-develop-2e14ddc.war 

           

           

          However, on the jenkins server it would be a folder like this: 

          ex) target/test-api-origin/develop-2e14ddc.war 

           

          System information is as follows.

          -jenkins 2.245

          -Maven Integration plugin 3.7 

           
          The maven pom.xml setting is as follows.

          <project>

           <artifactId>test-api</artifactId>

          <properties>
               <finalName>${project.artifactId}--${git.branch}--${git.commit.id.abbrev}</finalName>
           </properties>

          </project>

           

          The file should be created as follows.

          ex) test-api-develop-2e14ddc.war 

           

          However, on the jenkins server it would be a folder like this: 

          ex) target/test-api-origin/develop-2e14ddc.war 

           

          System information is as follows.

          -jenkins 2.245

          -Maven Integration plugin 3.7 

           

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jason88 son jeongae
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: