12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@@ -184,11 +184,13 @@ pipeline {
|
||||
returnStdout: true
|
||||
).trim()
|
||||
|
||||
RELEASE_TYPE = 'milestone' // .RC? or .M?
|
||||
RELEASE_TYPE = 'snapshot'
|
||||
|
||||
if (PROJECT_VERSION.endsWith('BUILD-SNAPSHOT')) {
|
||||
if (PROJECT_VERSION.matches(/.*-RC[0-9]+$/) || PROJECT_VERSION.matches(/.*-M[0-9]+$/)) {
|
||||
RELEASE_TYPE = "milestone"
|
||||
} else if (PROJECT_VERSION.endsWith('SNAPSHOT')) {
|
||||
RELEASE_TYPE = 'snapshot'
|
||||
} else if (PROJECT_VERSION.endsWith('RELEASE')) {
|
||||
} else if (PROJECT_VERSION.matches(/.*\.[0-9]+$/)) {
|
||||
RELEASE_TYPE = 'release'
|
||||
}
|
||||
|
||||
@@ -235,7 +237,7 @@ pipeline {
|
||||
returnStdout: true
|
||||
).trim()
|
||||
|
||||
if (PROJECT_VERSION.endsWith('RELEASE')) {
|
||||
if (PROJECT_VERSION.matches(/.*\.[0-9]+$/)) {
|
||||
unstash name: 'build_info'
|
||||
sh "ci/promote-to-bintray.sh"
|
||||
} else {
|
||||
@@ -270,7 +272,7 @@ pipeline {
|
||||
returnStdout: true
|
||||
).trim()
|
||||
|
||||
if (PROJECT_VERSION.endsWith('RELEASE')) {
|
||||
if (PROJECT_VERSION.matches(/.*\.[0-9]+$/)) {
|
||||
unstash name: 'build_info'
|
||||
sh "ci/sync-to-maven-central.sh"
|
||||
} else {
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>org.springframework.ws</groupId>
|
||||
<artifactId>spring-ws</artifactId>
|
||||
<version>3.0.11.BUILD-SNAPSHOT</version>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>Spring Web Services</name>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.ws</groupId>
|
||||
<artifactId>spring-ws</artifactId>
|
||||
<version>3.0.11.BUILD-SNAPSHOT</version>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>spring-ws-core</artifactId>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.ws</groupId>
|
||||
<artifactId>spring-ws</artifactId>
|
||||
<version>3.0.11.BUILD-SNAPSHOT</version>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>spring-ws-security</artifactId>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.ws</groupId>
|
||||
<artifactId>spring-ws</artifactId>
|
||||
<version>3.0.11.BUILD-SNAPSHOT</version>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>spring-ws-support</artifactId>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.ws</groupId>
|
||||
<artifactId>spring-ws</artifactId>
|
||||
<version>3.0.11.BUILD-SNAPSHOT</version>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>spring-ws-test</artifactId>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.ws</groupId>
|
||||
<artifactId>spring-ws</artifactId>
|
||||
<version>3.0.11.BUILD-SNAPSHOT</version>
|
||||
<version>3.1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>spring-xml</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user