Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

I don't my pipeline run automitically when i push any changes in my project . How can i handle that

yosser.mahfoudh September 29, 2020

I don't my pipeline run automitically when i push any changes in my project . How can i handle that ?

1 answer

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 29, 2020

Hi @yosser.mahfoudh ,

to run automatically pipeline  setup steps in the default section of the pipeline.

pipelines:
  default:
    - step:
        name: Build and test
        script:
         
- echo 'Hello pipes!'

More details provided in the Configure bitbucket-pipelines.yml guide.

yosser.mahfoudh September 29, 2020

i'dont want my pipeline run auto when i push some changes to my remote repository . 

Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 29, 2020

@yosser.mahfoudh 

if you don't want to run your pipeline automatically you could setup custom instead:

custom - Defines pipelines that can only be triggered manually or scheduled from the Bitbucket Cloud interface.

pipelines:
  custom: # Pipelines that are triggered manually
    sonar: # The name that is displayed in the list in the Bitbucket Cloud GUI
      - step:
          script:
            - echo "Manual triggers for Sonar are awesome!"
    deployment-to-prod: # Another display name
      - step:
          script:
            - echo "Manual triggers for deployments are awesome!"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events