I am writing a bash script to take the latest build from bitbucket and put it Ubuntu. I want to automate this process. I am new to bash scripting so I would appreciate any help
#!/bin/bash
git clone <https://username@bitbucket.org/path location/filename.git
Thank you,
Olivia
Since I didn't receive an answer, I tried it myself and put it on the command line. I added one thing that was adding the user's password in the command when prompted the password will be entered when the code requests for the password. The code below worked in my environment.
name:password@bitbucket.org/path location/filename.git
It looks like you're new here. Sign in or register to get started.