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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,948
Community Members
 
Community Events
184
Community Groups

I have a pipeline that i want all the branches steps run in a manual mode

definitions:
services:
# Define the default Docker service with 2 GB memory limit
docker:
memory: 1024
# Define the Docker service which requires 6 GB memory
docker-7g:
# You will have to define the service type if it is docker
type: docker
memory: 7168
pipelines:
custom:
sandbox:
- step:
name: Push
image: atlassian/pipelines-awscli
# Pass the Docker service with 7 GB
services:
- docker-7g
oidc: true
# Raise the Step limit from 4 GB to 8 GB.
size: 2x
script:
.
.
.
- step:
name: deploy
image: atlassian/pipelines-awscli
services:
- docker
oidc: true
script:
.
.
.
services:
- docker
>>>>>(I want from here that starts the branches mode to be manual)    <<<<<
branches:
staging:
- step:
deployment: staging
name: Push
image: atlassian/pipelines-awscli
# Pass the Docker service with 7 GB
services:
- docker-7g
oidc: true
# Raise the Step limit from 4 GB to 8 GB.
size: 2x
script:
.
.
.
.
- step:
name: deploy
image: atlassian/pipelines-awscli
services:
- docker
oidc: true
script:
.
.
.
services:
- docker

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 14, 2022

Hello @Joao Moyses Moura Alves ,

Thank you for reaching out to Atlassian Community!

If you want all the steps of your branch pipelines to be fully manual, my suggestion would be that you create them as custom pipelines, instead of branches. With custom pipelines, you can manually trigger them from the Pipelines page, and select from which branch you want them to run against. You can even give each custom pipelines the same name of the branch they are supposed to run, so it makes it easier from you to pick the correct pipeline for the correct branch when manually triggering it, as the example below : 

 custom: # Pipelines that can only be triggered manually
master:
- step:
script:
- echo "This is a custom pipeline"
development:
- step:
script:
- echo "This is a custom pipeline"

However, if what you want is to define just a set of steps to be manual, you can make use of the trigger: manual option in the steps that you want to be manually run : 

branches: 
master:
- step:
name: 'First step'
script:
- echo "This step runs automatically"
- step:
name: 'Second step'
trigger: 'manual'
script:
- echo "This step needs to be manually triggered"

Please note that the first step of a pipeline cannot be configured as manual. You have the option to create a dummy step in your first step as a workaround, but for full manual pipelines, the recommendation would be to use the custom trigger as mentioned above.

More details on pipeline triggers are in the documentation below : 

Hope that helps! Let me know if you have any questions.

Thank you, Joao!

Kind regards,

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events