Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-24752] Speeding up cloud slave provisioning for this relativ…
…ely quick-running demo.
  • Loading branch information
jglick committed Jul 31, 2015
1 parent 0e9a784 commit 81283c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions demo/run.sh
Expand Up @@ -12,4 +12,8 @@ chmod 755 /tmp/files/jetty
# TODO --informative-errors does not seem to be available in this version of Git
git daemon --verbose --enable=receive-pack --base-path=/tmp/files --export-all &

# TODO without this JENKINS-24752 workaround, it takes too long to provision.
# (Do not add hudson.model.LoadStatistics.decay=0.1; in that case we overprovision slaves which never get used, and OnceRetentionStrategy.check disconnects them after an idle timeout.)
export JAVA_OPTS=-Dhudson.model.LoadStatistics.clock=1000

/usr/local/bin/jenkins.sh

1 comment on commit 81283c0

@KostyaSha
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stephenc maybe you can expose your kick provisioner hack into plugin (if it not CB strategic)? :)

Please sign in to comment.