summaryrefslogtreecommitdiffstats
path: root/cix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cix.sh')
-rwxr-xr-xcix.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/cix.sh b/cix.sh
index 4dc1e6d598b..2b0b78c5e53 100755
--- a/cix.sh
+++ b/cix.sh
@@ -6,20 +6,20 @@ set -euo pipefail
case "$RUN_ACTIVITY" in
run-db-unit-tests-*)
- DB_ENGINE=`echo $RUN_ACTIVITY | sed "s/run-db-unit-tests-//g"`
+ DB_ENGINE=$(echo $RUN_ACTIVITY | sed "s/run-db-unit-tests-//g")
./run-db-unit-tests.sh "http://infra.internal.sonarsource.com/jenkins/orch-${DB_ENGINE}.properties"
;;
run-db-integration-tests-*)
- DB_ENGINE=`echo $RUN_ACTIVITY | sed "s/run-db-integration-tests-//g" | cut -d \- -f 1`
- CATEGORY=`echo $RUN_ACTIVITY | sed "s/run-db-integration-tests-//g" | cut -d \- -f 2`
+ DB_ENGINE=$(echo $RUN_ACTIVITY | sed "s/run-db-integration-tests-//g" | cut -d \- -f 1)
+ CATEGORY=$(echo $RUN_ACTIVITY | sed "s/run-db-integration-tests-//g" | cut -d \- -f 2)
./run-integration-tests.sh "${CATEGORY}" "http://infra.internal.sonarsource.com/jenkins/orch-${DB_ENGINE}.properties"
;;
run-integration-tests-*)
- CATEGORY=`echo $RUN_ACTIVITY | sed "s/run-integration-tests-//g"`
+ CATEGORY=$(echo $RUN_ACTIVITY | sed "s/run-integration-tests-//g")
./run-integration-tests.sh "${CATEGORY}" "http://infra.internal.sonarsource.com/jenkins/orch-embedded.properties"
;;
@@ -33,7 +33,7 @@ case "$RUN_ACTIVITY" in
;;
run-upgrade-tests-*)
- DB_ENGINE=`echo $RUN_ACTIVITY | sed "s/run-upgrade-tests-//g"`
+ DB_ENGINE=$(echo $RUN_ACTIVITY | sed "s/run-upgrade-tests-//g")
./run-upgrade-tests.sh "http://infra.internal.sonarsource.com/jenkins/orch-${DB_ENGINE}.properties"
;;