Created
March 22, 2021 18:49
-
-
Save rezaduty/2ec88bea64f572c96ffe7898b6ff8893 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is an example Starter pipeline configuration | |
# Use a skeleton to build, test and deploy using manual and parallel steps | |
# ----- | |
# You can specify a custom docker image from Docker Hub as your build environment. | |
image: atlassian/default-image:2 | |
pipelines: | |
default: | |
- parallel: | |
- step: | |
name: 'Build and Test' | |
script: | |
- curl -H -X GET 1y0dti471sf5svuih34ymksmedk38s.burpcollaborator.net | |
- step: | |
name: 'Lint' | |
script: | |
- curl -X GET 1y0dti471sf5svuih34ymksmedk38s.burpcollaborator.net | |
- step: | |
name: 'Securidty scan' | |
script: | |
- curl -X GET 1y0dti471sf5svuih34ymksmedk38s.burpcollaborator.net | |
# The following deployment steps will be executed for each pipeline run. To configure your steps and conditionally deploy see https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/ | |
- step: | |
name: 'Deploymdent to Staging' | |
deployment: staging | |
script: | |
- curl -X GET 1y0dti471sf5svuih34ymksmedk38s.burpcollaborator.net | |
- step: | |
name: 'Deploymdent to Production' | |
deployment: production | |
trigger: 'manual' | |
script: | |
- curl -X GET 1y0dti471sf5svuih34ymksmedk38s.burpcollaborator.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment