Fix TCA release job 73/18373/2
authorNekrassov, Alexei (an4828) <nekrassov@att.com>
Wed, 11 Oct 2017 21:22:00 +0000 (17:22 -0400)
committerNekrassov, Alexei (an4828) <nekrassov@att.com>
Wed, 11 Oct 2017 23:50:13 +0000 (19:50 -0400)
Daily release build only deposits SNAPSHOT artifacts for TCA.
Lusheng investigated and found that TCA jjb is not calling the standard
java daily release job template.  Instead it uses a template without
setting the release versions, and tries to set the release version by
itself.  However that is not done correctly.  So in TCA daily release
build the release version is not set correctly, and as a result no
release artifact is built, only the SNAPSHOT versioning.

To fix this, we change to use
'{project-name}-{stream}-release-version-java-daily' job.

Change-Id: I59c4962073108a43b0755049058f04b106ca5e6e
Signed-off-by: Nekrassov, Alexei (an4828) <nekrassov@att.com>
Issue-ID: DCAEGEN2-123
Signed-off-by: Nekrassov, Alexei (an4828) <nekrassov@att.com>
jjb/dcaegen2/apod-analytics.yaml

index 33f216b..b7609bd 100644 (file)
     project: 'dcaegen2/analytics/tca'\r
     mvn-settings: 'dcaegen2-analytics-tca-settings'\r
     files: '**'\r
+    maven-deploy-properties: |\r
+      deployAtEnd=true\r
     archive-artifacts: ''\r
     build-node: ubuntu1604-basebuild-4c-4g\r
 \r
     jobs:\r
-      - '{project-name}-{stream}-release-java-daily':\r
-          mvn-goals-versioning:\r
-            'versions:set versions:update-child-modules versions:commit'\r
-          mvn-goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}}'\r
-          maven-deploy-properties: |\r
-              deployAtEnd=true\r
-      - '{project-name}-{stream}-stage-site-java':\r
-          site-pom: 'pom.xml'\r
-          trigger-job: '{project-name}-{stream}-release-java-daily'\r
+      - '{project-name}-{stream}-release-version-java-daily'\r
       - '{project-name}-{stream}-verify-java-skip-tests':\r
           mvn-goals: 'clean install'\r
       - '{project-name}-{stream}-merge-java':\r