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/07/23 22:05:31 UTC
[maven-site-plugin] branch stabilize updated: Log build.log in case
of assertion failure
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-site-plugin.git
The following commit(s) were added to refs/heads/stabilize by this push:
new 3c6db40 Log build.log in case of assertion failure
3c6db40 is described below
commit 3c6db40663e935e33deaa7d746e977c2657ae57b
Author: rfscholte <rf...@apache.org>
AuthorDate: Wed Jul 24 00:05:22 2019 +0200
Log build.log in case of assertion failure
---
src/it/projects/effective-site/verify.groovy | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/it/projects/effective-site/verify.groovy b/src/it/projects/effective-site/verify.groovy
index 7529e34..5aff636 100644
--- a/src/it/projects/effective-site/verify.groovy
+++ b/src/it/projects/effective-site/verify.groovy
@@ -20,6 +20,4 @@
assert new File( basedir, 'build.log' ).text.contains( 'BUILD SUCCESS' )
-assert new File( basedir, 'effective-site.xml' ).exists();
-
-return true;
\ No newline at end of file
+assert new File( basedir, 'effective-site.xml' ).exists() : new File( basedir, 'build.log' ).text