File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,21 @@ sources:
18
18
github :
19
19
token : ' {{ requiredEnv .github.token }}'
20
20
username : ' {{ .github.username }}'
21
+ bom :
22
+ name : Get latest BOM line
23
+ kind : jenkins
24
+ spec :
25
+ release : stable
26
+ transformers :
27
+ - trimsuffix : " .(.*)$"
28
+ - trimsuffix : " .2"
29
+ - trimsuffix : " .3"
30
+ - trimsuffix : " .4"
31
+ - addprefix : " bom-"
32
+ - addsuffix : " .x"
33
+ github :
34
+ token : ' {{ requiredEnv .github.token }}'
35
+ username : ' {{ .github.username }}'
21
36
targets :
22
37
jenkins :
23
38
name : Update Jenkins Version
@@ -28,13 +43,24 @@ targets:
28
43
file : pom.xml
29
44
matchpattern : ' <jenkins.version>(.*)</jenkins.version>'
30
45
replacepattern : ' <jenkins.version>{{ source `jenkins` }}</jenkins.version>'
46
+ bom :
47
+ name : Ensure Jenkins BOM version
48
+ sourceid : jenkins
49
+ scmid : github
50
+ kind : file
51
+ spec :
52
+ file : pom.xml
53
+ matchpattern : ' <artifactId>bom-(.*).x</artifactId>'
54
+ replacepattern : ' <artifactId>{{ source `bom` }}</artifactId>'
31
55
actions :
32
56
jenkins :
33
57
title : Bump Jenkins version {{ source "jenkins" }}
58
+ disablepipelineurl : true
34
59
kind : github/pullrequest
35
60
scmid : github
36
61
targets :
37
62
- jenkins
63
+ - bom
38
64
spec :
39
65
labels :
40
66
- dependencies
You can’t perform that action at this time.
0 commit comments