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