This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
MAINTAINER Bryan Robbins <bryantrobbins@gmail.com> | |
# Get latest packages | |
RUN echo "deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 | |
RUN apt-get update && apt-get clean | |
# Needed for Jenkins | |
RUN apt-get install --no-install-recommends openjdk-7-jdk -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:12.04 | |
MAINTAINER Bryan Robbins <bryantrobbins@gmail.com> | |
# Get latest packages | |
RUN apt-get update && apt-get clean | |
# Needed for Jenkins | |
RUN apt-get install --no-install-recommends openjdk-7-jdk -y | |
# Needed for Jenkins jobs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get credentials and URL for Jenkins server from args | |
// This constructor builds URL of "http://host:port/path", e.g., localhost, 8080, "" for default install | |
jenkinsClient = new JenkinsClient(jenkinsHost, jenkinsPort, jenkinsPath, jenkinsUser, jenkinsPass) | |
// Also Process input arguments (args) to get any global params for Jenkins job | |
for(int i=0; i<batchSize; i++){ | |
// update/obtain job-specific params | |
NewerOlder