summaryrefslogtreecommitdiffstats
path: root/cm-container/findPlugins.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cm-container/findPlugins.sh')
-rwxr-xr-xcm-container/findPlugins.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/cm-container/findPlugins.sh b/cm-container/findPlugins.sh
index cd67844..6b0f180 100755
--- a/cm-container/findPlugins.sh
+++ b/cm-container/findPlugins.sh
@@ -1,6 +1,6 @@
#!/bin/bash
# ============LICENSE_START=======================================================
-# Copyright (c)2020 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2020-2021 AT&T Intellectual Property. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -33,7 +33,8 @@
shopt -s expand_aliases
alias cu='curl -Ss -H "Accept: application/json" -L -f'
-PLUGIN_ROOT=${1:-"https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/R9/"}
+RELEASE_TAG=${MVN_RELEASE_TAG:-R10}
+PLUGIN_ROOT=${1:-"https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.plugins/${RELEASE_TAG}/"}
function getPlugins() {
local root=$1