I create bitbucket pipelines for ssh to my server and run sh script that use `gcloud` command but I got message: `/home/...../deploy-script.sh: line 7: gcloud: command not found` In my server I ins...
Hi, We've recently run into an issue using https://bitbucket.org/atlassian/ssh-run/src/master/. The message we receive is Unable to find image 'bitbucketpipelines/ssh-run:0.4.1' locally...
Hi, I am running a .sh script inside atlassian/ssh-run:0.4.1 runner framework. In that script I would like to define local variables and/or export them, to be used later in the same script. However,...
Hello, I can not cache ssh-run, what do I do wrong? Thanks ! image: mcr.microsoft.com/dotnet/sdk:6.0 pipelines: branches: master: . . . &n...
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: ...s...
Deployment script: echo -e $PWD cd path/to/directory echo -e $PWD git fetch origin git reset HEAD origin/master git pull origin master I have created a pipeline which makes...
Hi! I don't know how to stop the container that is already running through the pipe. I try it this way: docker stop $(docker ps -a -q --filter name=front* --format=...
I want to restart my Spring Boot service, by executing the .jar file I upload with pipeline. The code below successfully starts the service, but the pipeline doesn't end because it runs on foregroun...
I want to use ssh-run to restart my Spring project in remote server. My project is built into a .jar file and is uploaded to the server. - pipe: atlassian/ssh-run:0.2.6 variables: ...
Hi we have a pipeline which is based on two steps: 1st. Rsync repo to server 2nd. Run ssh-run and execute 3 simple commands on server. This is how its look: ## Bui...
Hi everyone. I'm trying to run a batch file (.bat) on a windows server from the bitbucket pipeline by using ssh-run pipe. ... - pipe: atlassian/ssh-run:0.2.5 variables: ...
I'm using ssh-run pipe to run a few scripts on my server. Changing directories and running npm works fine, but the composer command doesn't work. Any idea why this would happen? - pipe: atlass...
We are using the following pipe - pipe: atlassian/ssh-run:0.2.2 variables: SSH_USER: $DEPLOYMENT_USER SERVER: $DEPLOYMENT_SERVER MODE: script COMMAND: "scripts/deploy.sh $BITB...
Can you advise me how to insert a bitbucket variables into the script I have locally and run it via atlassian / ssh-run in pipelines? In this .contrib file I want use bitbucket variables, but ...
Hi there, Please, help, I can’t get working atlassian/ssh-run:0.2.2 step in deployment pipeline. SSH Always fails with "Execution failed" whatever command I provide. This is not authentication is...
Copied to clipboard