@@ -11,28 +11,36 @@ mkdir jenkins-artifacts
11
11
# publish-nightly publishes scaladoc, distribution archives
12
12
[[ -d build/scaladoc ]] && {
13
13
mkdir -p jenkins-artifacts/build
14
- rsync -rlv build/scaladoc jenkins-artifacts/build/
15
- }
16
- [[ -d dists/archives ]] && {
17
- mkdir -p jenkins-artifacts/dists
18
- rsync -rlv dists/archives jenkins-artifacts/dists/
14
+ rsync -rl build/scaladoc jenkins-artifacts/build/
19
15
}
16
+
17
+ # since 2.11.x, we don't publish nightly archives anymore (tgz/zip etc). commenting
18
+ # this out also stops publishing archiving them for 2.10.x
19
+ # [[ -d dists/archives ]] && {
20
+ # mkdir -p jenkins-artifacts/dists
21
+ # rsync -rl dists/archives jenkins-artifacts/dists/
22
+ # }
23
+
24
+ # sbaz is long gone.
20
25
# [[ -d dists/sbaz ]] && {
21
26
# mkdir -p jenkins-artifacts/dists
22
- # rsync -rlv dists/sbaz jenkins-artifacts/dists/
27
+ # rsync -rl dists/sbaz jenkins-artifacts/dists/
23
28
# }
24
29
25
- # publish-nightly publishes maven artifacts
26
- [[ -d dists/maven ]] && {
30
+ # publish-nightly publishes maven artifacts. this is still in use for 2.10.x.
31
+ # for 2.11.x and later, maven nightlies are published directly in scala-nightly-main.
32
+ # the dists/maven/latest/build.xml file does not exist for 2.11.x and later, so we test on that.
33
+ [[ -e dists/maven/latest/build.xml ]] && {
27
34
mkdir -p jenkins-artifacts/dists
28
- rsync -rlv dists/maven jenkins-artifacts/dists/
35
+ rsync -rl dists/maven jenkins-artifacts/dists/
29
36
}
30
37
31
38
# scala-nightly-signatures checks signatures of scala-library.jar
32
- [[ -e dists/latest/lib/scala-library.jar ]] && {
33
- mkdir -p jenkins-artifacts/dists/latest/lib
34
- cp dists/latest/lib/scala-library.jar jenkins-artifacts/dists/latest/lib/scala-library.jar
35
- }
39
+ # disabled - scala-nighlty-signatures is disabled for months.
40
+ # [[ -e dists/latest/lib/scala-library.jar ]] && {
41
+ # mkdir -p jenkins-artifacts/dists/latest/lib
42
+ # cp dists/latest/lib/scala-library.jar jenkins-artifacts/dists/latest/lib/scala-library.jar
43
+ # }
36
44
37
45
tar czf jenkins-artifacts.tgz jenkins-artifacts
38
46
rm -rf jenkins-artifacts
0 commit comments