├── ubuntu ├── scripts │ ├── install-git.sh │ ├── install-qemu-utils.sh │ ├── install-vmware-workstation.sh │ ├── install-vagrant.sh │ ├── install-vmware-vix.sh │ ├── install-vmware-player.sh │ ├── install-virtualbox.sh │ └── install-packer.sh └── Vagrantfile ├── pics ├── basebox-tests.png ├── basebox_slave.png ├── jenkins-jobs.png ├── jenkins-nodes.png └── jenkins-dogfood.png ├── .gitattributes ├── scripts ├── install-chocolatey.ps1 ├── reboot-to-slave.bat ├── provision-wsus.ps1 ├── install-xrdp.sh ├── install-wsus.ps1 ├── attach-jenkins-disk.bat ├── install-virtualbox-and-reboot.bat ├── provision-vmware-slave.sh ├── provision-virtualbox-slave.sh ├── install-packer-from-source.bat ├── provision-virtualbox-slave.bat ├── install-jenkins-server.sh ├── configure-wsus.ps1 └── install-jenkins-slave.bat ├── conf └── jenkins │ ├── jenkins.model.JenkinsLocationConfiguration.xml │ └── hudson.tasks.Mailer.xml ├── Gruntfile.js ├── package.json ├── start-slave-on-host.bat ├── LICENSE ├── bootstrap.bat ├── bootstrap.sh ├── jenkins-configuration ├── plugins.json ├── ubuntu1410_vcloud │ └── config.xml ├── sles11sp3_vcloud │ └── config.xml ├── ubuntu1204-100gb_vcloud │ └── config.xml ├── ubuntu1204-desktop_vcloud │ └── config.xml ├── ubuntu1204_vcloud │ └── config.xml ├── ubuntu1404-desktop_vcloud │ └── config.xml ├── ubuntu1404-docker_vcloud │ └── config.xml ├── ubuntu1404_vcloud │ └── config.xml ├── ubuntu1404-100gb_vcloud │ └── config.xml ├── windows_7_vcloud │ └── config.xml ├── windows_81_vcloud │ └── config.xml ├── windows_2008_r2-100gb_vcloud │ └── config.xml ├── windows_2008_r2_vcloud │ └── config.xml ├── windows_2012_r2-100gb_vcloud │ └── config.xml ├── windows_2012_r2_vcloud │ └── config.xml ├── windows_7_noupdates_vcloud │ └── config.xml ├── windows_2008_r2_core_vcloud │ └── config.xml ├── windows_2012_r2_core_vcloud │ └── config.xml ├── ubuntu1204_vmware │ └── config.xml ├── ubuntu1204-100gb_vmware │ └── config.xml ├── ubuntu1204_virtualbox │ └── config.xml ├── ubuntu1404-desktop_vmware │ └── config.xml ├── ubuntu1404-docker_vmware │ └── config.xml ├── ubuntu1404_vmware │ └── config.xml ├── ubuntu1410_vmware │ └── config.xml ├── sles11sp3_virtualbox │ └── config.xml ├── sles11sp3_vmware │ └── config.xml ├── ubuntu1204-desktop_virtualbox │ └── config.xml ├── ubuntu1204-desktop_vmware │ └── config.xml ├── ubuntu1404-100gb_vmware │ └── config.xml ├── ubuntu1404-desktop_virtualbox │ └── config.xml ├── ubuntu1404-docker_virtualbox │ └── config.xml ├── ubuntu1404_virtualbox │ └── config.xml ├── ubuntu1204-100gb_virtualbox │ └── config.xml ├── ubuntu1410_virtualbox │ └── config.xml ├── windows_7_virtualbox │ └── config.xml ├── windows_81_virtualbox │ └── config.xml ├── windows_2008_r2_vmware │ └── config.xml └── windows_2012_r2_virtualbox │ └── config.xml └── .gitignore /ubuntu/scripts/install-git.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | sudo apt-get install -y git 3 | -------------------------------------------------------------------------------- /ubuntu/scripts/install-qemu-utils.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | sudo apt-get install -y qemu-utils 3 | -------------------------------------------------------------------------------- /pics/basebox-tests.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StefanScherer/basebox-slave/HEAD/pics/basebox-tests.png -------------------------------------------------------------------------------- /pics/basebox_slave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StefanScherer/basebox-slave/HEAD/pics/basebox_slave.png -------------------------------------------------------------------------------- /pics/jenkins-jobs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StefanScherer/basebox-slave/HEAD/pics/jenkins-jobs.png -------------------------------------------------------------------------------- /pics/jenkins-nodes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StefanScherer/basebox-slave/HEAD/pics/jenkins-nodes.png -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # all batch scripts should be windowish 2 | *.bat text eol=crlf 3 | *.sh text eol=lf 4 | 5 | 6 | -------------------------------------------------------------------------------- /pics/jenkins-dogfood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StefanScherer/basebox-slave/HEAD/pics/jenkins-dogfood.png -------------------------------------------------------------------------------- /scripts/install-chocolatey.ps1: -------------------------------------------------------------------------------- 1 | iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) 2 | -------------------------------------------------------------------------------- /scripts/reboot-to-slave.bat: -------------------------------------------------------------------------------- 1 | rem Reboot to have all tools in PATH needed in jenkins slave 2 | shutdown /r /t 5 /c "Reboot to update PATH slave" 3 | 4 | -------------------------------------------------------------------------------- /scripts/provision-wsus.ps1: -------------------------------------------------------------------------------- 1 | # open ping for packer-windows builds, this deprecated command even works on 2012 R2 2 | netsh firewall set icmpsetting 8 3 | 4 | . C:\vagrant\scripts\install-wsus.ps1 5 | . C:\vagrant\scripts\configure-wsus.ps1 6 | -------------------------------------------------------------------------------- /scripts/install-xrdp.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # from http://c-nergy.be/blog/?p=5305 4 | echo "Installing RDP server ..." 5 | sudo apt-get install -y xrdp 6 | sudo apt-get install -y xfce4 7 | echo xfce4-session >~/.xsession 8 | sudo service xrdp restart 9 | -------------------------------------------------------------------------------- /ubuntu/scripts/install-vmware-workstation.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | wget -O VMware-Workstation.bundle --no-check-certificate http://www.vmware.com/go/tryworkstation-linux-64 3 | sudo sh ./VMware-Workstation.bundle --console --required --eulas-agreed 4 | rm ./VMware-Workstation.bundle 5 | -------------------------------------------------------------------------------- /ubuntu/scripts/install-vagrant.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "Downloading Vagrant 1.6.5 ..." 3 | wget --no-verbose -O /tmp/vagrant.deb https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.5_x86_64.deb 4 | echo "Installing Vagrant 1.6.5 ..." 5 | sudo dpkg -i /tmp/vagrant.deb 6 | rm /tmp/vagrant.deb 7 | -------------------------------------------------------------------------------- /ubuntu/scripts/install-vmware-vix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # wget https://download2.vmware.com/software/sdk/VMware-VIX-1.12.0-812388.x86_64.bundle 3 | # 403 forbidden: 4 | # and sorry, no eula agreed as well. 5 | 6 | sudo sh ./VMware-VIX-1.12.0-812388.x86_64.bundle --console --required 7 | 8 | 9 | -------------------------------------------------------------------------------- /conf/jenkins/jenkins.model.JenkinsLocationConfiguration.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | jenkins@basebox 4 | http://172.16.32.2/ 5 | 6 | -------------------------------------------------------------------------------- /ubuntu/scripts/install-vmware-player.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ ! -f VMware-Player-6.0.2-1744117.x86_64.bundle ]; then 3 | wget https://download3.vmware.com/software/player/file/VMware-Player-6.0.2-1744117.x86_64.bundle 4 | fi 5 | sudo sh ./VMware-Player-6.0.2-1744117.x86_64.bundle --console --eulas-agreed --required 6 | -------------------------------------------------------------------------------- /ubuntu/scripts/install-virtualbox.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib" | sudo tee -a /etc/apt/sources.list 3 | wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - 4 | sudo apt-get update 5 | sudo apt-get install -y virtualbox-4.3 6 | -------------------------------------------------------------------------------- /scripts/install-wsus.ps1: -------------------------------------------------------------------------------- 1 | Write-Host "Installing WSUS" 2 | # Install-WindowsFeature -Name UpdateServices-Services,UpdateServices-DB -IncludeManagementTools 3 | Install-WindowsFeature -Name UpdateServices -IncludeManagementTools 4 | 5 | cd "C:\Program Files\Update Services\Tools" 6 | .\wsusutil.exe postinstall CONTENT_DIR=C:\WSUS 7 | 8 | -------------------------------------------------------------------------------- /conf/jenkins/hudson.tasks.Mailer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | http://10.100.50.4:2200/ 4 | mailrelay.roett.de.sealsystems.com 5 | false 6 | UTF-8 7 | 8 | -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | grunt.initConfig({ 3 | jenkins: { 4 | serverAddress: 'http://10.100.50.4', 5 | // username: 'vagrant', 6 | // password: 'vagrant', 7 | pipelineDirectory: 'jenkins-configuration' 8 | } 9 | }) 10 | grunt.loadNpmTasks('grunt-jenkins'); 11 | grunt.registerTask('default', ['jenkins-list']); 12 | }; 13 | -------------------------------------------------------------------------------- /scripts/attach-jenkins-disk.bat: -------------------------------------------------------------------------------- 1 | setlocal 2 | 3 | set DP=%TEMP%\diskpart.txt 4 | set MOUNTPOINT=c:\jenkins 5 | mkdir %MOUNTPOINT% 6 | echo select disk 1 >%DP% 7 | echo attributes disk clear readonly >>%DP% 8 | echo online disk >>%DP% 9 | echo create partition primary >>%DP% 10 | echo format quick >>%DP% 11 | echo assign mount=%MOUNTPOINT% >>%DP% 12 | 13 | diskpart /s %DP% 14 | 15 | del %DP% 16 | -------------------------------------------------------------------------------- /ubuntu/scripts/install-packer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | sudo mkdir /opt/packer 3 | cd /opt/packer 4 | echo "Downloading packer 0.7.1..." 5 | sudo wget --no-verbose https://dl.bintray.com/mitchellh/packer/0.7.1_linux_amd64.zip 6 | echo "Installing packer 0.7.1..." 7 | sudo unzip 0.7.1_linux_amd64.zip 8 | sudo rm 0.7.1_linux_amd64.zip 9 | cd /usr/bin 10 | sudo ln -s /opt/packer/* . 11 | if [ ! -f /opt/packer/packer ]; then 12 | sudo ln -s /opt/packer/packer-packer packer 13 | fi 14 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "jenkins-box", 3 | "version": "0.0.1", 4 | "description": "Setup a VM with Jenkins ready to be used as a CI server.", 5 | "main": "Gruntfile.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1", 8 | "jenkins": "grunt" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "git://github.com/StefanScherer/basebox-slave" 13 | }, 14 | "keywords": [ 15 | "jenkins", 16 | "ci", 17 | "vm", 18 | "vagrant", 19 | "ruby" 20 | ], 21 | "author": "Stefan Scherer", 22 | "license": "MIT", 23 | "readmeFilename": "README.md", 24 | "devDependencies": { 25 | "grunt": "0.4.5", 26 | "grunt-contrib-jshint": "0.10.0", 27 | "grunt-contrib-nodeunit": "0.4.0", 28 | "grunt-jenkins": "0.5.0" 29 | }, 30 | "dependencies": {} 31 | } 32 | -------------------------------------------------------------------------------- /start-slave-on-host.bat: -------------------------------------------------------------------------------- 1 | if exist c:\jenkins\swarm-client.jar goto :startslave 2 | 3 | if not exist c:\jenkins mkdir c:\jenkins 4 | 5 | if not exist c:\jenkins\swarm-client.jar ( 6 | if exist c:\vagrant\resources\swarm-client.jar ( 7 | copy c:\vagrant\resources\swarm-client.jar c:\jenkins\swarm-client.jar 8 | ) else ( 9 | call wget --no-verbose -O c:\jenkins\swarm-client.jar http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/swarm-client/1.16/swarm-client-1.16-jar-with-dependencies.jar 10 | ) 11 | ) 12 | 13 | :startslave 14 | set labels=windows 15 | 16 | if exist "c:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe" ( 17 | set labels=%labels% vmware 18 | ) 19 | if exist "c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" ( 20 | set labels=%labels% virtualbox 21 | ) 22 | 23 | start java -jar c:\jenkins\swarm-client.jar -autoDiscoveryAddress 172.16.32.255 -executors 1 -labels "%labels%" -fsroot c:\jenkins 24 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Stefan Scherer 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /ubuntu/Vagrantfile: -------------------------------------------------------------------------------- 1 | # -*- mode: ruby -*- 2 | # vi: set ft=ruby : 3 | 4 | # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! 5 | VAGRANTFILE_API_VERSION = "2" 6 | 7 | Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| 8 | # All Vagrant configuration is done here. The most common configuration 9 | # options are documented and commented below. For a complete reference, 10 | # please see the online documentation at vagrantup.com. 11 | 12 | # Every Vagrant virtual environment requires a box to build off of. 13 | config.vm.box = "ubuntu1404-desktop" 14 | 15 | config.vm.provision "shell", path: "scripts/install-git.sh" 16 | # config.vm.provision "shell", path: "scripts/install-packer.sh" 17 | # config.vm.provision "shell", path: "scripts/install-vagrant.sh" 18 | # config.vm.provision "shell", path: "scripts/install-virtualbox.sh" 19 | 20 | config.vm.provider "vcloud" do |v| 21 | v.memory = 4096 22 | v.cpus = 2 23 | v.nested_hypervisor = true 24 | end 25 | config.vm.provider :virtualbox do |v| 26 | v.gui = true 27 | v.memory = 2048 28 | v.cpus = 2 29 | v.customize ["modifyvm", :id, "--clipboard", "bidirectional"] 30 | v.customize ["modifyvm", :id, "--vram", "32"] 31 | end 32 | 33 | end 34 | -------------------------------------------------------------------------------- /scripts/install-virtualbox-and-reboot.bat: -------------------------------------------------------------------------------- 1 | rem this script will be called from provision-virtualbox-slave.bat 2 | rem in an asynchronous way, because installation of VirtualBox drops 3 | rem all network connections. An so a vagrant provision would hang. 4 | rem As we also want to reboot the machine to have updated PATH in all 5 | rem services this is a working workaround. 6 | 7 | if "%ChocolateyInstall%x"=="x" set ChocolateyInstall=%ALLUSERSPROFILE%\Chocolatey 8 | where cinst 9 | if ERRORLEVEL 1 goto set_chocolatey 10 | goto inst 11 | :set_chocolatey 12 | set PATH=%PATH%;%ChocolateyInstall%\bin 13 | :inst 14 | 15 | cinst -y VirtualBox -version 5.0.0.101573 16 | where vboxmanage 17 | if ERRORLEVEL 1 call :addVBoxToSystemPath 18 | goto VBOX_DONE 19 | :addVBoxToSystemPath 20 | for /F "tokens=2* delims= " %%f IN ('reg query "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v Path ^| findstr /i path') do set OLD_SYSTEM_PATH=%%g 21 | reg add "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v Path /d "%OLD_SYSTEM_PATH%;C:\Program Files\Oracle\VirtualBox" /f 22 | set PATH=%PATH%;C:\Program Files\Oracle\VirtualBox 23 | exit /b 24 | :VBOX_DONE 25 | 26 | rem Reboot to have all tools in PATH needed in jenkins slave 27 | shutdown /r /t 5 /c "Reboot to update PATH slave" 28 | -------------------------------------------------------------------------------- /bootstrap.bat: -------------------------------------------------------------------------------- 1 | if not exist resources ( 2 | mkdir resources 3 | ) 4 | if not exist resources\Vagrantfile-global ( 5 | if exist C:\vagrant\resources\basebox-slave\Vagrantfile-global ( 6 | echo Deploying Vagrantfile-global from Host to vApp sync folder 7 | copy /Y C:\vagrant\resources\basebox-slave\Vagrantfile-global resources\Vagrantfile-global 8 | ) 9 | ) 10 | if not exist resources\test-box-vcloud-credentials.bat ( 11 | if exist C:\vagrant\resources\basebox-slave\test-box-vcloud-credentials.bat ( 12 | echo Deploying test-box-vcloud-credentials.bat from Host to vApp sync folder 13 | copy /Y C:\vagrant\resources\basebox-slave\test-box-vcloud-credentials.bat resources\test-box-vcloud-credentials.bat 14 | ) 15 | ) 16 | if not exist resources\upload-vcloud-credentials.bat ( 17 | if exist C:\vagrant\resources\basebox-slave\upload-vcloud-credentials.bat ( 18 | echo Deploying upload-vcloud-credentials.bat from Host to vApp sync folder 19 | copy /Y C:\vagrant\resources\basebox-slave\upload-vcloud-credentials.bat resources\upload-vcloud-credentials.bat 20 | ) 21 | ) 22 | if not exist resources\hosts ( 23 | if exist C:\vagrant\resources\basebox-slave\hosts ( 24 | echo Deploying additional hosts entries 25 | copy /Y C:\vagrant\resources\basebox-slave\hosts resources\hosts 26 | ) 27 | ) 28 | if not exist resources\license.lic ( 29 | if exist C:\vagrant\resources\basebox-slave\license.lic ( 30 | echo Deploying Vagrant VMware Workstation license.lic 31 | copy /Y C:\vagrant\resources\basebox-slave\license.lic resources\license.lic 32 | ) 33 | ) 34 | -------------------------------------------------------------------------------- /bootstrap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ ! -d resources/ ]; then 3 | mkdir -p resources 4 | fi 5 | if [ ! -f resources/Vagrantfile-global ]; then 6 | if [ -f /vagrant/resources/basebox-slave/Vagrantfile-global ]; then 7 | echo "Deploying Vagrantfile-global from Host to vApp sync folder" 8 | cp /vagrant/resources/basebox-slave/Vagrantfile-global resources/Vagrantfile-global 9 | fi 10 | fi 11 | if [ ! -f resources/test-box-vcloud-credentials.bat ]; then 12 | if [ -f /vagrant/resources/basebox-slave/test-box-vcloud-credentials.bat ]; then 13 | echo "Deploying test-box-vcloud-credentials.bat from Host to vApp sync folder" 14 | cp /vagrant/resources/basebox-slave/test-box-vcloud-credentials.bat resources/test-box-vcloud-credentials.bat 15 | fi 16 | fi 17 | if [ ! -f resources/upload-vcloud-credentials.bat ]; then 18 | if [ -f /vagrant/resources/basebox-slave/upload-vcloud-credentials.bat ]; then 19 | echo "Deploying upload-vcloud-credentials.bat from Host to vApp sync folder" 20 | cp /vagrant/resources/basebox-slave/upload-vcloud-credentials.bat resources/upload-vcloud-credentials.bat 21 | fi 22 | fi 23 | if [ ! -f resources/hosts ]; then 24 | if [ -f /vagrant/resources/basebox-slave/hosts ]; then 25 | echo "Deploying additional hosts entries" 26 | cp /vagrant/resources/basebox-slave/hosts resources/hosts 27 | fi 28 | fi 29 | if [ ! -f resources/license.lic ]; then 30 | if [ -f /vagrant/resources/basebox-slave/license.lic ]; then 31 | echo "Deploying Vagrant VMware Workstation license.lic" 32 | cp /vagrant/resources/basebox-slave/license.lic resources/license.lic 33 | fi 34 | fi 35 | if [ ! -f resources/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml ]; then 36 | if [ -f /vagrant/resources/basebox-slave/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml ]; then 37 | echo "Deploying Publish Over SSH Configuration jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml" 38 | cp /vagrant/resources/basebox-slave/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml resources/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml 39 | fi 40 | fi 41 | -------------------------------------------------------------------------------- /jenkins-configuration/plugins.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id": "mailer", 4 | "version": "1.15" 5 | }, 6 | { 7 | "id": "javadoc", 8 | "version": "1.3" 9 | }, 10 | { 11 | "id": "matrix-auth", 12 | "version": "1.2" 13 | }, 14 | { 15 | "id": "scm-api", 16 | "version": "0.2" 17 | }, 18 | { 19 | "id": "script-security", 20 | "version": "1.13" 21 | }, 22 | { 23 | "id": "junit", 24 | "version": "1.6" 25 | }, 26 | { 27 | "id": "publish-over-ssh", 28 | "version": "1.13" 29 | }, 30 | { 31 | "id": "external-monitor-job", 32 | "version": "1.4" 33 | }, 34 | { 35 | "id": "antisamy-markup-formatter", 36 | "version": "1.3" 37 | }, 38 | { 39 | "id": "analysis-core", 40 | "version": "1.72" 41 | }, 42 | { 43 | "id": "ansicolor", 44 | "version": "0.4.1" 45 | }, 46 | { 47 | "id": "credentials", 48 | "version": "1.22" 49 | }, 50 | { 51 | "id": "ldap", 52 | "version": "1.11" 53 | }, 54 | { 55 | "id": "text-finder", 56 | "version": "1.10" 57 | }, 58 | { 59 | "id": "windows-slaves", 60 | "version": "1.0" 61 | }, 62 | { 63 | "id": "maven-plugin", 64 | "version": "2.7.1" 65 | }, 66 | { 67 | "id": "ant", 68 | "version": "1.2" 69 | }, 70 | { 71 | "id": "swarm", 72 | "version": "1.24" 73 | }, 74 | { 75 | "id": "ssh-credentials", 76 | "version": "1.10" 77 | }, 78 | { 79 | "id": "timestamper", 80 | "version": "1.7" 81 | }, 82 | { 83 | "id": "subversion", 84 | "version": "1.54" 85 | }, 86 | { 87 | "id": "translation", 88 | "version": "1.10" 89 | }, 90 | { 91 | "id": "matrix-project", 92 | "version": "1.4.1" 93 | }, 94 | { 95 | "id": "ws-cleanup", 96 | "version": "0.26" 97 | }, 98 | { 99 | "id": "git", 100 | "version": "2.3.5" 101 | }, 102 | { 103 | "id": "pam-auth", 104 | "version": "1.1" 105 | }, 106 | { 107 | "id": "greenballs", 108 | "version": "1.14" 109 | }, 110 | { 111 | "id": "ssh-slaves", 112 | "version": "1.9" 113 | }, 114 | { 115 | "id": "git-client", 116 | "version": "1.17.1" 117 | }, 118 | { 119 | "id": "mapdb-api", 120 | "version": "1.0.6.0" 121 | }, 122 | { 123 | "id": "bulk-builder", 124 | "version": "1.5" 125 | }, 126 | { 127 | "id": "pegdown-formatter", 128 | "version": "1.3" 129 | }, 130 | { 131 | "id": "checkstyle", 132 | "version": "3.42" 133 | }, 134 | { 135 | "id": "cvs", 136 | "version": "2.12" 137 | } 138 | ] -------------------------------------------------------------------------------- /scripts/provision-vmware-slave.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # switch Ubuntu download mirror to German server 4 | sudo sed -i 's,http://us.archive.ubuntu.com/ubuntu/,http://ftp.fau.de/ubuntu/,' /etc/apt/sources.list 5 | sudo sed -i 's,http://security.ubuntu.com/ubuntu,http://ftp.fau.de/ubuntu,' /etc/apt/sources.list 6 | sudo apt-get update -qq 7 | 8 | # set timezone to German timezone 9 | echo "Europe/Berlin" | sudo tee /etc/timezone 10 | sudo dpkg-reconfigure -f noninteractive tzdata 11 | 12 | # install git 13 | sudo apt-get install -qq git unzip 14 | 15 | # install packer 16 | sudo mkdir /opt/packer 17 | pushd /opt/packer 18 | echo "Downloading packer 0.8.5..." 19 | sudo wget --no-verbose https://dl.bintray.com/mitchellh/packer/0.8.5_linux_amd64.zip 20 | echo "Installing packer 0.8.5..." 21 | sudo unzip 0.8.5_linux_amd64.zip 22 | sudo rm 0.8.5_linux_amd64.zip 23 | pushd /usr/bin 24 | sudo ln -s /opt/packer/* . 25 | popd 26 | 27 | echo "Downloading packer-post-processor-vagrant-vmware-ovf 0.2.0 ..." 28 | wget --no-verbose https://github.com/gosddc/packer-post-processor-vagrant-vmware-ovf/releases/download/v0.2.0/packer-post-processor-vagrant-vmware-ovf.linux-amd64.tar.gz 29 | tar xzf packer-post-processor-vagrant-vmware-ovf.linux-amd64.tar.gz 30 | sudo ln -s /opt/packer/packer-post-processor-vagrant-vmware-ovf /usr/bin/packer-post-processor-vagrant-vmware-ovf 31 | rm packer-post-processor-vagrant-vmware-ovf.linux-amd64.tar.gz 32 | popd 33 | 34 | echo "Downloading Vagrant 1.7.4 ..." 35 | wget --no-verbose -O /tmp/vagrant.deb https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.4_x86_64.deb 36 | echo "Installing Vagrant 1.7.4 ..." 37 | sudo dpkg -i /tmp/vagrant.deb 38 | rm /tmp/vagrant.deb 39 | 40 | echo "Installing varant-serverspec plugin ..." 41 | vagrant plugin install vagrant-serverspec 42 | 43 | echo "Installing Stefan's vagrant-vcloud plugin 0.4.4 ..." 44 | wget --no-verbose --no-check-certificate -O vagrant-vcloud-0.4.4.gem https://github.com/StefanScherer/vagrant-vcloud/releases/download/v0.4.4/vagrant-vcloud-0.4.4.gem 45 | vagrant plugin install vagrant-vcloud-0.4.4.gem 46 | 47 | # workaround in box-cutter/ubuntu1404's minimize.sh removes /usr/src/* but does not remove packages 48 | sudo apt-get remove -qq linux-headers-3.13.0-32-generic 49 | sudo apt-get remove -qq linux-headers-3.13.0-32 50 | # sudo apt-get install -qq linux-headers-3.13.0-32 51 | sudo apt-get install -qq linux-headers-$(uname -r) 52 | sudo apt-get install -qq dkms 53 | 54 | echo "Downloading VMware Workstation 11 ..." 55 | wget --no-verbose -O VMware-Workstation.bundle --no-check-certificate http://www.vmware.com/go/tryworkstation-linux-64 56 | sudo sh ./VMware-Workstation.bundle --console --required --eulas-agreed 57 | rm ./VMware-Workstation.bundle 58 | -------------------------------------------------------------------------------- /scripts/provision-virtualbox-slave.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # switch Ubuntu download mirror to German server 4 | sudo sed -i 's,http://us.archive.ubuntu.com/ubuntu/,http://ftp.fau.de/ubuntu/,' /etc/apt/sources.list 5 | sudo sed -i 's,http://security.ubuntu.com/ubuntu,http://ftp.fau.de/ubuntu,' /etc/apt/sources.list 6 | sudo apt-get update -qq 7 | 8 | # set timezone to German timezone 9 | echo "Europe/Berlin" | sudo tee /etc/timezone 10 | sudo dpkg-reconfigure -f noninteractive tzdata 11 | 12 | # install git 13 | sudo apt-get install -qq git unzip 14 | 15 | # install packer 16 | sudo mkdir /opt/packer 17 | cd /opt/packer 18 | echo "Downloading packer 0.8.5..." 19 | sudo wget --no-verbose https://dl.bintray.com/mitchellh/packer/0.8.5_linux_amd64.zip 20 | echo "Installing packer 0.8.5..." 21 | sudo unzip 0.8.5_linux_amd64.zip 22 | sudo rm 0.8.5_linux_amd64.zip 23 | cd /usr/bin 24 | sudo ln -s /opt/packer/* . 25 | 26 | 27 | echo "Downloading Vagrant 1.7.4 ..." 28 | wget --no-verbose -O /tmp/vagrant.deb https://dl.bintray.com/mitchellh/vagrant/vagrant_1.7.4_x86_64.deb 29 | echo "Installing Vagrant 1.7.4 ..." 30 | sudo dpkg -i /tmp/vagrant.deb 31 | rm /tmp/vagrant.deb 32 | 33 | echo "Installing varant-serverspec plugin ..." 34 | vagrant plugin install vagrant-serverspec 35 | 36 | echo "Installing VirtualBox 4.3.16 ..." 37 | # workaround in box-cutter/ubuntu1404's minimize.sh removes /usr/src/* but does not remove packages 38 | sudo apt-get remove -qq linux-headers-3.13.0-32-generic 39 | sudo apt-get remove -qq linux-headers-3.13.0-32 40 | # sudo apt-get install -qq linux-headers-3.13.0-32 41 | sudo apt-get install -qq linux-headers-$(uname -r) 42 | sudo apt-get install -qq dkms 43 | UBUNTU_VERSION=`lsb_release -c | grep -o "\S*$"` 44 | echo "deb http://download.virtualbox.org/virtualbox/debian $UBUNTU_VERSION contrib" | sudo tee -a /etc/apt/sources.list 45 | wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - 46 | sudo apt-get update 47 | 48 | echo "Installing VirtualBox delayed ..." 49 | # the next command will be called 50 | # in an asynchronous way, because installation of VirtualBox drops 51 | # all network connections. An so a vagrant provision would hang. 52 | # As we also want to reboot the machine to have updated PATH in all 53 | # services this is a working workaround. 54 | cat </tmp/delayed-install-virtualbox.sh 55 | #!/bin/bash 56 | echo "Starting $0" >>/home/vagrant/delayed-install-vagrant.log 57 | sleep 5 58 | sudo apt-get install -y virtualbox-4.3 >>/home/vagrant/delayed-install-vagrant.log 59 | echo "vboxdrv setup ..." >>/home/vagrant/delayed-install-vagrant.log 60 | sudo /etc/init.d/vboxdrv setup >>/home/vagrant/delayed-install-vagrant.log 61 | echo "Starting Jenkins Swarm Client ..." >>/home/vagrant/delayed-install-vagrant.log 62 | sudo service swarm-client start >>/home/vagrant/delayed-install-vagrant.log 63 | DELAY_SCRIPT 64 | sudo chmod +x /tmp/delayed-install-virtualbox.sh 65 | /tmp/delayed-install-virtualbox.sh 2>&1 >/dev/null & 66 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.sln.docstates 8 | 9 | # Build results 10 | 11 | [Dd]ebug/ 12 | [Rr]elease/ 13 | x64/ 14 | build/ 15 | [Bb]in/ 16 | [Oo]bj/ 17 | 18 | # Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets 19 | !packages/*/build/ 20 | 21 | # MSTest test Results 22 | [Tt]est[Rr]esult*/ 23 | [Bb]uild[Ll]og.* 24 | 25 | *_i.c 26 | *_p.c 27 | *.ilk 28 | *.meta 29 | *.obj 30 | *.pch 31 | *.pdb 32 | *.pgc 33 | *.pgd 34 | *.rsp 35 | *.sbr 36 | *.tlb 37 | *.tli 38 | *.tlh 39 | *.tmp 40 | *.tmp_proj 41 | *.log 42 | *.vspscc 43 | *.vssscc 44 | .builds 45 | *.pidb 46 | *.log 47 | *.scc 48 | 49 | # Visual C++ cache files 50 | ipch/ 51 | *.aps 52 | *.ncb 53 | *.opensdf 54 | *.sdf 55 | *.cachefile 56 | 57 | # Visual Studio profiler 58 | *.psess 59 | *.vsp 60 | *.vspx 61 | 62 | # Guidance Automation Toolkit 63 | *.gpState 64 | 65 | # ReSharper is a .NET coding add-in 66 | _ReSharper*/ 67 | *.[Rr]e[Ss]harper 68 | 69 | # TeamCity is a build add-in 70 | _TeamCity* 71 | 72 | # DotCover is a Code Coverage Tool 73 | *.dotCover 74 | 75 | # NCrunch 76 | *.ncrunch* 77 | .*crunch*.local.xml 78 | 79 | # Installshield output folder 80 | [Ee]xpress/ 81 | 82 | # DocProject is a documentation generator add-in 83 | DocProject/buildhelp/ 84 | DocProject/Help/*.HxT 85 | DocProject/Help/*.HxC 86 | DocProject/Help/*.hhc 87 | DocProject/Help/*.hhk 88 | DocProject/Help/*.hhp 89 | DocProject/Help/Html2 90 | DocProject/Help/html 91 | 92 | # Click-Once directory 93 | publish/ 94 | 95 | # Publish Web Output 96 | *.Publish.xml 97 | *.pubxml 98 | 99 | # NuGet Packages Directory 100 | ## TODO: If you have NuGet Package Restore enabled, uncomment the next line 101 | #packages/ 102 | 103 | # Windows Azure Build Output 104 | csx 105 | *.build.csdef 106 | 107 | # Windows Store app package directory 108 | AppPackages/ 109 | 110 | # Others 111 | sql/ 112 | *.Cache 113 | ClientBin/ 114 | [Ss]tyle[Cc]op.* 115 | ~$* 116 | *~ 117 | *.dbmdl 118 | *.[Pp]ublish.xml 119 | *.pfx 120 | *.publishsettings 121 | 122 | # RIA/Silverlight projects 123 | Generated_Code/ 124 | 125 | # Backup & report files from converting an old project file to a newer 126 | # Visual Studio version. Backup files are not needed, because we have git ;-) 127 | _UpgradeReport_Files/ 128 | Backup*/ 129 | UpgradeLog*.XML 130 | UpgradeLog*.htm 131 | 132 | # SQL Server files 133 | App_Data/*.mdf 134 | App_Data/*.ldf 135 | 136 | # ========================= 137 | # Windows detritus 138 | # ========================= 139 | 140 | # Windows image file caches 141 | Thumbs.db 142 | ehthumbs.db 143 | 144 | # Folder config file 145 | Desktop.ini 146 | 147 | # Recycle Bin used on file shares 148 | $RECYCLE.BIN/ 149 | 150 | # Mac crap 151 | .DS_Store 152 | 153 | .vagrant 154 | *.log 155 | *.txt 156 | *.swp 157 | 158 | resources 159 | node_modules 160 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1410_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | scherer_stefan@icloud.com 45 | false 46 | false 47 | 48 | 49 | 50 | 51 | packer_cache 52 | INCLUDE 53 | 54 | 55 | true 56 | false 57 | true 58 | true 59 | true 60 | true 61 | true 62 | false 63 | false 64 | 65 | 66 | 67 | 68 | 69 | xterm 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /scripts/install-packer-from-source.bat: -------------------------------------------------------------------------------- 1 | 2 | if exist %WinDir%\microsoft.net\framework\v4.0.30319 goto :have_net 3 | echo Ensuring .NET 4.0 is installed 4 | @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://raw.github.com/StefanScherer/arduino-ide/install/InstallNet4.ps1'))" 5 | :have_net 6 | if "%ChocolateyInstall%x"=="x" set ChocolateyInstall=%ALLUSERSPROFILE%\Chocolatey 7 | if exist %ChocolateyInstall% goto :have_choco 8 | echo Installing Chocolatey 9 | @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin 10 | :have_choco 11 | 12 | where cinst 13 | if ERRORLEVEL 1 goto set_chocolatey 14 | goto inst 15 | :set_chocolatey 16 | set PATH=%PATH%;%ChocolateyInstall%\bin 17 | :inst 18 | 19 | :install_packer 20 | 21 | if exist c:\go\bin goto :have_golang 22 | cinst -y golang 23 | set PATH=%PATH%;c:\go\bin 24 | :have_golang 25 | 26 | cinst -y git 27 | where git 28 | if ERRORLEVEL 1 call :addGitToUserPath 29 | goto GIT_DONE 30 | :addGitToUserPath 31 | for /F "tokens=2* delims= " %%f IN ('reg query "HKCU\Environment" /v Path ^| findstr /i path') do set OLD_USER_PATH=%%g 32 | reg add HKCU\Environment /v Path /d "%OLD_USER_PATH%;C:\Program Files (x86)\Git\cmd" /f 33 | set PATH=%PATH%;C:\Program Files (x86)\Git\cmd 34 | exit /b 35 | :GIT_DONE 36 | 37 | cinst -y bzr 38 | set PATH=%PATH%;c:\program files (x86)\Bazaar 39 | 40 | cinst -y hg 41 | set PATH=%PATH%;c:\program files\Mercurial 42 | 43 | set GOPATH=C:\users\vagrant\go 44 | setx GOPATH C:\users\vagrant\go 45 | 46 | mkdir %GOPATH%\bin 47 | 48 | call :addGoPathToSystemPath 49 | goto GOPATH_DONE 50 | :addGoPathToSystemPath 51 | for /F "tokens=2* delims= " %%f IN ('reg query "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v Path ^| findstr /i path') do set OLD_SYSTEM_PATH=%%g 52 | reg add "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v Path /d "%OLD_SYSTEM_PATH%;%GOPATH%\bin" /f 53 | set PATH=%PATH%;%GOPATH%\bin 54 | exit /b 55 | :GOPATH_DONE 56 | 57 | 58 | if exist %GOPATH%\bin\packer.exe goto :packer_compiled 59 | echo Downloading and compiling packer 60 | go get github.com/mitchellh/packer 61 | cd /D %GOPATH%\src\github.com\mitchellh\packer 62 | go get ./... 63 | cd /D %GOPATH%\bin 64 | for /f "tokens=1" %%i in ('dir /b builder* command* post* provision*') DO if exist packer-%%i del packer-%%i 65 | for /f "tokens=1" %%i in ('dir /b builder* command* post* provision*') DO ren %%i packer-%%i 66 | :packer_compiled 67 | 68 | echo Downloading and compiling packer-post-processor-vagrant-vmware-ovf 69 | go get github.com/gosddc/packer-post-processor-vagrant-vmware-ovf 70 | 71 | set packerconfig=%AppData%\packer.config 72 | echo { > %packerconfig% 73 | echo "post-processors": { >> %packerconfig% 74 | echo "vagrant-vmware-ovf": "packer-post-processor-vagrant-vmware-ovf" >> %packerconfig% 75 | echo } >> %packerconfig% 76 | echo } >> %packerconfig% 77 | 78 | rem Windows 2012 R2 will start jenkins slave as user vagrant, but with USERPROFILE=C:\Users\Default, so write it there, too. 79 | if not exist C:\Users\Default\AppData\Roaming\packer.config ( 80 | if exist C:\Users\vagrant\AppData\Roaming\packer.config ( 81 | copy C:\Users\vagrant\AppData\Roaming\packer.config C:\Users\Default\AppData\Roaming\packer.config 82 | ) 83 | ) 84 | 85 | cd /D %USERPROFILE% 86 | where packer 87 | packer --version 88 | -------------------------------------------------------------------------------- /jenkins-configuration/sles11sp3_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/sles-vm 12 | 13 | 14 | 15 | 16 | */master 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | AND 50 | 51 | 52 | true 53 | true 54 | 55 | 56 | 57 | 58 | 59 | scherer_stefan@icloud.com 60 | false 61 | false 62 | 63 | 64 | 65 | 66 | packer_cache 67 | INCLUDE 68 | 69 | 70 | true 71 | false 72 | true 73 | true 74 | true 75 | true 76 | true 77 | false 78 | false 79 | 80 | 81 | 82 | 83 | 84 | xterm 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1204-100gb_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | AND 49 | 50 | 51 | true 52 | true 53 | 54 | 55 | 56 | 57 | 58 | scherer_stefan@icloud.com 59 | false 60 | false 61 | 62 | 63 | 64 | 65 | packer_cache 66 | INCLUDE 67 | 68 | 69 | true 70 | false 71 | true 72 | true 73 | true 74 | true 75 | true 76 | false 77 | false 78 | 79 | 80 | 81 | 82 | 83 | 84 | xterm 85 | 86 | 87 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1204-desktop_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | AND 49 | 50 | 51 | true 52 | true 53 | 54 | 55 | 56 | 57 | 58 | scherer_stefan@icloud.com 59 | false 60 | false 61 | 62 | 63 | 64 | 65 | packer_cache 66 | INCLUDE 67 | 68 | 69 | true 70 | false 71 | true 72 | true 73 | true 74 | true 75 | true 76 | false 77 | false 78 | 79 | 80 | 81 | 82 | 83 | 84 | xterm 85 | 86 | 87 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1204_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | AND 49 | 50 | 51 | true 52 | true 53 | 55 | 56 | 57 | 58 | 59 | scherer_stefan@icloud.com 60 | false 61 | false 62 | 63 | 64 | 65 | 66 | packer_cache 67 | INCLUDE 68 | 69 | 70 | true 71 | false 72 | true 73 | true 74 | true 75 | true 76 | true 77 | false 78 | false 79 | 80 | 81 | 82 | 83 | 84 | 85 | xterm 86 | 87 | 88 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404-desktop_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | AND 49 | 50 | 51 | true 52 | true 53 | 55 | 56 | 57 | 58 | 59 | scherer_stefan@icloud.com 60 | false 61 | false 62 | 63 | 64 | 65 | 66 | packer_cache 67 | INCLUDE 68 | 69 | 70 | true 71 | false 72 | true 73 | true 74 | true 75 | true 76 | true 77 | false 78 | false 79 | 80 | 81 | 82 | 83 | 84 | 85 | xterm 86 | 87 | 88 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404-docker_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | AND 49 | 50 | 51 | true 52 | true 53 | 55 | 56 | 57 | 58 | 59 | scherer_stefan@icloud.com 60 | false 61 | false 62 | 63 | 64 | 65 | 66 | packer_cache 67 | INCLUDE 68 | 69 | 70 | true 71 | false 72 | true 73 | true 74 | true 75 | true 76 | true 77 | false 78 | false 79 | 80 | 81 | 82 | 83 | 84 | 85 | xterm 86 | 87 | 88 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | AND 50 | 51 | 52 | true 53 | true 54 | 56 | 57 | 58 | 59 | 60 | scherer_stefan@icloud.com 61 | false 62 | false 63 | 64 | 65 | 66 | 67 | packer_cache 68 | INCLUDE 69 | 70 | 71 | true 72 | false 73 | true 74 | true 75 | true 76 | true 77 | true 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | 85 | 86 | xterm 87 | 88 | 89 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404-100gb_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | AND 50 | 51 | 52 | true 53 | true 54 | 56 | 57 | 58 | 59 | 60 | scherer_stefan@icloud.com 61 | false 62 | false 63 | 64 | 65 | 66 | 67 | packer_cache 68 | INCLUDE 69 | 70 | 71 | true 72 | false 73 | true 74 | true 75 | true 76 | true 77 | true 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | 85 | xterm 86 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /scripts/provision-virtualbox-slave.bat: -------------------------------------------------------------------------------- 1 | if exist c:\vagrant\resources\provisionfirst.bat call c:\vagrant\resources\provisionfirst.bat 2 | 3 | call c:\vagrant\scripts\attach-jenkins-disk.bat 4 | 5 | if exist %WinDir%\microsoft.net\framework\v4.0.30319 goto :have_net 6 | echo Ensuring .NET 4.0 is installed 7 | @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://raw.github.com/StefanScherer/arduino-ide/install/InstallNet4.ps1'))" 8 | :have_net 9 | if "%ChocolateyInstall%x"=="x" set ChocolateyInstall=%ALLUSERSPROFILE%\Chocolatey 10 | if exist %ChocolateyInstall% goto :have_chocolatey 11 | echo Installing Chocolatey 12 | @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin 13 | :have_chocolatey 14 | 15 | where cinst 16 | if ERRORLEVEL 1 goto set_chocolatey 17 | goto inst 18 | :set_chocolatey 19 | set PATH=%PATH%;%ChocolateyInstall%\bin 20 | :inst 21 | 22 | cinst -y curl 23 | 24 | cinst -y msysgit 25 | where git 26 | if ERRORLEVEL 1 call :addGitToUserPath 27 | goto GIT_DONE 28 | :addGitToUserPath 29 | for /F "tokens=2* delims= " %%f IN ('reg query "HKCU\Environment" /v Path ^| findstr /i path') do set OLD_USER_PATH=%%g 30 | reg add HKCU\Environment /v Path /d "%OLD_USER_PATH%;C:\Program Files (x86)\Git\cmd" /f 31 | set PATH=%PATH%;C:\Program Files (x86)\Git\cmd 32 | exit /b 33 | :GIT_DONE 34 | 35 | cinst -y packer -version 0.8.5 36 | where packer 37 | if ERRORLEVEL 1 call :addPackerToSystemPath 38 | goto PACKER_DONE 39 | :addPackerToSystemPath 40 | for /F "tokens=2* delims= " %%f IN ('reg query "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v Path ^| findstr /i path') do set OLD_SYSTEM_PATH=%%g 41 | reg add "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v Path /d "%OLD_SYSTEM_PATH%;C:\hashicorp\packer" /f 42 | set PATH=%PATH%;C:\hashicorp\packer 43 | exit /b 44 | :PACKER_DONE 45 | 46 | :packer_firewall 47 | netsh advfirewall firewall add rule name="packer-builder-vmware-iso" dir=in program="%ChocolateyInstall%\lib\packer\tools\packer-builder-vmware-iso.exe" action=allow 48 | netsh advfirewall firewall add rule name="packer-builder-virtualbox-iso" dir=in program="%ChocolateyInstall%\lib\packer\tools\packer-builder-virtualbox-iso.exe" action=allow 49 | netsh advfirewall firewall add rule name="packer-builder-vmware-iso" dir=in program="c:\Users\vagrant\go\bin\packer-builder-vmware-iso.exe" action=allow 50 | netsh advfirewall firewall add rule name="packer-builder-virtualbox-iso" dir=in program="c:\Users\vagrant\go\bin\packer-builder-virtualbox-iso.exe" action=allow 51 | 52 | if exist c:\hashicorp\vagrant goto :have_vagrant 53 | echo Installing Vagrant ... 54 | cinst -y vagrant 55 | set PATH=%PATH%;C:\hashicorp\vagrant\bin 56 | :have_vagrant 57 | 58 | echo Installing vagrant-serverspec ... 59 | vagrant plugin install vagrant-serverspec 60 | 61 | echo "Installing Jenkins Swarm Client" 62 | call c:\vagrant\scripts\install-jenkins-slave.bat virtualbox 63 | 64 | if exist "c:\Program Files\Oracle\VirtualBox" goto :have_vbox 65 | echo Installing VirtualBox - delayed - guest will reboot 66 | start c:\vagrant\scripts\install-virtualbox-and-reboot.bat 67 | :have_vbox 68 | 69 | if exist C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.7.3\plugins\providers\virtualbox\driver\version_5_0.rb ( 70 | echo Patching Vagrant 1.7.3 VirtualBox provider 71 | copy /Y C:\vagrant\scripts\version_5_0.rb C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.7.3\plugins\providers\virtualbox\driver\version_5_0.rb 72 | ) 73 | 74 | if exist C:\vagrant\resources\hosts ( 75 | echo Appending additional hosts entries 76 | copy C:\Windows\System32\drivers\etc\hosts + C:\vagrant\resources\hosts C:\Windows\System32\drivers\etc\hosts 77 | ) 78 | -------------------------------------------------------------------------------- /scripts/install-jenkins-server.sh: -------------------------------------------------------------------------------- 1 | # switch Ubuntu download mirror to German server 2 | sudo sed -i 's,http://us.archive.ubuntu.com/ubuntu/,http://ftp.fau.de/ubuntu/,' /etc/apt/sources.list 3 | sudo sed -i 's,http://security.ubuntu.com/ubuntu,http://ftp.fau.de/ubuntu,' /etc/apt/sources.list 4 | sudo apt-get update -y 5 | 6 | # set timezone to German timezone 7 | echo "Europe/Berlin" | sudo tee /etc/timezone 8 | sudo dpkg-reconfigure -f noninteractive tzdata 9 | 10 | # install development: 11 | sudo apt-get install -y curl git vim 12 | 13 | if [ ! -d /vagrant/resources ] 14 | then 15 | mkdir /vagrant/resources 16 | fi 17 | 18 | # make jenkins available on port 80 in network eth0 in vCloud 19 | sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080 20 | # make jenkins available on port 80 in host-only network eth1 in VirtualBox 21 | sudo iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080 22 | sudo DEBIAN_FRONTEND=noninteractive apt-get install -y iptables-persistent 23 | sudo iptables-save | sudo tee /etc/iptables/rules.v4 24 | 25 | # install jenkins 26 | wget --no-verbose -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - 27 | echo "deb http://pkg.jenkins-ci.org/debian binary/" | sudo tee /etc/apt/sources.list.d/jenkins.list 28 | sudo apt-get update -y 29 | sudo apt-get install -y jenkins 30 | 31 | sudo sed -i 's/#JAVA_ARGS="-Xmx256m"/JAVA_ARGS="-Xmx512m"/g' /etc/default/jenkins 32 | 33 | # copy all jenkins config files from host to jenkins installation dir 34 | sudo -u jenkins cp /vagrant/conf/jenkins/* /var/lib/jenkins/ 35 | 36 | sudo service jenkins restart 37 | 38 | echo "Waiting until Jenkins server is up" 39 | while [ ! -f /var/log/jenkins/jenkins.log ] 40 | do 41 | sleep 5 42 | done 43 | tail -f /var/log/jenkins/jenkins.log | while read LOGLINE 44 | do 45 | [[ "${LOGLINE}" == *"Jenkins is fully up and running"* ]] && pkill -P $$ tail 46 | done 47 | 48 | # retrieve latest version of swarm-client 49 | swarmClientVersion=`curl -s http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/swarm-client/maven-metadata.xml | grep latest | sed 's/\s*[<>a-z/]//g'` 50 | wget --no-verbose -O /vagrant/resources/swarm-client.jar http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/swarm-client/$swarmClientVersion/swarm-client-$swarmClientVersion-jar-with-dependencies.jar 51 | 52 | while [ ! -f jenkins-cli.jar ] 53 | do 54 | sleep 10 55 | wget --no-verbose http://localhost:8080/jnlpJars/jenkins-cli.jar 56 | done 57 | set -x 58 | # force read update list 59 | wget --no-verbose -O default.js http://updates.jenkins-ci.org/update-center.json 60 | sed '1d;$d' default.js > default.json 61 | curl -X POST -H "Accept: application/json" -d @default.json http://localhost:8080/updateCenter/byId/default/postBack --verbose 62 | 63 | java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin git 64 | java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin swarm 65 | java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin ansicolor 66 | java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin timestamper 67 | java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin text-finder 68 | java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin ws-cleanup 69 | java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin publish-over-ssh 70 | java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin pegdown-formatter 71 | 72 | if [ -f /vagrant/resources/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml ]; then 73 | if [ ! -f /var/lib/jenkins/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml ]; then 74 | sudo -u jenkins cp /vagrant/resources/jenkins.plugins.publish_over_ssh.BapSshPublisherPlugin.xml /var/lib/jenkins/ 75 | fi 76 | fi 77 | 78 | # restart jenkins to activate all plugins 79 | java -jar jenkins-cli.jar -s http://localhost:8080 safe-restart 80 | -------------------------------------------------------------------------------- /scripts/configure-wsus.ps1: -------------------------------------------------------------------------------- 1 | # per http://msdn.microsoft.com/en-us/library/aa349325(v=vs.85).aspx 2 | $w = [reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration") 3 | $ww = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer() 4 | 5 | # for future updates 6 | # $updatescope = New-Object Microsoft.UpdateServices.Administration.UpdateScope 7 | 8 | $Configuration = $ww.GetConfiguration() 9 | $Synchronization = $ww.GetSubscription() 10 | $Rules = $ww.GetInstallApprovalRules() 11 | 12 | # Tells it to Sync from MS 13 | ## Change to attribute (true for master/ false for slave) 14 | $Configuration.SyncFromMicrosoftUpdate = $true 15 | 16 | # This tells it not to use every available language 17 | ## Change to attribute 18 | $Configuration.AllUpdateLanguagesEnabled = $false 19 | 20 | # This sets it just to do English (for multiple languages use collection) 21 | # $language = New-Object -Type System.Collections.Specialized.StringCollection 22 | # $language.Add("en") 23 | $Configuration.SetEnabledUpdateLanguages("en") 24 | 25 | # This commits your changes 26 | $Configuration.Save() 27 | 28 | 29 | # This sets synchronization to be automatic 30 | ## Change to attribute 31 | $Synchronization.SynchronizeAutomatically = $true 32 | 33 | # This sets the time, GMT, in 24 hour format (00:00:00) format 34 | $Synchronization.SynchronizeAutomaticallyTimeOfDay = '12:00:00' 35 | 36 | # Set the WSUS Server Synchronization Number of Syncs per day 37 | $Synchronization.NumberOfSynchronizationsPerDay='4' 38 | 39 | # Saving to avoid losing changes after Category Sync starts 40 | $Synchronization.save() 41 | 42 | # Set WSUS to download available categories 43 | # This can take up to 10 minutes 44 | $Synchronization.StartSynchronizationForCategoryOnly() 45 | 46 | # Loop to make sure new products synch up. And a anti-lock to prevent getting stuck. 47 | $lock_prevention = [DateTime]::now.AddMinutes(10) 48 | do{ 49 | Start-Sleep -Seconds 20 50 | # write-host $([datetime]::now) --- $lock_prevention 51 | $Status = $Synchronization.GetSynchronizationProgress().phase 52 | } until ($Status -like "*NotProcessing*" -or $lock_prevention -lt [datetime]::now) 53 | 54 | ## This shows all of the available products 55 | $main_category = $ww.GetUpdateCategories() | where {$_.title -like 'windows'} 56 | # example of multiple products 57 | $products = $main_category.GetSubcategories() | ? {$_.title -in ('Windows 7','Windows Server 2008 R2','Windows 8.1','Windows Server 2012 R2')} 58 | $products_col = New-Object Microsoft.UpdateServices.Administration.UpdateCategoryCollection 59 | $products_col.AddRange($products) 60 | $Synchronization.SetUpdateCategories($products_col) 61 | 62 | # Change Classifications (available classifications) 63 | # 'Critical Updates', 64 | # 'Definition Updates', 65 | # 'Feature Packs', 66 | # 'Security Updates', 67 | # 'Service Packs', 68 | # 'Update Rollups', 69 | # 'Updates' 70 | 71 | $classifications = $ww.GetUpdateClassifications() | ? {$_.title -in ('Critical Updates','Security Updates')} 72 | $classifications_col = New-Object Microsoft.UpdateServices.Administration.UpdateClassificationCollection 73 | $classifications_col.AddRange($classifications) 74 | $Synchronization.SetUpdateClassifications($classifications_col) 75 | 76 | # Configure Default Approval Rule - enabled for Critical updates only 77 | $ww.GetInstallApprovalRules() 78 | $rule = $rules | Where {$_.Name -eq "Default Automatic Approval Rule"} 79 | $rule.SetUpdateClassifications($classifications_col) 80 | $rule.Enabled = $True 81 | $rule.Save() 82 | 83 | # this saves Synchronization Info 84 | $Synchronization.Save() 85 | 86 | # this does the first synchronization from the upstream server instantly. Comment this out if you want to wait for the first synchronization 87 | # This can take well over an hour. Should probably be a handler or something that wouldnt hang chef run for an hour 88 | # Might also be a good idea to set [datetime]::now during FirstSync() and time it to start a few min after chef run finishes. 89 | $Synchronization.StartSynchronization() 90 | 91 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_7_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | AND 49 | 50 | 51 | true 52 | true 53 | 55 | 56 | 57 | 58 | 59 | scherer_stefan@icloud.com 60 | false 61 | false 62 | 63 | 64 | 65 | 66 | packer_cache 67 | INCLUDE 68 | 69 | 70 | *.box 71 | INCLUDE 72 | 73 | 74 | boxtest 75 | INCLUDE 76 | 77 | 78 | true 79 | false 80 | true 81 | true 82 | true 83 | true 84 | true 85 | false 86 | false 87 | 88 | 89 | 90 | 91 | 92 | 93 | xterm 94 | 95 | 96 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_81_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | AND 50 | 51 | 52 | true 53 | true 54 | 56 | 57 | 58 | 59 | 60 | scherer_stefan@icloud.com 61 | false 62 | false 63 | 64 | 65 | 66 | 67 | packer_cache 68 | INCLUDE 69 | 70 | 71 | *.box 72 | INCLUDE 73 | 74 | 75 | boxtest 76 | INCLUDE 77 | 78 | 79 | true 80 | false 81 | true 82 | true 83 | true 84 | true 85 | true 86 | false 87 | false 88 | 89 | 90 | 91 | 92 | 93 | 94 | xterm 95 | 96 | 97 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_2008_r2-100gb_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | AND 49 | 50 | 51 | true 52 | true 53 | 55 | 56 | 57 | 58 | 59 | scherer_stefan@icloud.com 60 | false 61 | false 62 | 63 | 64 | 65 | 66 | packer_cache 67 | INCLUDE 68 | 69 | 70 | *.box 71 | INCLUDE 72 | 73 | 74 | boxtest 75 | INCLUDE 76 | 77 | 78 | true 79 | false 80 | true 81 | true 82 | true 83 | true 84 | true 85 | false 86 | false 87 | 88 | 89 | 90 | 91 | 92 | 93 | xterm 94 | 95 | 96 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_2008_r2_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | AND 50 | 51 | 52 | true 53 | true 54 | 56 | 57 | 58 | 59 | 60 | scherer_stefan@icloud.com 61 | false 62 | false 63 | 64 | 65 | 66 | 67 | packer_cache 68 | INCLUDE 69 | 70 | 71 | *.box 72 | INCLUDE 73 | 74 | 75 | boxtest 76 | INCLUDE 77 | 78 | 79 | true 80 | false 81 | true 82 | true 83 | true 84 | true 85 | true 86 | false 87 | false 88 | 89 | 90 | 91 | 92 | 93 | 94 | xterm 95 | 96 | 97 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_2012_r2-100gb_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | AND 49 | 50 | 51 | true 52 | true 53 | 55 | 56 | 57 | 58 | 59 | scherer_stefan@icloud.com 60 | false 61 | false 62 | 63 | 64 | 65 | 66 | packer_cache 67 | INCLUDE 68 | 69 | 70 | *.box 71 | INCLUDE 72 | 73 | 74 | boxtest 75 | INCLUDE 76 | 77 | 78 | true 79 | false 80 | true 81 | true 82 | true 83 | true 84 | true 85 | false 86 | false 87 | 88 | 89 | 90 | 91 | 92 | 93 | xterm 94 | 95 | 96 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_2012_r2_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | AND 50 | 51 | 52 | true 53 | true 54 | 56 | 57 | 58 | 59 | 60 | scherer_stefan@icloud.com 61 | false 62 | false 63 | 64 | 65 | 66 | 67 | packer_cache 68 | INCLUDE 69 | 70 | 71 | *.box 72 | INCLUDE 73 | 74 | 75 | boxtest 76 | INCLUDE 77 | 78 | 79 | true 80 | false 81 | true 82 | true 83 | true 84 | true 85 | true 86 | false 87 | false 88 | 89 | 90 | 91 | 92 | 93 | 94 | xterm 95 | 96 | 97 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_7_noupdates_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | AND 49 | 50 | 51 | true 52 | true 53 | 55 | 56 | 57 | 58 | 59 | scherer_stefan@icloud.com 60 | false 61 | false 62 | 63 | 64 | 65 | 66 | packer_cache 67 | INCLUDE 68 | 69 | 70 | *.box 71 | INCLUDE 72 | 73 | 74 | boxtest 75 | INCLUDE 76 | 77 | 78 | true 79 | false 80 | true 81 | true 82 | true 83 | true 84 | true 85 | false 86 | false 87 | 88 | 89 | 90 | 91 | 92 | 93 | xterm 94 | 95 | 96 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_2008_r2_core_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | AND 50 | 51 | 52 | true 53 | true 54 | 56 | 57 | 58 | 59 | 60 | scherer_stefan@icloud.com 61 | false 62 | false 63 | 64 | 65 | 66 | 67 | packer_cache 68 | INCLUDE 69 | 70 | 71 | *.box 72 | INCLUDE 73 | 74 | 75 | boxtest 76 | INCLUDE 77 | 78 | 79 | true 80 | false 81 | true 82 | true 83 | true 84 | true 85 | true 86 | false 87 | false 88 | 89 | 90 | 91 | 92 | 93 | 94 | xterm 95 | 96 | 97 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_2012_r2_core_vcloud/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | AND 50 | 51 | 52 | true 53 | true 54 | 56 | 57 | 58 | 59 | 60 | scherer_stefan@icloud.com 61 | false 62 | false 63 | 64 | 65 | 66 | 67 | packer_cache 68 | INCLUDE 69 | 70 | 71 | *.box 72 | INCLUDE 73 | 74 | 75 | boxtest 76 | INCLUDE 77 | 78 | 79 | true 80 | false 81 | true 82 | true 83 | true 84 | true 85 | true 86 | false 87 | false 88 | 89 | 90 | 91 | 92 | 93 | 94 | xterm 95 | 96 | 97 | -------------------------------------------------------------------------------- /scripts/install-jenkins-slave.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | rem this echo off is essential for the heredoc code below 3 | 4 | rem set timezone to German timezone 5 | tzutil /s "W. Europe Standard Time" 6 | 7 | if exist c:\jenkins\swarm-client.jar goto :EOF 8 | set hypervisor=%1 9 | if "%1x"=="x" set hypervisor=vmware 10 | 11 | if exist %WinDir%\microsoft.net\framework\v4.0.30319 goto :have_net 12 | echo Ensuring .NET 4.0 is installed 13 | @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://raw.github.com/StefanScherer/arduino-ide/install/InstallNet4.ps1'))" 14 | :have_net 15 | if "%ChocolateyInstall%x"=="x" set ChocolateyInstall=%ALLUSERSPROFILE%\Chocolatey 16 | if exist %ChocolateyInstall% goto :have_choc 17 | echo Installing Chocolatey 18 | @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin 19 | :have_choc 20 | 21 | where cinst 22 | if ERRORLEVEL 1 goto set_chocolatey 23 | goto inst 24 | :set_chocolatey 25 | set ChocolateyInstall=%ALLUSERSPROFILE%\Chocolatey 26 | set PATH=%PATH%;%ChocolateyInstall%\bin 27 | :inst 28 | 29 | where java 30 | if ERRORLEVEL 1 cinst -y javaruntime 31 | 32 | where curl 33 | if ERRORLEVEL 1 cinst -y curl 34 | 35 | if not exist c:\jenkins mkdir c:\jenkins 36 | 37 | if not exist c:\jenkins\swarm-client.jar ( 38 | if exist c:\vagrant\resources\swarm-client.jar ( 39 | copy c:\vagrant\resources\swarm-client.jar c:\jenkins\swarm-client.jar 40 | ) else ( 41 | curl -Lk -o c:\jenkins\swarm-client.jar http://maven.jenkins-ci.org/content/repositories/releases/org/jenkins-ci/plugins/swarm-client/1.16/swarm-client-1.16-jar-with-dependencies.jar 42 | ) 43 | ) 44 | 45 | call :heredoc html >%TEMP%\JenkinsSwarmClient.xml && goto next2 46 | 47 | 48 | 49 | 2014-03-09T01:02:10 50 | vagrant 51 | 52 | 53 | 54 | 2014-03-09T01:02:00 55 | true 56 | 57 | 58 | 59 | 60 | vagrant 61 | Password 62 | LeastPrivilege 63 | 64 | 65 | 66 | IgnoreNew 67 | false 68 | false 69 | true 70 | false 71 | false 72 | 73 | true 74 | false 75 | 76 | true 77 | true 78 | false 79 | false 80 | false 81 | PT0S 82 | 7 83 | 84 | PT1M 85 | 3 86 | 87 | 88 | 89 | 90 | java.exe 91 | -jar c:\jenkins\swarm-client.jar -autoDiscoveryAddress 172.16.32.255 -executors 1 -labels windows -labels !hypervisor! -fsroot c:\jenkins 92 | 93 | 94 | 95 | :next2 96 | 97 | rem Schedule start of swarm client at start of the machine (after next reboot) 98 | rem 99 | 100 | schtasks /CREATE /TN JenkinsSwarmClient /RU vagrant /RP vagrant /XML "%TEMP%\JenkinsSwarmClient.xml" 101 | 102 | goto :done_jenkins_slave 103 | 104 | 105 | ::######################################## 106 | ::## Here's the heredoc processing code ## 107 | ::######################################## 108 | :heredoc 109 | setlocal enabledelayedexpansion 110 | set go= 111 | for /f "delims=" %%A in ('findstr /n "^" "%~f0"') do ( 112 | set "line=%%A" && set "line=!line:*:=!" 113 | if defined go (if #!line:~1!==#!go::=! (goto :EOF) else echo(!line!) 114 | if "!line:~0,13!"=="call :heredoc" ( 115 | for /f "tokens=3 delims=>^ " %%i in ("!line!") do ( 116 | if #%%i==#%1 ( 117 | for /f "tokens=2 delims=&" %%I in ("!line!") do ( 118 | for /f "tokens=2" %%x in ("%%I") do set "go=%%x" 119 | ) 120 | ) 121 | ) 122 | ) 123 | ) 124 | goto :done_jenkins_slave 125 | :done_jenkins_slave 126 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1204_vmware/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1204-100gb_vmware/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1204_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404-desktop_vmware/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | xterm 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404-docker_vmware/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404_vmware/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | SSH: 45 | 46 | 47 | 48 | roecloudsrv001 49 | false 50 | 51 | 52 | 53 | *.box 54 | 55 | 56 | false 57 | false 58 | false 59 | false 60 | false 61 | [, ]+ 62 | 63 | 120000 64 | false 65 | 66 | 67 | false 68 | false 69 | 70 | 71 | false 72 | false 73 | false 74 | 75 | 76 | 77 | 78 | scherer_stefan@icloud.com 79 | false 80 | false 81 | 82 | 83 | 84 | 85 | packer_cache 86 | INCLUDE 87 | 88 | 89 | true 90 | false 91 | true 92 | true 93 | true 94 | true 95 | true 96 | false 97 | false 98 | 99 | 100 | 101 | 102 | 103 | 104 | xterm 105 | 106 | 107 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1410_vmware/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | SSH: 45 | 46 | 47 | 48 | roecloudsrv001 49 | false 50 | 51 | 52 | 53 | *.box 54 | 55 | 56 | false 57 | false 58 | false 59 | false 60 | false 61 | [, ]+ 62 | 63 | 120000 64 | false 65 | 66 | 67 | false 68 | false 69 | 70 | 71 | false 72 | false 73 | false 74 | 75 | 76 | 77 | 78 | scherer_stefan@icloud.com 79 | false 80 | false 81 | 82 | 83 | 84 | 85 | packer_cache 86 | INCLUDE 87 | 88 | 89 | true 90 | false 91 | true 92 | true 93 | true 94 | true 95 | true 96 | false 97 | false 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /jenkins-configuration/sles11sp3_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/sles-vm 12 | 13 | 14 | 15 | 16 | */master 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | SSH: 45 | 46 | 47 | 48 | roecloudsrv001 49 | false 50 | 51 | 52 | 53 | *.box 54 | 55 | 56 | false 57 | false 58 | false 59 | false 60 | false 61 | [, ]+ 62 | 63 | 120000 64 | false 65 | 66 | 67 | false 68 | false 69 | 70 | 71 | false 72 | false 73 | false 74 | 75 | 76 | 77 | 78 | scherer_stefan@icloud.com 79 | false 80 | false 81 | 82 | 83 | 84 | 85 | packer_cache 86 | INCLUDE 87 | 88 | 89 | true 90 | false 91 | true 92 | true 93 | true 94 | true 95 | true 96 | false 97 | false 98 | 99 | 100 | 101 | 102 | 103 | 104 | xterm 105 | 106 | 107 | -------------------------------------------------------------------------------- /jenkins-configuration/sles11sp3_vmware/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/sles-vm 12 | 13 | 14 | 15 | 16 | */master 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | 39 | examples, 0 failures 40 | true 41 | false 42 | true 43 | 44 | 45 | SSH: 46 | 47 | 48 | 49 | roecloudsrv001 50 | false 51 | 52 | 53 | 54 | *.box 55 | 56 | 57 | false 58 | false 59 | false 60 | false 61 | false 62 | [, ]+ 63 | 64 | 120000 65 | false 66 | 67 | 68 | false 69 | false 70 | 71 | 72 | false 73 | false 74 | false 75 | 76 | 77 | 78 | 79 | scherer_stefan@icloud.com 80 | false 81 | false 82 | 83 | 84 | 85 | 86 | packer_cache 87 | INCLUDE 88 | 89 | 90 | true 91 | false 92 | true 93 | true 94 | true 95 | true 96 | true 97 | false 98 | false 99 | 100 | 101 | 102 | 103 | 104 | 105 | xterm 106 | 107 | 108 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1204-desktop_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1204-desktop_vmware/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | SSH: 45 | 46 | 47 | 48 | roecloudsrv001 49 | false 50 | 51 | 52 | 53 | *.box 54 | 55 | 56 | false 57 | false 58 | false 59 | false 60 | false 61 | [, ]+ 62 | 63 | 120000 64 | false 65 | 66 | 67 | false 68 | false 69 | 70 | 71 | false 72 | false 73 | false 74 | 75 | 76 | 77 | 78 | scherer_stefan@icloud.com 79 | false 80 | false 81 | 82 | 83 | 84 | 85 | packer_cache 86 | INCLUDE 87 | 88 | 89 | true 90 | false 91 | true 92 | true 93 | true 94 | true 95 | true 96 | false 97 | false 98 | 99 | 100 | 101 | 102 | 103 | 104 | xterm 105 | 106 | 107 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404-100gb_vmware/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | SSH: 45 | 46 | 47 | 48 | roecloudsrv001 49 | false 50 | 51 | 52 | 53 | *.box 54 | 55 | 56 | false 57 | false 58 | false 59 | false 60 | false 61 | [, ]+ 62 | 63 | 120000 64 | false 65 | 66 | 67 | false 68 | false 69 | 70 | 71 | false 72 | false 73 | false 74 | 75 | 76 | 77 | 78 | scherer_stefan@icloud.com 79 | false 80 | false 81 | 82 | 83 | 84 | 85 | packer_cache 86 | INCLUDE 87 | 88 | 89 | true 90 | false 91 | true 92 | true 93 | true 94 | true 95 | true 96 | false 97 | false 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404-desktop_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404-docker_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1404_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | SSH: 45 | 46 | 47 | 48 | roecloudsrv001 49 | false 50 | 51 | 52 | 53 | *.box 54 | 55 | 56 | false 57 | false 58 | false 59 | false 60 | false 61 | [, ]+ 62 | 63 | 120000 64 | false 65 | 66 | 67 | false 68 | false 69 | 70 | 71 | false 72 | false 73 | false 74 | 75 | 76 | 77 | 78 | scherer_stefan@icloud.com 79 | false 80 | false 81 | 82 | 83 | 84 | 85 | packer_cache 86 | INCLUDE 87 | 88 | 89 | true 90 | false 91 | true 92 | true 93 | true 94 | true 95 | true 96 | false 97 | false 98 | 99 | 100 | 101 | 102 | 103 | 104 | xterm 105 | 106 | 107 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1204-100gb_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | SSH: 45 | 46 | 47 | 48 | roecloudsrv001 49 | false 50 | 51 | 52 | 53 | *.box 54 | 55 | 56 | false 57 | false 58 | false 59 | false 60 | false 61 | [, ]+ 62 | 63 | 120000 64 | false 65 | 66 | 67 | false 68 | false 69 | 70 | 71 | false 72 | false 73 | false 74 | 75 | 76 | 77 | 78 | scherer_stefan@icloud.com 79 | false 80 | false 81 | 82 | 83 | 84 | 85 | packer_cache 86 | INCLUDE 87 | 88 | 89 | true 90 | false 91 | true 92 | true 93 | true 94 | true 95 | true 96 | false 97 | false 98 | 99 | 100 | 101 | 102 | 103 | 104 | xterm 105 | 106 | 107 | -------------------------------------------------------------------------------- /jenkins-configuration/ubuntu1410_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/ubuntu-vm 12 | 13 | 14 | 15 | 16 | */my 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | SSH: 45 | 46 | 47 | 48 | roecloudsrv001 49 | false 50 | 51 | 52 | 53 | *.box 54 | 55 | 56 | false 57 | false 58 | false 59 | false 60 | false 61 | [, ]+ 62 | 63 | 120000 64 | false 65 | 66 | 67 | false 68 | false 69 | 70 | 71 | false 72 | false 73 | false 74 | 75 | 76 | 77 | 78 | scherer_stefan@icloud.com 79 | false 80 | false 81 | 82 | 83 | 84 | 85 | packer_cache 86 | INCLUDE 87 | 88 | 89 | true 90 | false 91 | true 92 | true 93 | true 94 | true 95 | true 96 | false 97 | false 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_7_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_81_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_2008_r2_vmware/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | vmware 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | 38 | examples, 0 failures 39 | true 40 | false 41 | true 42 | 43 | 44 | SSH: 45 | 46 | 47 | 48 | roecloudsrv001 49 | false 50 | 51 | 52 | 53 | *.box 54 | 55 | 56 | false 57 | false 58 | false 59 | false 60 | false 61 | [, ]+ 62 | 63 | 120000 64 | false 65 | 66 | 67 | false 68 | false 69 | 70 | 71 | false 72 | false 73 | false 74 | 75 | 76 | 77 | 78 | scherer_stefan@icloud.com 79 | false 80 | false 81 | 82 | 83 | 84 | 85 | packer_cache 86 | INCLUDE 87 | 88 | 89 | true 90 | false 91 | true 92 | true 93 | true 94 | true 95 | true 96 | false 97 | false 98 | 99 | 100 | 101 | 102 | 103 | 104 | xterm 105 | 106 | 107 | -------------------------------------------------------------------------------- /jenkins-configuration/windows_2012_r2_virtualbox/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 2 9 | 10 | 11 | https://github.com/StefanScherer/packer-windows 12 | 13 | 14 | 15 | 16 | */my_vagrant_vcloud 17 | 18 | 19 | false 20 | 21 | 22 | 23 | virtualbox 24 | false 25 | false 26 | false 27 | false 28 | 29 | false 30 | 31 | 32 | bin\build.bat %JOB_NAME% 33 | 34 | 35 | 36 | 37 | examples, 0 failures 38 | true 39 | false 40 | true 41 | 42 | 43 | SSH: 44 | 45 | 46 | 47 | roecloudsrv001 48 | false 49 | 50 | 51 | 52 | *.box 53 | 54 | 55 | false 56 | false 57 | false 58 | false 59 | false 60 | [, ]+ 61 | 62 | 120000 63 | false 64 | 65 | 66 | false 67 | false 68 | 69 | 70 | false 71 | false 72 | false 73 | 74 | 75 | 76 | 77 | scherer_stefan@icloud.com 78 | false 79 | false 80 | 81 | 82 | 83 | 84 | packer_cache 85 | INCLUDE 86 | 87 | 88 | true 89 | false 90 | true 91 | true 92 | true 93 | true 94 | true 95 | false 96 | false 97 | 98 | 99 | 100 | 101 | 102 | 103 | xterm 104 | 105 | 106 | --------------------------------------------------------------------------------