spark-instrumented-optimizer/dev/create-release
Dongjoon Hyun 3772154442
[SPARK-31691][INFRA] release-build.sh should ignore a fallback output from build/mvn
### What changes were proposed in this pull request?

This PR adds `i` option to ignore additional `build/mvn` output which is irrelevant to version string.

### Why are the changes needed?

SPARK-28963 added additional output message, `Falling back to archive.apache.org to download Maven` in build/mvn. This breaks `dev/create-release/release-build.sh` and currently Spark Packaging Jenkins job is hitting this issue consistently and broken.
- https://amplab.cs.berkeley.edu/jenkins/view/Spark%20Packaging/job/spark-master-maven-snapshots/2912/console

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

This happens only when the mirror fails. So, this is verified manually hiject the script. It works like the following.
```
$ echo 'Falling back to archive.apache.org to download Maven' > out
$ build/mvn help:evaluate -Dexpression=project.version >> out
Using `mvn` from path: /Users/dongjoon/PRS/SPARK_RELEASE_2/build/apache-maven-3.6.3/bin/mvn
$ cat out | grep -v INFO | grep -v WARNING | grep -v Download
Falling back to archive.apache.org to download Maven
3.1.0-SNAPSHOT
$ cat out | grep -v INFO | grep -v WARNING | grep -vi Download
3.1.0-SNAPSHOT
```

Closes #28514 from dongjoon-hyun/SPARK_RELEASE_2.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
2020-05-12 14:24:56 -07:00
..
spark-rm [SPARK-31320] Fix release script for 3.0.0 2020-04-01 16:45:28 +09:00
announce.tmpl [SPARK-28951][INFRA] Add release announce template 2019-09-02 14:55:05 -07:00
do-release-docker.sh [SPARK-31462][INFRA] The usage of getopts and case statement is wrong in do-release.sh 2020-04-16 12:54:10 -07:00
do-release.sh [SPARK-31462][INFRA] The usage of getopts and case statement is wrong in do-release.sh 2020-04-16 12:54:10 -07:00
generate-contributors.py [SPARK-25238][PYTHON] lint-python: Fix W605 warnings for pycodestyle 2.4 2018-09-13 11:19:43 +08:00
known_translations [MINOR] update known_translations 2018-11-06 14:52:02 -08:00
release-build.sh [SPARK-31691][INFRA] release-build.sh should ignore a fallback output from build/mvn 2020-05-12 14:24:56 -07:00
release-tag.sh [SPARK-30265][INFRA] Do not change R version when releasing preview versions 2019-12-16 04:54:12 -07:00
release-util.sh [SPARK-31687][INFRA] Use GitHub instead of GitBox in release script 2020-05-12 13:07:00 -07:00
releaseutils.py [MINOR][BUILD] ensure call to translate_component has correct number of arguments 2019-01-16 21:00:58 -06:00
translate-contributors.py [SPARK-19002][BUILD][PYTHON] Check pep8 against all Python scripts 2017-01-02 15:23:19 +00:00
vote.tmpl [MINOR][DOCS] Tighten up some key links to the project and download pages to use HTTPS 2019-05-21 10:56:42 -07:00