You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/03/16 14:59:15 UTC

[maven-release] 01/01: Let Windows use short workspace path

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-release.git

commit 0c7f23f6c4551f75ef07fc68c018f70fef1e70ae
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat Mar 16 15:59:05 2019 +0100

    Let Windows use short workspace path
---
 Jenkinsfile                                                         | 2 +-
 .../src/it/projects/branch/MRELEASE-976/verify.groovy               | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index e9f05f7..261d8bb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,4 +17,4 @@
  * under the License.
  */
 
-asfMavenTlpPlgnBuild()
+asfMavenTlpPlgnBuild(tmpWs:true)
diff --git a/maven-release-plugin/src/it/projects/branch/MRELEASE-976/verify.groovy b/maven-release-plugin/src/it/projects/branch/MRELEASE-976/verify.groovy
index 04ff692..74cd082 100644
--- a/maven-release-plugin/src/it/projects/branch/MRELEASE-976/verify.groovy
+++ b/maven-release-plugin/src/it/projects/branch/MRELEASE-976/verify.groovy
@@ -19,10 +19,8 @@
  */
 
 def project = new XmlSlurper().parse( new File( basedir, "pom.xml" ) )
-assert project.version.text() == "1.0-SNAPSHOT"
+assert project.version.text() == "1.0-SNAPSHOT" : 'Unexpected value for project.version in pom.xml'
 
 // verifies that the version is unchanged because of the custom policy: 1.0-SNAPSHOT -> 1.0-SNAPSHOT
 def projectNext = new XmlSlurper().parse( new File( basedir, "pom.xml.next" ) )
-assert projectNext.version.text() == "1.0-SNAPSHOT"
-
-return true
+assert projectNext.version.text() == "1.0-SNAPSHOT" : 'Unexpected value for project.version in pom.xml.next'