Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

unzip file on BitBucket Pipelines

Feldhacker June 1, 2018

I am trying to setup Cucumber (Ruby) with webdrivers, so I'm executing:

curl -O http://chromedriver.storage.googleapis.com/2.39/chromedriver_linux64.zip

...followed by:

unzip chromedriver_linux64.zip -d ./webdrivers

Unfortunately, this results in "bash: unzip: command not found".  So I tried adding "apt-get install unzip", but this results in  "E: Unable to locate package unzip".

What am I missing?

1 answer

1 accepted

0 votes
Answer accepted
Graham Gatus
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 24, 2018

@Feldhacker are you using a custom docker image in your pipeline? 

You may need to first run 'apt-get update' before running 'apt-get install unzip' to fetch the list of available packages first, before attempting to install 'unzip'.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events