diff options
author | Taka Cho <takamune.cho@att.com> | 2020-05-05 19:33:21 +0000 |
---|---|---|
committer | Taka Cho <takamune.cho@att.com> | 2020-05-05 16:50:20 -0400 |
commit | 33b1b899b2f4d1c563eb601ea02c10543542d9dd (patch) | |
tree | 47d54e20e4d18cdf41573fe241470161dca131a8 /plans/policy/api | |
parent | ddb4043076dfb2b275e7b2ff040d61d9c7cee890 (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/api')
-rw-r--r-- | plans/policy/api/setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plans/policy/api/setup.sh b/plans/policy/api/setup.sh index 8bd4b4af..466435d3 100644 --- a/plans/policy/api/setup.sh +++ b/plans/policy/api/setup.sh @@ -38,8 +38,8 @@ echo ${POLICY_API_VERSION} docker-compose -f ${WORKSPACE}/scripts/policy/docker-compose-api.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-api.yml run --rm start_all |