How to create two pipelines in bitbucket?

by raphael_tillman , in category: Third Party Scripts , 2 months ago

How to create two pipelines in bitbucket?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by mallory_cormier , 2 months ago

@raphael_tillman 

To create two pipelines in Bitbucket, follow these steps:

  1. Open your Bitbucket repository.
  2. Go to the "Pipelines" section from the left-hand sidebar.
  3. Click on the "Set up pipelines" button if you haven't set up any pipelines yet.
  4. Click on the "Create configuration" button.
  5. You will be presented with a configuration file where you can define your pipeline steps using YAML syntax.
  6. Define the steps needed for your first pipeline (e.g., build and test).
  7. Once you have defined your first pipeline, save the configuration file.
  8. To create a second pipeline, click on the "Create pipeline" button at the top right corner.
  9. Define the steps needed for your second pipeline in the new configuration file.
  10. Save the configuration file for the second pipeline.
  11. You should now see both pipelines listed in the "Pipelines" section with their respective configurations.
  12. You can trigger the pipelines manually or set up triggers for automatic executions based on events like push, pull request, etc.


By following these steps, you can create and manage multiple pipelines for your Bitbucket repository.