Uploaded image for project: 'Talend Unified Platform'
  1. Talend Unified Platform
  2. TUP-20977

CI: Assembly.xml for a specific job cannot be generate in reference project

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Status: closed
    • Major
    • Resolution: Fixed
    • None
    • 7.1.1
    • Studio
    • None
    • Hide

      Repro:
      1. Import attached testjob.zip to reference project;
      2. Checkout mainproject and reference project;
      3. Create CI job, using pom.xml in mainproject;
      4. Run the job;

      Actual:
      Error shows;

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (default) on project testcase: Error reading assemblies: Error locating assembly descriptor: D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1/src/main/assemblies/assembly.xml
      [ERROR] 
      [ERROR] [1] [INFO] Searching for file location: D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1\D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1\src\main\assemblies\assembly.xml
      [ERROR] 
      [ERROR] [2] [INFO] File: D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1\D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1\src\main\assemblies\assembly.xml does not exist.
      [ERROR] 
      [ERROR] [3] [INFO] File: D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1\src\main\assemblies\assembly.xml does not exist.
      [ERROR] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [JENKINS] Archiving D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNR\poms\code\routines\pom.xml to org.example.testsvnr.code/routines/7.1.1/routines-7.1.1.pom
      [JENKINS] Archiving D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNR\poms\code\routines\target\routines-7.1.1.jar to org.example.testsvnr.code/routines/7.1.1/routines-7.1.1.jar
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :testcase
      

      Expect:
      No error

      Show
      Repro: 1. Import attached testjob.zip to reference project; 2. Checkout mainproject and reference project; 3. Create CI job, using pom.xml in mainproject; 4. Run the job; Actual: Error shows; [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single ( default ) on project testcase: Error reading assemblies: Error locating assembly descriptor: D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1/src/main/assemblies/assembly.xml [ERROR] [ERROR] [1] [INFO] Searching for file location: D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1\D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1\src\main\assemblies\assembly.xml [ERROR] [ERROR] [2] [INFO] File: D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1\D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1\src\main\assemblies\assembly.xml does not exist. [ERROR] [ERROR] [3] [INFO] File: D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNRR\poms\jobs\process\testcase_0.1\src\main\assemblies\assembly.xml does not exist. [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch . [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [JENKINS] Archiving D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNR\poms\code\routines\pom.xml to org.example.testsvnr.code/routines/7.1.1/routines-7.1.1.pom [JENKINS] Archiving D:\Build\Talend-Studio-20181016_1933-V7.1.1SNAPSHOT\commandline-workspace\TESTSVNR\poms\code\routines\target\routines-7.1.1.jar to org.example.testsvnr.code/routines/7.1.1/routines-7.1.1.jar [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http: //cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :testcase Expect: No error
    • All
    • 20181016_1933-V7.1.1SNAPSHOT
    • 7.1.1-Sprint_9 UP
    • Small

    Attachments

      Activity

        People

          nrousseau Nicolas Rousseau
          Shuzhen Shuzhen Qiu
          Zhiwei Xue
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved:

            Time Tracking

              Estimated:
              Original Estimate - 4 hours
              4h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 4 hours
              4h