Fix WS CLI Agent calls 09/61709/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 12 Sep 2019 18:22:42 +0000 (11:22 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Thu, 12 Sep 2019 18:31:43 +0000 (11:31 -0700)
Remove quotes from optional variable
WSS_UNIFIED_AGENT_OPTIONS which, if empty, will
cause WS Unified Agent CLI issues.
Upgrade WS Unified Agent CLI to latest version 19.8.1

Change-Id: I3d21bad21bceee0a0c626b145c1ca74e0cd21ddc
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
jjb/lf-whitesource-jobs.yaml
releasenotes/notes/update-ws-cli-agent-calls-540edfb9ec9afb9f.yaml [new file with mode: 0644]
shell/whitesource-unified-agent-cli.sh

index 1f267ff..418565d 100644 (file)
     submodule-timeout: 10
     submodule-disable: false
     wss-unified-agent-opts: ""
-    wss-unified-agent-version: 19.7.1
+    wss-unified-agent-version: 19.8.1
 
     gerrit_trigger_file_paths:
       - compare-type: ANT
diff --git a/releasenotes/notes/update-ws-cli-agent-calls-540edfb9ec9afb9f.yaml b/releasenotes/notes/update-ws-cli-agent-calls-540edfb9ec9afb9f.yaml
new file mode 100644 (file)
index 0000000..2e53f9a
--- /dev/null
@@ -0,0 +1,7 @@
+---
+fixes:
+  - |
+    Remove quotes from optional var WSS_UNIFIED_AGENT_OPTIONS.
+    When empty, the quotes will cause WS Unified Agent failures.
+  - |
+    Upgrade WS Unified Agent CLI to latest version 19.8.1
index ff6db6e..c2c8857 100644 (file)
@@ -23,5 +23,5 @@ wget -nv "${wss_unified_agent_url}" -O "${jar_location}"
 echo "---> Running WhiteSource Unified Agent CLI ..."
 java -jar "${jar_location}" -c wss-unified-agent.config \
     -product "${WSS_PRODUCT_NAME}" -project "${WSS_PROJECT_NAME}" \
-    -projectVersion "${GERRIT_BRANCH}" "${WSS_UNIFIED_AGENT_OPTIONS:-}"
+    -projectVersion "${GERRIT_BRANCH}" ${WSS_UNIFIED_AGENT_OPTIONS:-}
 rm "${jar_location}"