File tree Expand file tree Collapse file tree 5 files changed +18
-5
lines changed Expand file tree Collapse file tree 5 files changed +18
-5
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 3
3
# to be extra-sure we don't pollute
4
4
rm -rf $WORKSPACE/.ivy2
5
5
6
- . scripts/scala- release-2.11.x-pkg
6
+ . scripts/jobs/ release/package/generic
Original file line number Diff line number Diff line change 3
3
# to be extra-sure we don't pollute
4
4
rm -rf "$(/usr/bin/cygpath --unix $WORKSPACE/.ivy2)"
5
5
6
- . scripts/scala- release-2.11.x-pkg
6
+ . scripts/jobs/ release/package/generic
Original file line number Diff line number Diff line change @@ -34,6 +34,3 @@ for m in $modules; do
34
34
ssh " ${sshCharaArgs[@]} " " (set -x; cd $archivesDir && mkdir -p api/$version /$m && unzip \$ (find api/$version /jars -name ${m} _'*javadoc.jar' -o -name ${m} -${version} -javadoc.jar) -d api/$version /$m ;)"
35
35
done
36
36
37
- echo " Symlinking api/$version to api/2.11.x."
38
-
39
- ssh " ${sshCharaArgs[@]} " " cd $archivesDir /api/ ; [[ -d $version ]] && ln -sfn $version 2.11.x"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -ex
2
+ # need to re-declare it as an array, not sure how to do that directly in jenkins
3
+ declare -a sshCharaArgs=" $sshCharaArgs "
4
+
5
+ if [[ " $version " =~ .* -nightly ]]
6
+ then archivesDir=" ~linuxsoft/archives/scala/nightly/2.11.x"
7
+ else archivesDir=" ~linuxsoft/archives/scala"
8
+ fi
9
+
10
+ echo " Symlinking $archivesDir /api/$version to $archivesDir /api/2.11.x."
11
+
12
+ ssh " ${sshCharaArgs[@]} " " cd $archivesDir /api/ ; [[ -d $version ]] && ln -sfn $version 2.11.x"
13
+
14
+ # needs to run once on new major release:
15
+ # ssh "${sshCharaArgs[@]}" "cd $archivesDir/api/ ; [[ -d $version ]] && ln -sfn 2.11.x current"
16
+
You can’t perform that action at this time.
0 commit comments