With Puppet:
puppet module install rtyler-jenkins
puppet apply -v -e "include jenkins"
<settings> | |
<servers> | |
<server> | |
<id>apache.snapshots.https</id> | |
<username><!-- your apache ldap username --></username> | |
<password><!-- your apache ldap password --></password> | |
</server> | |
<server> | |
<id>apache.releases.https</id> | |
<username><!-- your apache ldap username --></username> |
#!/bin/bash | |
################################################################################ | |
# Copyright (c) 2012, by Michael Neale. All rights reserved. | |
# | |
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF MICHAEL NEALE | |
# | |
# The copyright notice above does not evidence any | |
# actual or intended publication of such source code. | |
################################################################################ |
44a45,47 | |
> <!-- uploads done using webdav, need to register --> | |
> <artifact:install-provider artifactId="wagon-webdav" version="1.0-beta-1" /> | |
> | |
47c50 | |
< url="https://nexus.codehaus.org/service/local/staging/deploy/maven2/" | |
--- | |
> url="dav:https://dav.codehaus.org/repository/jackson" | |
55c58 | |
< url="https://nexus.codehaus.org/content/repositories/snapshots/" |
<?xml version='1.0' encoding='UTF-8'?> | |
<project> | |
<actions/> | |
<description></description> | |
<keepDependencies>false</keepDependencies> | |
<properties> | |
<com.cloudbees.jenkins.plugins.securecopy.ExportsJobProperty> | |
<exports/> | |
</com.cloudbees.jenkins.plugins.securecopy.ExportsJobProperty> | |
<hudson.model.ParametersDefinitionProperty> |
def int x0 = 0; | |
def double x1 = 0.0; | |
def double x2 = 0.0; | |
println("Total executors") | |
println("===============") | |
println("") | |
println("Sampling every hour") | |
println("-------------------") | |
println("") | |
for (x in Jenkins.instance.overallLoad.totalExecutors.hour.history) { |
<server> | |
<id>junit.github.io</id> | |
<username>git</username> | |
</server> |
I hereby claim:
To claim this, I am signing this object:
usejava () | |
{ | |
local sel=$1.jdk | |
if [ -x "/Library/Java/JavaVirtualMachines/jdk$sel/Contents/Home/bin/java" -a ! -x "/Library/Java/JavaVirtualMachines/$1/Contents/Home/bin/java" ] | |
then | |
sel=jdk$sel | |
fi | |
local base=/Library/Java/JavaVirtualMachines | |
if [ -x "/System/Library/Java/JavaVirtualMachines/$sel/Contents/Home/bin/java" ] | |
then |
public static String write(Map<String, String> map) { | |
StringBuilder b = new StringBuilder(); | |
b.append('{'); | |
boolean first = true; | |
for (Map.Entry<String, String> e : map.entrySet()) { | |
if (first) { | |
first = false; | |
} else { | |
b.append(','); | |
} |