You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
How can i pass some flags to a script using script mode with ssh-run?
- step:
name: test script
script:
- pipe: atlassian/ssh-run:0.4.0
variables:
SSH_USER: ...some_users...
SERVER: ...some_ip...
MODE: 'script'
COMMAND: 'test.sh'
Hi @Emptyfruit
Thank you for contacting Atlassian Community. My name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet you!
I'd like to inform you that unfortunately it's not possible to pass flags to a script, once you run it in a script mode. In case you wish to run a script and passing a flag, I'd like to recommend you to copy the script to the server and switch to "command" mode instead of "script"
Please let us know if you have any further question?
Best Regards,
Norbert
Atlassian Bitbucket Cloud Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.