Skip to content
Simple Jenkins client for R
Branch: master
Clone or download
Latest commit 86c8ae5 Jun 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
.Rbuildignore Do not build ship readme Jun 4, 2019
.gitignore First commit May 8, 2019
.travis.yml Adding CI Jun 2, 2019
DESCRIPTION Bump version Jun 4, 2019
LICENSE First commit May 8, 2019
LICENSE.md First commit May 8, 2019
NAMESPACE Move stuff to betty pkg Jun 1, 2019
README.md Rename again Jun 4, 2019
appveyor.yml Adding CI Jun 2, 2019
jenkins.Rproj

README.md

jenkins

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')
You can’t perform that action at this time.