Pre-built containers for Coffeecutie, for use with CI that have time restrictions.
10K+
This repository was created to contain Jenkins, Docker and other useful scripts that have to do with automation. If you plan on using this with Jenkins, disable submodule processing to save disk space and time.
First, you should create a Docker container using the provided Jenkins Dockerfile. This will install the necessary plugins and etc. necessary to run all the jobs.
You will also need to have enough nodes to run all the builds and label them correctly.
Add this seed-seed job:
class SeedJob
{
SeedJob(String name, String repo, String branch,
String subdir, String seedFile)
{
this.name = name;
gRepository = repo;
gBranch = branch;
subdirectory = subdir;
this.seedFile = seedFile;
}
String name;
String gRepository;
String gBranch;
String subdirectory;
String seedFile;
}
def SeedJobs = [
new SeedJob("Coffee",
"https://github.com/hbirchtree/coffeecutie-automation-tools.git",
"master", "jenkins/coffeejob/",
"jenkins/coffeejob/coffee_buildstep.groovy")
]
for(s in SeedJobs)
{
seed = job(s.name)
seed.with {
scm {
git {
remote {
name("origin")
url(s.gRepository)
}
branch(s.gBranch)
extensions {
cloneOptions {
shallow(true)
}
relativeTargetDirectory("scripts")
}
}
}
steps {
dsl {
external("scripts/${s.seedFile}")
removeAction("DELETE")
removeViewAction("DELETE")
ignoreExisting(false)
}
}
}
}
Content type
Image
Digest
Size
1018.6 MB
Last updated
about 6 years ago
docker pull hbirch/coffeecutie:beaglebone