Issue with job workflows

Saket Patel's Avatar

Saket Patel

23 Sep, 2020 07:56 PM

I am trying to create fan in, fan out workflow in my repo, using below matrix configuration

matrix:
    - job_name: default_build
      job_group: Builds

    - job_name: orange_build
      job_group: Builds

    - job_name: Smoke
      job_group: Tests
      job_depends_on: default_build

    - job_name: BHR
      job_group: Tests
      job_depends_on: default_build

    - job_name: Sanity
      job_group: Tests
      job_depends_on: default_build

As per above matrix Smoke, BHR and Sanity jobs should wait for default_build job to get completed but somehow it's not waiting and starts the jobs as soon as containers get free.

Let me know if more information is required

  1. Support Staff 1 Posted by Feodor Fitsner on 23 Sep, 2020 08:48 PM

    Feodor Fitsner's Avatar

    As you specified "Builds" group for both jobs then dependency could be only made on group name:

    job_depends_on: Builds
    
  2. 2 Posted by Saket Patel on 24 Sep, 2020 11:31 AM

    Saket Patel's Avatar

    Thanks, it worked !!!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac