seed-job.pipeline 681 Bytes
Newer Older
1
// First things first: make sure our job exists!
2 3 4 5 6 7 8
node('master') {
	// Grab the CI Tooling...
	checkout changelog: false, poll: false, scm: [
		$class: 'GitSCM',
		branches: [[name: 'master']],
		userRemoteConfigs: [[url: 'https://anongit.kde.org/sysadmin/ci-tooling']]
	]
9 10
	// Make sure the product is passed along to the DSL for processing
	env.PRODUCT_NAME = productName
11
	// Then process the necessary DSL to create the job
12
	jobDsl targets: 'pre-review/create_review_job.groovy'
13
}
14 15

// Now trigger the individual job we want
16
build job: "Reviews/${params.DIFF_ID}", parameters: [string(name: 'DIFF_ID', value: params.DIFF_ID), string(name: 'PHID', value: params.PHID)], wait: false