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.
#!/bin/bash
name:password@bitbucket.org/path location/filename.git
Olivia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.