Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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:

pipelines: 
branches:
tvarga-runner:
-
step:
name: Ansible deployment
runs-on: chef
image: tvarga/ansible:2
script:
-
id
-
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

0 answers

Suggest an answer

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

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

2,406 views 51 18
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