Interactive input passing to the bamboo docker

chatli vlogs July 6, 2023

Re-format filesystem in Storage Directory /data/dfs/nn ? (Y or N) Invalid input

in this above how to pass Y as input in the bamboo docker please suggest me on this

1 answer

1 vote
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 9, 2023

Hello @chatli vlogs

To automate interactive commands, you may wish to use a tool such as Expect in your builds. Expect will consider an input text and take action based on it.

Google may be your friend here. I'd recommend you check this page for some good examples. https://phoenixnap.com/kb/linux-expect

Sincerely,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events