aboutsummaryrefslogtreecommitdiffstats
path: root/plans/policy/pap/setup.sh
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2020-05-05 19:33:21 +0000
committerTaka Cho <takamune.cho@att.com>2020-05-05 16:50:20 -0400
commit33b1b899b2f4d1c563eb601ea02c10543542d9dd (patch)
tree47d54e20e4d18cdf41573fe241470161dca131a8 /plans/policy/pap/setup.sh
parentddb4043076dfb2b275e7b2ff040d61d9c7cee890 (diff)
change to tty for docker exec
there is no TTY device for Jenkins Job change to tty option for docker exec instead Issue-ID: POLICY-2541 Change-Id: I4b33332e53ff2119e3e2846d96c8b3309a0420d4 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'plans/policy/pap/setup.sh')
-rw-r--r--plans/policy/pap/setup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plans/policy/pap/setup.sh b/plans/policy/pap/setup.sh
index a5350b2d..5b060497 100644
--- a/plans/policy/pap/setup.sh
+++ b/plans/policy/pap/setup.sh
@@ -40,8 +40,8 @@ echo ${POLICY_PAP_VERSION}
docker-compose -f ${WORKSPACE}/scripts/policy/docker-compose-pap.yml run --rm start_dependencies
#Configure the database
-docker exec -it mariadb chmod +x /docker-entrypoint-initdb.d/db.sh
-docker exec -it mariadb /docker-entrypoint-initdb.d/db.sh
+docker exec --tty mariadb chmod +x /docker-entrypoint-initdb.d/db.sh
+docker exec --tty mariadb /docker-entrypoint-initdb.d/db.sh
# now bring everything else up
docker-compose -f ${WORKSPACE}/scripts/policy/docker-compose-pap.yml run --rm start_all