-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-25685][BUILD] Allow running tests in Jenkins in enterprise Git repository #22678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
cc34da8
0df4c61
a45c373
c435242
d439397
dc47b08
c42fd58
d8e7ad0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -272,3 +272,31 @@ For SBT, specify a complete scala version using (e.g. 2.12.6): | |
| ./build/sbt -Dscala.version=2.12.6 | ||
|
|
||
| Otherwise, the sbt-pom-reader plugin will use the `scala.version` specified in the spark-parent pom. | ||
|
|
||
| ## Running Jenkins tests with enterprise Github | ||
|
||
|
|
||
| To run tests with Jenkins: | ||
|
|
||
| ./dev/run-tests-jenkins | ||
|
|
||
| If use an individual repository or an enterprise GitHub, export below environment variables before running above command. | ||
|
||
|
|
||
| ### Related environment variables | ||
|
|
||
| <table class="table"> | ||
| <tr><th>Variable Name</th><th>Default</th><th>Meaning</th></tr> | ||
| <tr> | ||
| <td><code>GITHUB_API_BASE</code></td> | ||
| <td>https://api.github.com/repos/apache/spark</td> | ||
| <td> | ||
| The GitHub server API URL. It could be pointed to an enterprise GitHub. | ||
|
||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td><code>SPARK_PROJECT_URL</code></td> | ||
| <td>https://github.com/apache/spark</td> | ||
| <td> | ||
| The Spark project URL of (enterprise) GitHub. | ||
|
||
| </td> | ||
| </tr> | ||
| </table> | ||
Uh oh!
There was an error while loading. Please reload this page.