Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

FunTimeCoding/jenkins-tools

Repository files navigation

JenkinsTools

Setup

Install project dependencies:

script/setup.sh

Example configuration:

USERNAME=example
PASSWORD=example
KEY=/home/example/.ssh/id_rsa
EMAIL=example@example.org
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.

Usage

Run the main program:

bin/jt

Run the main program inside the container:

docker run -it --rm funtimecoding/jenkins-tools

Development

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

About

Shell scripts to manage Jenkins.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published