From c4a04cf5933352fe67839cc9160bb422d389c57f Mon Sep 17 00:00:00 2001 From: Joe Paolini Date: Fri, 30 Jan 2015 11:39:16 -0500 Subject: [PATCH] added the enableJob to the build.gradle file. modified gitignore to allow build.gradle. --- .gitignore | 2 +- build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 69b044b9..b669894b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,7 @@ *.iws *.diff build -.gradle +#.gradle .settings .classpath .project diff --git a/build.gradle b/build.gradle index 9b86920c..1bdb93e7 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ task syncWithRepo(dependsOn: 'classes', type: JavaExec) { main = 'com.entagen.jenkins.Main' classpath = sourceSets.main.runtimeClasspath // pass through specified system properties to the call to main - ['help', 'jenkinsUrl', 'jenkinsUser', 'jenkinsPassword', 'gitUrl', 'templateJobPrefix', 'templateBranchName', 'branchNameRegex', 'nestedView', 'viewRegex', 'printConfig', 'dryRun', 'startOnCreate', 'noViews', 'noDelete'].each { + ['help', 'jenkinsUrl', 'jenkinsUser', 'jenkinsPassword', 'gitUrl', 'templateJobPrefix', 'templateBranchName', 'branchNameRegex', 'nestedView', 'viewRegex', 'printConfig', 'dryRun', 'startOnCreate', 'noViews', 'noDelete', 'enableJob'].each { if (System.getProperty(it)) systemProperty it, System.getProperty(it) }