File tree 8 files changed +44
-25
lines changed
8 files changed +44
-25
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : maven
4
+ directory : /
5
+ schedule :
6
+ interval : monthly
7
+ - package-ecosystem : github-actions
8
+ directory : /
9
+ schedule :
10
+ interval : monthly
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Note: additional setup is required, see https://www.jenkins.io/redirect/continuous-delivery-of-plugins
2
+
3
+ name : cd
4
+ on :
5
+ workflow_dispatch :
6
+ check_run :
7
+ types :
8
+ - completed
9
+
10
+ jobs :
11
+ maven-cd :
12
+ uses : jenkins-infra/github-reusable-workflows/.github/workflows/maven-cd.yml@v1
13
+ secrets :
14
+ MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
15
+ MAVEN_TOKEN : ${{ secrets.MAVEN_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ <extensions xmlns =" http://maven.apache.org/EXTENSIONS/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd" >
2
+ <extension >
3
+ <groupId >io.jenkins.tools.incrementals</groupId >
4
+ <artifactId >git-changelist-maven-extension</artifactId >
5
+ <version >1.4</version >
6
+ </extension >
7
+ </extensions >
Original file line number Diff line number Diff line change
1
+ -Pconsume-incrementals
2
+ -Pmight-produce-incrementals
3
+ -Dchangelist.format=%d.v%s
Original file line number Diff line number Diff line change 1
1
pipeline {
2
2
options {
3
+ disableConcurrentBuilds abortPrevious : true
3
4
buildDiscarder(logRotator(numToKeepStr : ' 20' ))
4
5
timeout(time : 1 , unit : ' HOURS' )
5
6
}
@@ -14,7 +15,7 @@ pipeline {
14
15
stages {
15
16
stage(' main' ) {
16
17
steps {
17
- sh ' mvn -B clean verify -Dmaven.test.failure.ignore'
18
+ sh ' mvn -B -ntp clean verify -Dmaven.test.failure.ignore'
18
19
}
19
20
post {
20
21
success {
Original file line number Diff line number Diff line change 9
9
</parent >
10
10
<groupId >org.jenkins-ci.test</groupId >
11
11
<artifactId >docker-fixtures</artifactId >
12
- <version >1.13-SNAPSHOT </version >
12
+ <version >${changelist} </version >
13
13
<name >Docker Fixtures</name >
14
14
<description >Docker rule for JUnit.</description >
15
15
<repositories >
31
31
</license >
32
32
</licenses >
33
33
<scm >
34
- <connection >scm:git:https://github.com/jenkinsci/docker-fixtures.git </connection >
35
- <developerConnection >scm:git:git ://git@ github.com/jenkinsci/docker-fixtures.git </developerConnection >
36
- <url >https://github.com/jenkinsci/docker-fixtures </url >
37
- <tag >HEAD </tag >
34
+ <connection >scm:git:https://github.com/${gitHubRepo} </connection >
35
+ <developerConnection >scm:git:https ://github.com/${gitHubRepo} </developerConnection >
36
+ <url >https://github.com/${gitHubRepo} </url >
37
+ <tag >${scmTag} </tag >
38
38
</scm >
39
39
<build >
40
40
<plugins >
50
50
</plugins >
51
51
</build >
52
52
<properties >
53
+ <changelist >999999-SNAPSHOT</changelist >
54
+ <gitHubRepo >jenkinsci/docker-fixtures</gitHubRepo >
53
55
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
54
56
<spotbugs .failOnError>false</spotbugs .failOnError> <!-- TODO -->
55
57
</properties >
You can’t perform that action at this time.
0 commit comments