From d4c2fdafe000e196bd17f55c522ad4fe58b4c8a7 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Mon, 9 Apr 2018 16:22:44 +0200 Subject: [PATCH] ceph-container-flake8: Fixing tox.ini path tox.ini is located at the root of the project, so in $workspace/ceph-container --- ceph-container-flake8/build/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph-container-flake8/build/build b/ceph-container-flake8/build/build index 15532a25..758a7816 100755 --- a/ceph-container-flake8/build/build +++ b/ceph-container-flake8/build/build @@ -21,7 +21,7 @@ function check(){ while read -r filename; do pushd "$(dirname "$filename")" file=$(basename "$filename") - sudo docker run --rm -v "$(pwd)"/tox.ini:/tox.ini -v "$(pwd)"/"$file":/"$file" eeacms/flake8 /"$file" + sudo docker run --rm -v "$workspace"/ceph-container/tox.ini:/tox.ini -v "$(pwd)"/"$file":/"$file" eeacms/flake8 /"$file" popd done return $? -- 2.39.5