Is it possible to include git commands in pipeline.yaml?

Hi team,

I have a process where a json file gets updated after triggering a build. That file needs to be committed then create a PR to the master branch located in Bitbucket. Is it possible to do this via scripts or directly on the yaml file?

I found this plugin but seems very minimal with the commands:

Hey @ebanster!

This would be possible, yes; the agent AMI has git installed on it, so in theory it can run any git commands that you need it to.

There is another plugin which can open up Pull Requests which may be of use. Does this JSON file change in the build, then you want to commit it back to origin as a PR?

Thanks mate. We were able to figure it out by just using the git commands via the agent AMI.