blob: ab67e740d398cae14782893ab6170fbc3a6019e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!groovy
// Check for upstream updates and run builds.
properties([
buildDiscarder(logRotator(daysToKeepStr: '30', numToKeepStr: '5')),
pipelineTriggers([pollSCM('H/30 * * * *')]),
parameters([
string(name: 'GIT_URL',
defaultValue: 'git://ozlabs.org/petitboot',
description: 'URL of petitboot git repository.'),
])
])
stage('Build') {
node {
git(poll: true, changelog: false, url: params.GIT_URL)
build(
job: 'pb-build-matrix',
parameters: [
string(name: 'GIT_URL', value: params.GIT_URL),
],
)
}
}
|