You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I'm currently running into some issues with my pipeline where is telling me that I have an issue as soon as I added the manual trigger into my pipeline.
image: node:10.8.0
options:
max-time: 15
pipelines:
default:
- step:
name: Pipeline Cypress E2E
caches:
- npm
- cypress
image: cypress/base:10
script:
- npm ci
- npx cypress run --spec "[File_Path]"
artifacts:
- cypress/reports/**
- cypress/videos/**
definitions:
caches:
npm: $HOME/.npm
cypress: $HOME/.cache/Cypress
How should I add the manual step inside of this pipeline?
Hi Alan and welcome to the community.
Since a pipeline is triggered on a commit, it is not possible to make the first step manual.
If you have only this one step and you want to trigger it manually only, you can set it up as a custom pipeline instead (custom pipelines don't run automatically on push, but can only be triggered manually or on schedule):
image: node:10.8.0
options:
max-time: 15
pipelines:
custom:
name-of-the-custom-pipeline:
- step:
name: Pipeline Cypress E2E
caches:
- npm
- cypress
image: cypress/base:10
script:
- npm ci
- npx cypress run --spec "[File_Path]"
artifacts:
- cypress/reports/**
- cypress/videos/**
definitions:
caches:
npm: $HOME/.npm
cypress: $HOME/.cache/Cypress
You will then be able to trigger it manually or on schedule:
Is this something that works for you?
Please feel free to let me know if you have any questions.
Kind regards,
Theodora
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.