Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global sbt settings #4

Open
timt opened this issue Nov 28, 2014 · 4 comments
Open

Global sbt settings #4

timt opened this issue Nov 28, 2014 · 4 comments

Comments

@timt
Copy link

timt commented Nov 28, 2014

Hi, I would like to be able to specify settings for sbt runner that will get applied to all build configurations that use it.

Specifically I want to be able to make sure it always uses our internal nexus, to resolve dependencies (as that is a proxy to the everything).

I can do this at the individual build configuration level by specifying the the following switches:
-Dsbt.override.build.repos=true -Dsbt.repository.config=

As described in http://www.scala-sbt.org/0.13/docs/Proxy-Repositories.html

However I would like to specify this just once for the plugin and have all build configurations using sbt runner pick them up.

Tim

@nafg
Copy link

nafg commented Dec 23, 2014

+1

2 similar comments
@michaelaltmann
Copy link

+1

@Earthson
Copy link

Earthson commented Sep 8, 2016

+1

@azhurbilo
Copy link

according this lines https://github.com/JetBrains/tc-sbt-runner/blob/master/tc-sbt-runner-server/src/main/java/jetbrains/buildServer/sbt/SbtRunnerRunType.java#L14-L16

I see that it's possible ovveride default value with
https://github.com/JetBrains/tc-sbt-runner/blob/master/tc-sbt-runner-common/src/main/java/jetbrains/buildServer/sbt/SbtRunnerConstants.java#L20

teamcity.sbt.defaultJvmArgs

but I tried add this variable in Agent file /srv/teamcity/conf/buildAgent.properties and it doesn't work.
Or may be I did smth wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants