Fix project to trigger for portal/sdk 25/17125/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 3 Oct 2017 21:18:27 +0000 (14:18 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 3 Oct 2017 21:18:27 +0000 (14:18 -0700)
Global jjb does not support too many levels of variables for
which we were getting an erroneus tirgger project translated.
Adding a separate variable for this purpose for now.

Change-Id: I56a92bb7da89256962fc2a63989b8f4bf4a1ba54
Issue-ID: CIMAN-97
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
jjb/portal/portal-sdk.yaml

index 167d762..6330441 100644 (file)
@@ -6,6 +6,7 @@
       - 'ecomp-sdk':
           pom: 'ecomp-sdk/pom.xml'
           pattern: 'ecomp-sdk/**'
+    subproject-name: 'ecomp-sdk'
 
     jobs:
       - '{project-name}-{stream}-{subproject}-verify-java'
@@ -14,7 +15,7 @@
       - '{project-name}-{stream}-stage-site-java':
           pom: 'ecomp-sdk/pom.xml'
           site-pom: 'ecomp-sdk/pom.xml'
-          trigger-job: '{project-name}-{stream}-{subproject}-release-java-daily'
+          trigger-job: '{project-name}-{stream}-{subproject-name}-release-java-daily'
 
     project: 'portal/sdk'
     stream: