The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Run a docker image and pass it the code diff

ivan
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!
August 22, 2025

Hi!

I'm new to Bitbucket Pipelines and not sure how to go about this use case.

When a new PR is opened I want to trigger my pipeline. The one task I need my pipeline to do is run my docker image and pass it (maybe as an env var) the PR's code diff.

I should mention I want to do this in a Bitbucket Data Center installed on premises just in case this might need some extra consideration.

Any advise and useful link is welcome.

Thanks,

Ivan 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events