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,362,619
Community Members
 
Community Events
168
Community Groups

Custom pipeline still throws an error about no manual steps in first step of pipeline.

I have a strange issue with my pipeline script.
I've configured a number of custom pipelines, however when I try to run some of them I get an error about "First step in pipeline cannot be manual"

 

Please advise.

1 answer

1 accepted

0 votes
Answer accepted

Hi @Firdaus Aga,

Based on the error message, it sounds like the first step of these custom pipelines may have trigger: manual in their definition in the yml file.

Could you please double-check and confirm if this is the case? If so, you will need to remove this from the first step in order for the pipeline to run. Is there a reason why you need the first step of a custom pipeline as manual or is it accidental? (Custom pipelines will run when you trigger them, and not automatically on every push)

If you feel comfortable sharing your yml file here, I can also double-check the reason for the error (you can remove the commands of the scripts and any names prior to sharing, just the structure of the yml file with the keywords used should be enough).

Kind regards,
Theodora

Hi Theodora,

That's absolutely right, I actually have single step pipelines which ssh an Ansible server to run builds.

Since we're in a production environment we need to trigger these manually.

I wasn't aware of this point -
Is there a reason why you need the first step of a custom pipeline as manual or is it accidental? (Custom pipelines will run when you trigger them, and not automatically on every push).

 

Just to be clear however does this mean that I need not put trigger: manual for any steps in the custom pipelines?

@Theodora Boudale I removed trigger: manual from the pipeline and it worked.

Thanks for the clarification!!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events