This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Some typos and cleanups.

  • Loading branch information...
Jimmy Wennlund
Jimmy Wennlund committed Jan 10, 2013
1 parent 6609bc7 commit 263c2662f24e1f58d7ebf2727611984cc6db0b93
@@ -61,10 +61,9 @@ class JenkinsApi {
post('job/' + missingJob.jobName + "/config.xml", missingJobConfig, [:], ContentType.XML) post('job/' + missingJob.jobName + "/config.xml", missingJobConfig, [:], ContentType.XML)
} }
/* https://192.168.4.60/hudson/job/estore-build-feature_base63_sprites/build */
void startJob(ConcreteJob job) { void startJob(ConcreteJob job) {
println "Starting job ${job.jobName}." println "Starting job ${job.jobName}."
post('job/' + job.jobName + '/build') post('job/' + job.jobName + '/build')
} }
String configForMissingJob(ConcreteJob missingJob, List<TemplateJob> templateJobs) { String configForMissingJob(ConcreteJob missingJob, List<TemplateJob> templateJobs) {
@@ -14,7 +14,7 @@ class Main {
n: [longOpt: 'nested-view', required: false, args: 1, argName: 'nestedView', description: "Nested Parent View Name - gradle flag -DnestedView=<nestedView> - optional - must have Jenkins Nested View Plugin installed"], n: [longOpt: 'nested-view', required: false, args: 1, argName: 'nestedView', description: "Nested Parent View Name - gradle flag -DnestedView=<nestedView> - optional - must have Jenkins Nested View Plugin installed"],
c: [longOpt: 'print-config', required: false, args: 0, argName: 'printConfig', description: "Check configuration - print out settings then exit - gradle flag -DprintConfig=true"], c: [longOpt: 'print-config', required: false, args: 0, argName: 'printConfig', description: "Check configuration - print out settings then exit - gradle flag -DprintConfig=true"],
d: [longOpt: 'dry-run', required: false, args: 0, argName: 'dryRun', description: "Dry run, don't actually modify, create, or delete any jobs, just print out what would happen - gradle flag: -DdryRun=true"], d: [longOpt: 'dry-run', required: false, args: 0, argName: 'dryRun', description: "Dry run, don't actually modify, create, or delete any jobs, just print out what would happen - gradle flag: -DdryRun=true"],
s: [longOpt: 'start-on-create', required: false, args: 0, argName: 'startOnCreate', description: "When creatating a new job, start it at once."], s: [longOpt: 'start-on-create', required: false, args: 0, argName: 'startOnCreate', description: "When creating a new job, start it at once."],
v: [longOpt: 'no-views', required: false, args: 0, argName: 'noViews', description: "Suppress view creation - gradle flag -DnoViews=true"], v: [longOpt: 'no-views', required: false, args: 0, argName: 'noViews', description: "Suppress view creation - gradle flag -DnoViews=true"],
k: [longOpt: 'no-delete', required: false, args: 0, argName: 'noDelete', description: "Do not delete (keep) branches and views - gradle flag -DnoDelete=true"], k: [longOpt: 'no-delete', required: false, args: 0, argName: 'noDelete', description: "Do not delete (keep) branches and views - gradle flag -DnoDelete=true"],
f: [longOpt: 'filter-branch-names', required: false, args: 1, argName: 'branchNameRegex', description: "Only branches matching the regex will be accepted - gradle flag: -DbranchNameRegex=<regex>"], f: [longOpt: 'filter-branch-names', required: false, args: 1, argName: 'branchNameRegex', description: "Only branches matching the regex will be accepted - gradle flag: -DbranchNameRegex=<regex>"],

0 comments on commit 263c266

Please sign in to comment.