Skip to content

Instantly share code, notes, and snippets.

@edjubuh
Last active January 11, 2017 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edjubuh/7f65c13468834b35ed6d317b42675675 to your computer and use it in GitHub Desktop.
Save edjubuh/7f65c13468834b35ed6d317b42675675 to your computer and use it in GitHub Desktop.
Jenkins System Config
<?xml version='1.0' encoding='UTF-8'?>
<com.cloudbees.jenkins.plugins.customtools.CustomTool_-DescriptorImpl plugin="custom-tools-plugin@0.4.4">
<installations class="com.cloudbees.jenkins.plugins.customtools.CustomTool-array">
<com.cloudbees.jenkins.plugins.customtools.CustomTool>
<name>MSBuild</name>
<home></home>
<properties>
<hudson.tools.InstallSourceProperty>
<installers>
<hudson.tools.BatchCommandInstaller>
<label>win&amp;&amp;x64</label>
<command>@echo off&#xd;
SET INSTALLDIR=%ProgramFiles(x86)%\MSBuild\14.0\bin&#xd;
SET DOWNLOADURL=https://download.microsoft.com/download/5/f/7/5f7acaeb-8363-451f-9425-68a90f98b238/visualcppbuildtools_full.exe&#xd;
SET INSTALLER=visualcppbuildtools_full.exe&#xd;
SET NAME=Visual C++ Build Tools 2015&#xd;
SET INSTALLARGS=/Quiet /NoRestart /Full /Log microsoft-build-tools-2015.log&#xd;
&#xd;
IF NOT EXIST &quot;%INSTALLDIR%&quot; (&#xd;
ECHO Downloading %NAME%&#xd;
powershell -Command &quot;(New-Object System.Net.WebClient).DownloadFile(&apos;%DOWNLOADURL%&apos;, &apos;%INSTALLER%&apos;)&quot;&#xd;
ECHO Installing %NAME%&#xd;
rem log flag seems to make this work&#xd;
%INSTALLER% %INSTALLARGS%&#xd;
ECHO Installed %NAME% with code %ERRORLEVEL%&#xd;
)</command>
<toolHome>%ProgramFiles (x86)%\MSBuild\14.0\bin</toolHome>
</hudson.tools.BatchCommandInstaller>
</installers>
</hudson.tools.InstallSourceProperty>
</properties>
<exportedPaths></exportedPaths>
<additionalVariables></additionalVariables>
</com.cloudbees.jenkins.plugins.customtools.CustomTool>
<com.cloudbees.jenkins.plugins.customtools.CustomTool>
<name>arm-gcc</name>
<home></home>
<properties>
<hudson.tools.InstallSourceProperty>
<installers>
<hudson.tools.CommandInstaller>
<label>linux</label>
<command>sudo apt install -y gcc-arm-none-eabi build-essential</command>
<toolHome>/usr/bin/arm-none-eabi-gcc</toolHome>
</hudson.tools.CommandInstaller>
<hudson.tools.ZipExtractionInstaller>
<label>win</label>
<url>https://github.com/purduesigbots/pros/releases/download/2.11.0/gcc-toolchain-win.zip</url>
<subdir>toolchain\bin</subdir>
</hudson.tools.ZipExtractionInstaller>
</installers>
</hudson.tools.InstallSourceProperty>
</properties>
<exportedPaths></exportedPaths>
<additionalVariables></additionalVariables>
</com.cloudbees.jenkins.plugins.customtools.CustomTool>
<com.cloudbees.jenkins.plugins.customtools.CustomTool>
<name>python3</name>
<home></home>
<properties>
<hudson.tools.InstallSourceProperty>
<installers>
<hudson.tools.BatchCommandInstaller>
<label>win&amp;&amp;x64</label>
<command>@echo off&#xd;
SET Python36Dir=%LocalAppData%\Programs\Python\Python36-32&#xd;
IF NOT EXIST %Python36Dir% (&#xd;
ECHO Downloading Python 3.6.0&#xd;
powershell -Command &quot;(New-Object System.Net.WebClient).DownloadFile(&apos;https://www.python.org/ftp/python/3.6.0/python-3.6.0-amd64.exe&apos;, &apos;python-3.6.0-amd64.exe&apos;)&quot;&#xd;
ECHO Uninstalling Previous Versions of Python 3.6.0&#xd;
python-3.6.0-amd64.exe /uninstall /quiet /log python36.uninstall.log&#xd;
ECHO Installing Python 3.6.0&#xd;
rem log flag seems to make this work&#xd;
python-3.6.0-amd64.exe /quiet /InstallAllUsers=0 /PrependPath=0 /DefaultJustForMeTargetDir=%Python36Dir% /log python36.install.log&#xd;
)</command>
<toolHome>C:\Users\Jenkins\AppData\Local\Programs\Python\Python36-32</toolHome>
</hudson.tools.BatchCommandInstaller>
<hudson.tools.CommandInstaller>
<label>linux</label>
<command>sudo apt install -y python3</command>
<toolHome>${HOME}</toolHome>
</hudson.tools.CommandInstaller>
</installers>
</hudson.tools.InstallSourceProperty>
</properties>
<exportedPaths></exportedPaths>
<additionalVariables></additionalVariables>
</com.cloudbees.jenkins.plugins.customtools.CustomTool>
<com.cloudbees.jenkins.plugins.customtools.CustomTool>
<name>Advanced Installer</name>
<home></home>
<properties/>
<exportedPaths></exportedPaths>
<additionalVariables></additionalVariables>
</com.cloudbees.jenkins.plugins.customtools.CustomTool>
<com.cloudbees.jenkins.plugins.customtools.CustomTool>
<name>github-release</name>
<home></home>
<properties>
<hudson.tools.InstallSourceProperty>
<installers>
<hudson.tools.CommandInstaller>
<label>linux</label>
<command>sudo apt-get install -y golang
export GOPATH=`pwd`
go get github.com/sideshowbarker/github-release</command>
<toolHome>./bin</toolHome>
</hudson.tools.CommandInstaller>
</installers>
</hudson.tools.InstallSourceProperty>
</properties>
<exportedPaths></exportedPaths>
<additionalVariables></additionalVariables>
</com.cloudbees.jenkins.plugins.customtools.CustomTool>
</installations>
</com.cloudbees.jenkins.plugins.customtools.CustomTool_-DescriptorImpl>
Started by user Elliot Berman
[CustomTools] - arm-gcc: Starting installation
[arm-gcc] $ sh -e /var/lib/jenkins/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/arm-gcc/hudson6469094879322928507.sh
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.1ubuntu2).
gcc-arm-none-eabi is already the newest version (15:4.9.3+svn231177-1).
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-headers-4.4.0-53
linux-headers-4.4.0-53-generic linux-image-4.4.0-21-generic
linux-image-4.4.0-53-generic linux-image-extra-4.4.0-21-generic
linux-image-extra-4.4.0-53-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[CustomTools] - arm-gcc: Tool is installed at /usr/bin/arm-none-eabi-gcc
[CustomTools] - arm-gcc: Setting arm-gcc_HOME=/usr/bin/arm-none-eabi-gcc
[CustomTools] - python3: Starting installation
[python3] $ sh -e /var/lib/jenkins/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/python3/hudson5824659384055123547.sh
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.5.1-3).
The following packages were automatically installed and are no longer required:
linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-headers-4.4.0-53
linux-headers-4.4.0-53-generic linux-image-4.4.0-21-generic
linux-image-4.4.0-53-generic linux-image-extra-4.4.0-21-generic
linux-image-extra-4.4.0-53-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[CustomTools] - python3: Tool is installed at /var/lib/jenkins/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/python3/var/lib/jenkins
[CustomTools] - python3: Setting python3_HOME=/var/lib/jenkins/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/python3/var/lib/jenkins
Building on master in workspace /var/lib/jenkins/workspace/test-free
[test-free] $ /bin/sh -xe /tmp/hudson7764649703951813821.sh
+ printenv
JENKINS_HOME=/var/lib/jenkins
MAIL=/var/mail/jenkins
USER=jenkins
NODE_LABELS=linux master x64
SHLVL=1
HOME=/var/lib/jenkins
HUDSON_COOKIE=3a43b3b7-4b28-4f0d-a569-ea4532a25543
JENKINS_SERVER_COOKIE=97df4ab879904452
WORKSPACE=/var/lib/jenkins/workspace/test-free
LOGNAME=jenkins
NODE_NAME=master
_=/usr/bin/daemon
EXECUTOR_NUMBER=0
XDG_SESSION_ID=c1
BUILD_DISPLAY_NAME=#5
HUDSON_HOME=/var/lib/jenkins
JOB_BASE_NAME=test-free
PATH=/usr/bin/arm-none-eabi-gcc:/var/lib/jenkins/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/python3/var/lib/jenkins::/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
BUILD_ID=5
XDG_RUNTIME_DIR=/run/user/111
python3_HOME=/var/lib/jenkins/tools/com.cloudbees.jenkins.plugins.customtools.CustomTool/python3/var/lib/jenkins
BUILD_TAG=jenkins-test-free-5
LANG=en_US.UTF-8
BUILD_NUMBER=5
NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript
SHELL=/bin/bash
JOB_NAME=test-free
PWD=/var/lib/jenkins/workspace/test-free
Finished: SUCCESS
System Properties
Name Value
awt.toolkit sun.awt.X11.XToolkit
executable-war /usr/share/jenkins/jenkins.war
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.print.PSPrinterJob
java.class.path /usr/share/jenkins/jenkins.war
java.class.version 52.0
java.endorsed.dirs /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/endorsed
java.ext.dirs /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
java.home /usr/lib/jvm/java-8-openjdk-amd64/jre
java.io.tmpdir /tmp
java.library.path /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.runtime.name OpenJDK Runtime Environment
java.runtime.version 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.8
java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.8.0_111
java.vm.info mixed mode
java.vm.name OpenJDK 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.8
java.vm.vendor Oracle Corporation
java.vm.version 25.111-b14
jna.loaded true
jna.platform.library.path /usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib:/usr/lib/x86_64-linux-gnu/libfakeroot
jnidispatch.path /tmp/jna--1712433994/jna2442942990064667707.tmp
line.separator
mail.smtp.sendpartial true
mail.smtps.sendpartial true
org.apache.commons.jelly.tags.fmt.timeZone America/Indianapolis
os.arch amd64
os.name Linux
os.version 4.4.0-57-generic
path.separator :
sun.arch.data.model 64
sun.boot.class.path /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes
sun.boot.library.path /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.font.fontmanager sun.awt.X11FontManager
sun.io.unicode.encoding UnicodeLittle
sun.java.command /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
user.country US
user.dir /
user.home /var/lib/jenkins
user.language en
user.name jenkins
user.timezone America/Indiana/Indianapolis
Environment Variables
Name Value
_ /usr/bin/daemon
HOME /var/lib/jenkins
JENKINS_HOME /var/lib/jenkins
LANG en_US.UTF-8
LOGNAME jenkins
MAIL /var/mail/jenkins
NODE_PATH /usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript
PATH /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
PWD /var/lib/jenkins
SHELL /bin/bash
SHLVL 1
USER jenkins
XDG_RUNTIME_DIR /run/user/111
XDG_SESSION_ID c1
Plugins
Name Version Enabled Pinned
ace-editor 1.1 true false
advanced-installer-msi-builder 1.3 true false
ant 1.4 true false
antisamy-markup-formatter 1.5 true false
authentication-tokens 1.3 true false
blueocean 1.0.0-b15 true false
blueocean-autofavorite 0.5 true false
blueocean-commons 1.0.0-b15 true false
blueocean-config 1.0.0-b15 true false
blueocean-dashboard 1.0.0-b15 true false
blueocean-display-url 1.3 true false
blueocean-events 1.0.0-b15 true false
blueocean-git-pipeline 1.0.0-b15 true false
blueocean-github-pipeline 1.0.0-b15 true false
blueocean-i18n 1.0.0-b15 true false
blueocean-jwt 1.0.0-b15 true false
blueocean-personalization 1.0.0-b15 true false
blueocean-pipeline-api-impl 1.0.0-b15 true false
blueocean-rest 1.0.0-b15 true false
blueocean-rest-impl 1.0.0-b15 true false
blueocean-web 1.0.0-b15 true false
bouncycastle-api 2.16.0 true false
branch-api 1.11.1 true false
build-timeout 1.18 true false
cloudbees-folder 5.16 true false
copyartifact 1.38.1 true false
credentials 2.1.10 true false
credentials-binding 1.10 true false
custom-tools-plugin 0.4.4 true false
display-url-api 0.5 true false
docker-commons 1.5 true false
docker-workflow 1.9.1 true false
durable-task 1.12 true false
email-ext 2.53 true false
extended-choice-parameter 0.75 true false
external-monitor-job 1.7 true false
favorite 2.0.4 true false
git 3.0.1 true false
git-client 2.2.0 true false
git-server 1.7 true false
github 1.25.0 true false
github-api 1.84 true false
github-branch-source 1.10.1 true false
github-organization-folder 1.5 true false
gradle 1.25 true false
handlebars 1.1.1 true false
icon-shim 2.0.3 true false
jackson2-api 2.7.3 true false
javadoc 1.4 true false
job-fan-in 1.1.3 true false
jquery 1.11.2-0 true false
jquery-detached 1.2.1 true false
junit 1.19 true false
ldap 1.13 true false
mailer 1.18 true false
mapdb-api 1.0.9.0 true false
matrix-auth 1.4 true false
matrix-project 1.7.1 true false
maven-plugin 2.14 true false
mercurial 1.57 true false
metrics 3.1.2.9 true false
momentjs 1.1.1 true false
nodejs 0.2.2 true false
pam-auth 1.3 true false
pipeline-build-step 2.4 true false
pipeline-githubnotify-step 1.0.1 true false
pipeline-graph-analysis 1.3 true false
pipeline-input-step 2.5 true false
pipeline-milestone-step 1.3 true false
pipeline-model-api 0.7.1 true false
pipeline-model-declarative-agent 0.7.1 true false
pipeline-model-definition 0.7.1 true false
pipeline-rest-api 2.4 true false
pipeline-stage-step 2.2 true false
pipeline-stage-tags-metadata 0.7.1 true false
pipeline-stage-view 2.4 true false
pipeline-utility-steps 1.2.2 true false
plain-credentials 1.3 true false
resource-disposer 0.3 true false
scm-api 1.3 true false
script-security 1.25 true false
sse-gateway 1.11 true false
ssh-credentials 1.12 true false
ssh-slaves 1.12 true false
structs 1.5 true false
subversion 2.7.1 true false
timestamper 1.8.7 true false
token-macro 2.0 true false
variant 1.1 true false
windows-slaves 1.2 true false
workflow-aggregator 2.4 true false
workflow-api 2.8 true false
workflow-basic-steps 2.3 true false
workflow-cps 2.23 true false
workflow-cps-global-lib 2.5 true false
workflow-durable-task-step 2.6 true false
workflow-job 2.9 true false
workflow-multibranch 2.9.2 true false
workflow-scm-step 2.3 true false
workflow-step-api 2.6 true false
workflow-support 2.11 true false
ws-cleanup 0.32 true false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment