Fix nexus-iq-scan-patterns should be obj class 77/12077/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 1 Aug 2018 23:37:50 +0000 (19:37 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 1 Aug 2018 23:38:37 +0000 (19:38 -0400)
Since we are passing a list we need to set the scan patterns
variable as {obj:var}.

Change-Id: I13c4cf4d77f8aee0652962731a5bd7fb901a3d46
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/lf-maven-jobs.yaml

index c433137..ce03f0c 100644 (file)
     stream: master
     submodule-recursive: true
 
-    nexus-iq-scan-patterns:
+    nexus_iq_scan_patterns:
       - '**/*.ear'
       - '**/*.jar'
       - '**/*.tar.gz'
           stage: '{nexus-iq-stage}'
           application-type: 'manual'
           application-id: '{project-name}'
-          scan-patterns: '{nexus-iq-scan-patterns}'
+          scan-patterns: '{obj:nexus_iq_scan_patterns}'
           fail-build-network-error: true
 
 - job-template: