
On Thu, Oct 15, 2020 at 04:55:42PM +0800, Xiao Shenwei wrote:
when run job, the PATH=$PATH:$LKP_SRC/bin exclude $CCI_SRC/sbin,
when run multi-docker job, the docker-pull command can't be use
Signed-off-by: Xiao Shenwei <xiaoshenwei96@163.com> --- daemon/multi-docker | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/daemon/multi-docker b/daemon/multi-docker index b47c23e2..bd79595e 100755 --- a/daemon/multi-docker +++ b/daemon/multi-docker @@ -8,6 +8,8 @@ multi_docker() { export CCI_SRC=/c/compass-ci + export PATH="$PATH:$CCI_SRC/sbin"
1. If we need to use the file under $CCI_SRC/sbin, we'd better put this dir at the beginning of $PATH. Otherwise it might get covered. So maybe you can modify as follow: export PATH="$CCI_SRC/sbin:$PATH" 2. add the {} of var may avoid some distortions. export PATH="${CCI_SRC}/sbin:$PATH" -------- Thanks Yu Chuan
+ local hostname=$tbox_group--$HOSTNAME $CCI_SRC/providers/multi-docker -n $hostname -c $nr_container } -- 2.23.0