Hello @chatli vlogs,
Welcome to Atlassian Community!
You can use a shell wrapper such as the one below to achieve multiple commands. Your container needs to have a valid shell that supports it. For example, with bash:
/bin/bash -c "command1 && command2"
Cheers,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
If you see my screenshot i can able to pass only one command how to add multiple commands in this how can i add a script to this by passing commands
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @chatli vlogs
Instead of:
ls -ltr
Replace it with:
bash -c "ls -ltr && command2"
And you should be good.
Kind regards,
Eduardo Alvarenga
Atlassian Support APAC
--please don't forget to Accept the answer if the reply is helpful--
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thankyou it is working for me and one more query, iam having inline script that i need to run in docker container, once docker runner configure and executed i need to run this script please suggest on this as well
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.