You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2017/04/28 14:09:09 UTC
[07/10] lucene-solr:branch_6_1: LUCENE-7793: smokeTestRelease.py
should run documentation-lint
LUCENE-7793: smokeTestRelease.py should run documentation-lint
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/7e3580e9
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/7e3580e9
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/7e3580e9
Branch: refs/heads/branch_6_1
Commit: 7e3580e95164fa6e07866f60a7b61ed4d356d36a
Parents: 2303839
Author: Steve Rowe <sa...@apache.org>
Authored: Fri Apr 28 09:58:02 2017 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Fri Apr 28 10:00:00 2017 -0400
----------------------------------------------------------------------
dev-tools/scripts/smokeTestRelease.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7e3580e9/dev-tools/scripts/smokeTestRelease.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.py
index dfc680e..f5712f3 100644
--- a/dev-tools/scripts/smokeTestRelease.py
+++ b/dev-tools/scripts/smokeTestRelease.py
@@ -700,8 +700,10 @@ def verifyUnpacked(java, project, artifact, unpackPath, gitRevision, version, te
print(' %s' % line.strip())
raise RuntimeError('source release has WARs...')
- print(' run "ant validate"')
- java.run_java8('ant validate', '%s/validate.log' % unpackPath)
+ # Can't run documentation-lint in lucene src, because dev-tools is missing
+ validateCmd = 'ant validate' if project == 'lucene' else 'ant validate documentation-lint';
+ print(' run "%s"' % validateCmd)
+ java.run_java8(validateCmd, '%s/validate.log' % unpackPath)
if project == 'lucene':
print(" run tests w/ Java 8 and testArgs='%s'..." % testArgs)