File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pipeline:
4141 - cp -R . /tmp/3/ && cd /tmp/3/
4242 - git submodule update --init --recursive --jobs 7
4343 - export PATH=/tmp/4/project/scripts:$PATH
44- - sbt community-build/test
44+ - ./project/scripts/ sbt community-build/test
4545
4646 test_sbt :
4747 group : test
Original file line number Diff line number Diff line change @@ -58,11 +58,19 @@ class CommunityBuildTest {
5858 val pluginFilePath = communitybuildDir.resolve(" sbt-dotty-sbt" ).toAbsolutePath().toString()
5959
6060 // Run the sbt command with the compiler version and sbt plugin set in the build
61- val arguments = extraSbtArgs ++ Seq (
62- " -sbt-version" , " 1.2.7" ,
63- s " --addPluginSbtFile= $pluginFilePath" ,
64- s " ;clean ;set updateOptions in Global ~= (_.withLatestSnapshots(false)) ;++ $compilerVersion! $testCommand"
65- )
61+ val arguments = {
62+ val sbtProps = Option (System .getProperty(" sbt.ivy.home" )) match {
63+ case Some (ivyHome) =>
64+ Seq (s " -Dsbt.ivy.home= $ivyHome" )
65+ case _ =>
66+ Seq ()
67+ }
68+ extraSbtArgs ++ sbtProps ++ Seq (
69+ " -sbt-version" , " 1.2.7" ,
70+ s " --addPluginSbtFile= $pluginFilePath" ,
71+ s " ;clean ;set updateOptions in Global ~= (_.withLatestSnapshots(false)) ;++ $compilerVersion! $testCommand"
72+ )
73+ }
6674
6775 val exitCode = exec(" sbt" , arguments : _* )
6876
You can’t perform that action at this time.
0 commit comments