I have a repository that contains the source code for a library that we use in multiple applications. I have a pipeline configured to build that library whenever a commit is made to that library. Since multiple applications, which happen to reside in different repositories, depend on this library, I would like to automatically launch a build for those repositories. How would I accomplish this?
Thanks for that link. I did follow that example, however, the build fails with the following error:
✖ Validation errors:
I have defined BITBUCKET_APP_PASSWORD as indicated below:
App passwords allow two-step verification users to access their Bitbucket account through apps such as Sourcetree. We'll generate the app passwords for you, and you won't need to remember them.
Create app password
Label Created Last accessedActions
BITBUCKET_APP_PASSWORD 5 days ago Revoke
You need to inject the app password into the pipeline and replace the placeholder with the value.
For that you can use a variable (https://confluence.atlassian.com/bitbucket/variables-in-pipelines-794502608.html) Make sure to use a secured variable.