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

YAML - How to define a JOB that does not pull down source code?

Simon Hooper November 5, 2019

I have a multi stage pipeline set up in YAML as follows working well.

  • Stage 1
    • checkout source and build
  • Stage 2
    • Run tests for proj A
    • Run tests for proj B
    • Run test for proj (n)

I noted however the JOBS in Stage 2 all pull down source code as their first task. How can I specify a JOB to NOT pull down source code using YAML?

1 answer

1 accepted

0 votes
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 7, 2019

First task of any job configured by YAML specs is checkout task. There's no way to skip it.

Please create feature request at https://jira.atlassian.com/browse/BAM

Simon Hooper November 7, 2019
m June 7, 2022

IMO this is a bug, not a feature request.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events