File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ pipeline:
40
40
commands :
41
41
- cp -R . /tmp/3/ && cd /tmp/3/
42
42
- git submodule update --init --recursive --jobs 7
43
- - export PATH=/tmp/4 /project/scripts:$PATH
44
- - ./project/scripts/ sbt community-build/test
43
+ - export PATH=$PWD /project/scripts:$PATH
44
+ - sbt community-build/test
45
45
46
46
test_sbt :
47
47
group : test
Original file line number Diff line number Diff line change @@ -58,19 +58,12 @@ class CommunityBuildTest {
58
58
val pluginFilePath = communitybuildDir.resolve(" sbt-dotty-sbt" ).toAbsolutePath().toString()
59
59
60
60
// Run the sbt command with the compiler version and sbt plugin set in the build
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 (
61
+ val arguments =
62
+ extraSbtArgs ++ Seq (
69
63
" -sbt-version" , " 1.2.7" ,
70
64
s " --addPluginSbtFile= $pluginFilePath" ,
71
65
s " ;clean ;set updateOptions in Global ~= (_.withLatestSnapshots(false)) ;++ $compilerVersion! $testCommand"
72
66
)
73
- }
74
67
75
68
val exitCode = exec(" sbt" , arguments : _* )
76
69
You can’t perform that action at this time.
0 commit comments