import util.Common
import org.yaml.snakeyaml.Yaml
Common.makeFolders(this)

def scipipe = new Yaml().load(readFileFromWorkspace('etc/scipipe/build_matrix.yaml'))

import util.CleanBuild

[
  [
    name: 'scipipe/lsst_distrib',
    products: scipipe.canonical.products,
    buildDocs: true,
    seedJob: SEED_JOB,
  ],
  [
    name: 'scipipe/ci_hsc',
    products: 'ci_hsc',
    buildConfig: 'scipipe-lsstsw-ci_hsc',
    seedJob: SEED_JOB,
  ],
  [
    name: 'dax/webserv',
    products: ['dax_imgserv', 'dax_metaserv'],
    buildConfig: 'webserv-lsstsw-matrix',
    seedJob: SEED_JOB,
  ],
  [
    name: 'dax/qserv_distrib',
    products: 'qserv_distrib',
    buildConfig: 'dax-lsstsw-matrix',
    seedJob: SEED_JOB,
  ],
].each { j ->
  def clean = new CleanBuild(j)

  clean.build(this)
}

import util.Common
import org.yaml.snakeyaml.Yaml
Common.makeFolders(this)

def scipipe = new Yaml().load(readFileFromWorkspace('etc/scipipe/build_matrix.yaml'))

import util.CleanBuild

[
  [
    name: 'scipipe/lsst_distrib',
    products: scipipe.canonical.products,
    buildDocs: true,
    seedJob: SEED_JOB,
  ],
  [
    name: 'scipipe/ci_hsc',
    products: 'ci_hsc',
    buildConfig: 'scipipe-lsstsw-ci_hsc',
    seedJob: SEED_JOB,
  ],
  [
    name: 'dax/webserv',
    products: 'dax_imgserv dax_metaserv',
    buildConfig: 'webserv-lsstsw-matrix',
    seedJob: SEED_JOB,
  ],
  [
    name: 'dax/qserv_distrib',
    products: 'qserv_distrib',
    buildConfig: 'dax-lsstsw-matrix',
    seedJob: SEED_JOB,
  ],
].each { j ->
  def clean = new CleanBuild(j)

  clean.build(this)
}

Fix syntax for product list
Fix syntax for product list
