Specify a config file.
./bin/script.sh -c /Users/shiin/.jenkins-tools-mine.confAdditional arguments still work.
./bin/get-job.sh -c ~/.jenkins-tools-infra.conf mw-unit-and-integration-trunk > job.xmlUpload config.
./bin/put-job.sh -c ~/.jenkins-tools-staging.conf job.xmlExample config. Default path is ~/.jenkins-tools.conf.
# required
USER="areitzel"
PASSWORD="insecure"
NAME="Alexander Reitzel"
MAIL="funtimecoding@gmail.com"
# `JENKINS_URL` is optional and falls back to `http://localhost:8080`.
JENKINS_URL="http://ci.dev"
PROJECTS_DIR="/home/shiin/code"
# LDAP configuration.
SERVER="1.2.3.4"
ROOT_DN="foo=bar"
USER_SEARCH_BASE="foo=bar"
USER_SEARCH="foo=bar"
GROUP_SEARCH_BASE="foo=bar"
MANAGER_DN="foo=bar"
MANAGER_PASSWORD="insecure"Run any script verbosely if you want to debug it.
./bin/script.sh -vInstall development tools.
brew install shellcheckRun code style check.
./run-style-check.sh