Pipeline fails for Jekyll site cannot find bundle

mjakinowittering June 23, 2021

I've been running a Bitbucket Pipeline for over a year which has worked perfectly.

A few days ago it started failing. I've got a simple example below which doesn't work. The Jekyll image cannot find the bundle application. Which strange because this is a crucial tool for managing dependencies. Any help or advice to troubleshoot would be greatly appreciated.

pipelines:
default:
- step:
name: Testing
image: jekyll/jekyll:latest
script:
- bundle --version
- bundle install

The example will write out the following error messages!?!

bash: bundle: command not found 

 Many thanks!

1 answer

0 votes
mjakinowittering October 15, 2021

I solved this issue for myself. I found that I'd used one or more repository variables that caused a conflict. I added a prefix to each variable and this cleaned up the issues where I'd used $SERVER, $USERNAME and $PASSWORD.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events