How can I provide a default pipeline variable (BITBUCKET_BRANCH for e.x.) to my remote host on Ubuntu via SSH? I mean something like: ssh $user@$address "bash /var/www/pull.sh $BITBUCKET_BRANCH"
In such a case $BITBUCKET_BRANCH is always empty on bash executing
So I found out a great image from atlassian atlassian/ssh-run:0.4.1 and now it works
I just passed ENV_VARS: "BITBUCKET_BRANCH=$BITBUCKET_BRANCH" into variables
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.