Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status AppVeyor Build Status CRAN_Status_Badge CRAN RStudio mirror downloads

Simple Jenkins Client for R

Manage jobs and builds on your Jenkins CI server https://jenkins.io/. Create and edit projects, trigger builds, manage build queues, download build logs, and much more.

How to use

Generate create a new PAT in your Jenkins server:

screenshot

Add this in your ~/.Renviron file like this:

JENKINS_PAT=3858f62230ac3c915f300c664312c63f

Now you connect to your Jenkins server and do stuff:

# Make a connection
jk <- jenkins(server = 'http://jenkins.ropensci.org', username = 'jeroen')

# Do stuff
jk$server_info()
jk$project_build('magick')

# It's now in the queue
jk$queue_list()

# Check build status
jk$build_info('magick')

# Get latest build log
jk$build_log('magick', build_id = 'lastCompletedBuild')