Install project dependencies:
script/setup.sh
Example configuration:
USERNAME=example
PASSWORD=example
KEY=/home/example/.ssh/id_rsa
[email protected]
HOST_NAME=ci.example.org
PORT=2222
PLUGINS="git
log-parser
greenballs"
# Optional directory service
SERVER=127.0.0.1
ROOT_DN=foo=bar
USER_SEARCH_BASE=foo=bar
USER_SEARCH=foo=bar
GROUP_SEARCH_BASE=foo=bar
MANAGER_DN=foo=bar
MANAGER_PASSWORD=changeme
The default location is ~/.jenkins-tools.sh.
Run the main program:
bin/jt
Run the main program inside the container:
docker run -it --rm funtimecoding/jenkins-tools
Configure Git on Windows before cloning:
git config --global core.autocrlf input
Install NFS plug-in for Vagrant on Windows:
vagrant plugin install vagrant-winnfsd
Create the development virtual machine on Linux and Darwin:
script/vagrant/create.sh
Create the development virtual machine on Windows:
script\vagrant\create.bat
Run tests, style check and metrics:
script/test.sh [--help]
script/check.sh [--help]
script/measure.sh [--help]
Build project:
script/build.sh
Install Debian package:
sudo dpkg --install build/jenkins-tools_0.1.0-1_all.deb
Show files the package installed:
dpkg-query --listfiles jenkins-tools