You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move scripts closer to the stuff they script,
in preparation for a more travis-like CI set up.
Moved from scala/jenkins-scripts, see also scala-jenkins-infra.
Introduced `sshCharaArgs`, must turn it into an array using `declare -a`
echo"Expanding scala-library API docs for $version to api/$version (with subdirectories for scala-compiler and scala-reflect)."
23
-
ssh scalatest@chara"cd $archivesDir && mkdir -p api/$version && tar -xvz --strip-component 2 -f scala-docs-$version.tgz -C api/$version && mv api/$version/scala-library/* api/$version/"# tar on jenkins does not support the -s option
26
+
ssh "${sshCharaArgs[@]}""cd $archivesDir && mkdir -p api/$version && tar -xvz --strip-component 2 -f scala-docs-$version.tgz -C api/$version && mv api/$version/scala-library/* api/$version/"# tar on jenkins does not support the -s option
24
27
25
28
echo"Expanding the Scaladoc for other bundled modules"
26
29
# treat scala-actors separately because it's not cross-versioned
# no bang here, because we want to run both under cygwin and real unix
2
-
# sbtDistTarget must be supplied
3
-
# sbtDistVersionOverride may be -Dproject.version=.... to override the version of the dist to build (only for testing, you should use tags for real releases!)
4
-
# sbtLauncher is a global jenkins configuration variable
# no bang here, because we want to run both under cygwin and real unix
2
-
# sbtDistTarget must be supplied
3
-
# sbtDistVersionOverride may be -Dproject.version=.... to override the version of the dist to build (only for testing, you should use tags for real releases!)
4
-
# sbtLauncher is a global jenkins configuration variable
# no bang here, because we want to run both under cygwin and real unix
2
-
# sbtDistTarget must be supplied
3
-
# sbtDistVersionOverride may be -Dproject.version=.... to override the version of the dist to build (only for testing, you should use tags for real releases!)
4
-
# sbtLauncher is a global jenkins configuration variable
# invoked from scala-release-2.11.x-[unix|windows]
5
+
6
+
# uses the following env vars:
7
+
# - WORKSPACE, JAVA_OPTS (jenkins standard)
8
+
# - version checked for consistency against HEAD's tag
9
+
# - sbtLauncher is a global jenkins configuration variable
10
+
# - sbtDistTarget the target (beyond clean and update) to run
11
+
# - sbtDistVersionOverride may be -Dproject.version=.... to override the version of the dist to build (only for testing, you should use tags for real releases!)
12
+
13
+
# requires git (>= 1.8), java, bash
14
+
15
+
repositoriesFile="$WORKSPACE/conf/repositories"
16
+
17
+
tags="$(git tag --points-at HEAD)"
9
18
10
19
# version is set by the scala-release-2.11.x-dist build flow, make sure it's consistent with the tag
11
20
# this is also a backstop for https://github.com/sbt/sbt-git/issues/35
12
21
# ignore when there is no version (job is running outside of the flow)
0 commit comments