Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Load custom script from remote repo with in pipelines(wget not found)

ap_mobileup
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 27, 2018

Hi. We have a script which is located on our server. It runs all the build process for android:

- wget -O build.sh https://ci.example.com/ci/build_android.sh

I want to run this command in my bitbucket-pipelines.yml file.

But it says that wget command is not found. Any suggestions how can I load this script?

1 answer

1 accepted

1 vote
Answer accepted
Philip Hodder
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 1, 2018

Hi Alexey,

You can install the 'wget' command into your build environment with the following commands:

- apt-get update -y
- apt-get install -y wget
- wget -O build.sh https://ci.example.com/ci/build_android.sh

Thanks,

Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events