diff options
author | guillaume.lambert <guillaume.lambert@orange.com> | 2022-05-28 21:12:47 +0200 |
---|---|---|
committer | Fiachra Corcoran <fiachra.corcoran@est.tech> | 2022-07-06 16:00:31 +0000 |
commit | ab71c57205ef0c84050ea1b8f08e46213db470c2 (patch) | |
tree | 850f96522cbd1eacb2b0718988b46425d0faf373 /kubernetes/robot/ete-k8s.sh | |
parent | b4a66f9df15d8b10a31cf531ea6e8bf0bf1dd37a (diff) |
[COMMON] Replace kubectl calls to bash by sh
TODO: add a proper detection in CI scripts
Issue-ID: OOM-2643
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Iad9bc6d5f4dcca89ce225e5ce8ac1a421b364427
Diffstat (limited to 'kubernetes/robot/ete-k8s.sh')
-rwxr-xr-x | kubernetes/robot/ete-k8s.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/robot/ete-k8s.sh b/kubernetes/robot/ete-k8s.sh index 4ef8f462f0..82bf836ade 100755 --- a/kubernetes/robot/ete-k8s.sh +++ b/kubernetes/robot/ete-k8s.sh @@ -82,7 +82,7 @@ if [ "${!#}" = "execscript" ]; then done fi -export GLOBAL_BUILD_NUMBER=$(kubectl --namespace $NAMESPACE exec ${POD} -- bash -c "ls -1q /share/logs/ | wc -l") +export GLOBAL_BUILD_NUMBER=$(kubectl --namespace $NAMESPACE exec ${POD} -- sh -c "ls -1q /share/logs/ | wc -l") OUTPUT_FOLDER=$(printf %04d $GLOBAL_BUILD_NUMBER)_ete_$2 DISPLAY_NUM=$(($GLOBAL_BUILD_NUMBER + 90)) |