Skip to content

Commit 07456fd

Browse files
committed
Make compatible with new jenkins jobs
1 parent 737823f commit 07456fd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/jobs/scala-release-2.11.x-build

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ determineScalaVersion() {
381381

382382
# TODO: publish nightly snapshot using this script
383383
publishToSonatype="no"
384-
echo "dist_ref=2.11.x" >> $baseDir/jenkins.properties # for the -dist downstream jobs that build the actual archives
384+
echo "repo_ref=2.11.x" >> $baseDir/jenkins.properties # for the -dist downstream jobs that build the actual archives
385385
else
386386
echo "HEAD is tagged as $scalaTag."
387387
# borrowed from https://github.com/cloudflare/semver_bash/blob/master/semver.sh
@@ -552,8 +552,7 @@ bootstrap() {
552552
# don't skip locker (-Dlocker.skip=1), or stability will fail
553553
# overwrite "locker" version of scala at private-repo with bootstrapped version
554554
cd $baseDir
555-
rm -rf build/
556-
git clean -fx # don't clean out the whole workspace, we need to keep the logs dirs etc
555+
rm -rf build/ # must leave everything else in $baseDir for downstream jobs
557556

558557
ant -Dstarr.version=$SCALA_VER\
559558
-Dextra.repo.url=$privateRepo\

0 commit comments

Comments
 (0)