Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Not seeing logs when running a pipeline via local runner

I am using a Bitbucket pipeline that runs on a local runner instance. Regardless if the pipeline succeeds or fails I do not see logs from the runner on the Bitbucket Pipelines interface. Looking on the host where the local runner is hosted I see via "docker logs -f build" that log entries are getting generated. I would expect that these log entries are made available on the Bitbucket UI side. 

The attached screenshot shows what I am seeing.


Screenshot 2021-06-06 at 18-05-55 isotonteam isoton-api Pipelines — Bitbucket.png


My "bitbucket-pipelines.yml" file:

name: Ansible deployment
runs-on: chef
image: tvarga/ansible:2
ansible-playbook -i runner hello_world.yml
sleep 15

"docker logs -f build" displays the following - which I would expect to the see in the above screenshot.


+ id
uid=0(root) gid=0(root) groups=0(root)
+ ansible-playbook -i runner hello_world.yml
PLAY [This is a hello-world example] *******************************************
TASK [Gathering Facts] *********************************************************
ok: [test-host]
TASK [Create a file called '/tmp/testfile.txt' with the content 'hello world'.] ***
changed: [test-host]
PLAY RECAP *********************************************************************
test-host : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
+ sleep 15

1 answer

Any updates on this?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

168 views 2 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you