Fix groovy dependency resolution error
…y version used by Gradle to match that used by http-builder
Automatically disables and enables a newly cloned jobs, thus making the jobs buildable.
…al turbo encabulation of malleable response deltas in support of high- reciprocating disparities in Java
…e messages in moving from Java 6->7, as well as a missed fix for a failure message from a previously merged PR
Add possibility to start a job upon creation.
Branches with a suffix of templateBranchName will create a new, valid job template. Then creates many new jobs.
…ter from the unique part of the 'baseJobName'. This prevents confusion when using branch names that have dashes in them, from being mistaken as a job template. e.g. 'MyProject-RunTests-fix-something-on-master' would be interpreted as a new job template, when it was actually produced from the 'MyProject-RunTests-master' job template and the branch 'fix-something-on-master'. The confusion would result in lots of invalid jobs being created for the 'new' job template.
Consume output from git to avoid hang
When there are lots of git remote branches (more than around 200 in our experience), the getBranchNames method of GitApi will hang inside the `command.execute()` on line 34. It seems like we aren't consuming the output of the git command. Fix this by reading the output byte-by-byte instead.
Exclude certain nodes from modification when copying job templates
…t are found inside certain nodes
Conflicts: build.gradle src/main/groovy/com/entagen/jenkins/JenkinsJobManager.groovy src/main/groovy/com/entagen/jenkins/Main.groovy
Added an option to suppress view creation.
Add the 'noDelete' option which prevents the deletion of deprecated jobs and views. With this option set, the job sync will only create new jobs and will not delete old ones.
Creating new views for new build jobs isn't needed in some cases, so this adds a 'noViews' option to suppress the usual view creation. The default is to create views.
This is for issue #16 The post will now look for the crumb issuer if it can't find one it will just keep trying the api. The post was also changed to fail the build if there is a HTTP error while doing the post.
only set branchNameRegex if supplied
Specifying `branchNameRegex` throws an exception
At this time we still need to do an update of the config after the copy.
…and delete all jobs
Added wrapper task and checked in gradle wrapper for gradle 1.0