Skip to content

erdeerdeerde/jenkins-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Tools

Operation

Specify a config file.

./bin/script.sh -c /Users/shiin/.jenkins-tools-mine.conf

Additional arguments still work.

./bin/get-job.sh -c ~/.jenkins-tools-infra.conf mw-unit-and-integration-trunk > job.xml

Upload config.

./bin/put-job.sh -c ~/.jenkins-tools-staging.conf job.xml

Configuration

Example 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"

Development

Run any script verbosely if you want to debug it.

./bin/script.sh -v

Install development tools.

brew install shellcheck

Run code style check.

./run-style-check.sh

About

Shell scripts to manage Jenkins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages