jenkins_pipeline_builder 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b70981d3a70e5d6a2621f46e4483a0f49b1ebf8c
4
- data.tar.gz: 406861e41a60ff2434623cf09aa4b8d1bf8593bb
3
+ metadata.gz: 02baf3de6c0875361f96889ca4b97d2416279b33
4
+ data.tar.gz: 6f1c55c53d76b25bcae5903cb8e9cd881163fb78
5
5
  SHA512:
6
- metadata.gz: d07a78ca215755167e7e4d8b80cc81a7f0547195f0a715ce2ed7a1b584ade4edf576fe8321949c152fb6868fc727cb838b5c05ea869f6629cc77bd90ed6de60b
7
- data.tar.gz: 2508b75bee4d3cd77b51de9c90dfb3cac0eb8cbb42de04e43ae934290355631378e9720d74f65e8b408c03af2625921117fd1a1a0ff65bde3d3113a4b9b0fc95
6
+ metadata.gz: 5413a1ec062cc1b373decb46b4b3ba1b86aaee0b8ed24c26a00185b81ff165a9a5929fdd3faa5c0e72d46492e0e9c81137a555300247f3f22c9d8c055985ac9f
7
+ data.tar.gz: c75e91326db794c6a295ba3d720ebfbfb6928c20f2ce2d76650cbbe53b8600714c5233c72208e7580eb8b4efd3ee64961b3080f34b77dffc614aa5400fb5fd14
data/README.md CHANGED
@@ -86,6 +86,20 @@ Here's a high level overview of what's available:
86
86
  - job:
87
87
  name: nameStr # Name of your Job
88
88
  job_type: free_style # Optional [free_style|multi_project]
89
+ discard_old: # Discard old builds after:
90
+ days: 1 # Optional, number of days after which the build is deleted
91
+ number: 2 # Optional, number of builds after which the build is deleted
92
+ artifact_days: 3 # Optional, number of days after which the artifact is deleted
93
+ artifact_number: 4 # Optional, number of builds after which the artifact is deleted
94
+ throttle: # Optional, throttles concurrent jobs
95
+ max_per_node: int
96
+ max_total: int
97
+ option: category or alone
98
+ category: string # Only used if option == category
99
+ prepare_environment:
100
+ properties_content: string
101
+ keep_environment: true
102
+ keep_build: true
89
103
  parameters:
90
104
  - name: param_name
91
105
  type: string
@@ -99,10 +113,14 @@ Here's a high level overview of what's available:
99
113
  local_branch: branch_name
100
114
  recursive_update: true
101
115
  wipe_workspace: true
116
+ skip_tag: true # Optional, defaults to false
102
117
  shell_command: '. commit_build.sh'
103
118
  hipchat:
104
119
  room: room name here
105
120
  start-notify: true
121
+ priority: # Optional
122
+ use_priority: true # true OR false
123
+ job_priority: 1 # Default value is -1
106
124
  builders:
107
125
  - multi_job:
108
126
  phases:
@@ -143,9 +161,11 @@ Here's a high level overview of what's available:
143
161
  release-repo: release
144
162
  snapshot-repo: snapshot
145
163
  publish-build-info: true # Optional
146
- - inject_env_var: |
147
- VAR1 = value_1
148
- VAR2 = value_2
164
+ - inject_env_var:
165
+ file: 'foo.prop'
166
+ content: |
167
+ VAR1 = value_1
168
+ VAR2 = value_2
149
169
  - inject_passwords:
150
170
  - name: pwd_name
151
171
  value: some_encrypted_password
@@ -183,6 +203,7 @@ Here's a high level overview of what's available:
183
203
  triggers:
184
204
  - git_push: true
185
205
  - scm_polling: 'H/5 * * * *'
206
+ - periodic_build: 'H/15 * * * *'
186
207
  build_flow: |
187
208
  guard {
188
209
  build("job_name1", param1: params["param1"]);
@@ -4,4 +4,4 @@ bundle install
4
4
  rm -f *.gem
5
5
  bundle exec rake spec || exit $?
6
6
  bundle exec gem build jenkins_pipeline_builder.gemspec || exit $?
7
- bundle exec gem bump
7
+ bundle exec gem bump
@@ -48,6 +48,10 @@ module JenkinsPipelineBuilder
48
48
  scm_params: JobBuilder.method(:apply_scm_params),
49
49
  hipchat: JobBuilder.method(:hipchat_notifier),
50
50
  parameters: JobBuilder.method(:build_parameters),
51
+ priority: JobBuilder.method(:use_specific_priority),
52
+ discard_old: JobBuilder.method(:discard_old_param),
53
+ throttle: JobBuilder.method(:throttle_job),
54
+ prepare_environment: JobBuilder.method(:prepare_environment),
51
55
  builders: {
52
56
  registry: {
53
57
  multi_job: Builders.method(:build_multijob),
@@ -88,8 +92,9 @@ module JenkinsPipelineBuilder
88
92
  triggers: {
89
93
  registry: {
90
94
  git_push: Triggers.method(:enable_git_push),
91
- scm_polling: Triggers.method(:enable_scm_polling)
92
- },
95
+ scm_polling: Triggers.method(:enable_scm_polling),
96
+ periodic_build: Triggers.method(:enable_periodic_build)
97
+ },
93
98
  method:
94
99
  lambda { |registry, params, n_xml| @module_registry.run_registry_on_path('//triggers', registry, params, n_xml) }
95
100
  }
@@ -33,6 +33,7 @@ module JenkinsPipelineBuilder
33
33
  XmlHelper.update_node_text(n_xml, '//scm/wipeOutWorkspace', params[:wipe_workspace]) if params[:wipe_workspace]
34
34
  XmlHelper.update_node_text(n_xml, '//scm/excludedUsers', params[:excluded_users]) if params[:excluded_users]
35
35
  XmlHelper.update_node_text(n_xml, '//scm/userRemoteConfigs/hudson.plugins.git.UserRemoteConfig/name', params[:remote_name]) if params[:remote_name]
36
+ XmlHelper.update_node_text(n_xml, '//scm/skipTag', params[:skip_tag]) if params[:skip_tag]
36
37
  end
37
38
 
38
39
  def self.hipchat_notifier(params, n_xml)
@@ -47,16 +48,37 @@ module JenkinsPipelineBuilder
47
48
  end
48
49
  end
49
50
 
51
+ def self.use_specific_priority(params, n_xml)
52
+ n_builders = n_xml.xpath('//properties').first
53
+ Nokogiri::XML::Builder.with(n_builders) do |xml|
54
+ xml.send('jenkins.advancedqueue.AdvancedQueueSorterJobProperty', 'plugin' => 'PrioritySorter') {
55
+ xml.useJobPriority params[:use_priority]
56
+ xml.priority params[:job_priority] || -1
57
+ }
58
+ end
59
+ end
60
+
50
61
  def self.build_parameters(params, n_xml)
51
62
  n_builders = n_xml.xpath('//properties').first
52
63
  Nokogiri::XML::Builder.with(n_builders) do |xml|
53
64
  xml.send('hudson.model.ParametersDefinitionProperty') {
54
65
  xml.parameterDefinitions {
55
- param_proc = lambda do |xml, name, type, default, description|
66
+ param_proc = lambda do |xml, params, type|
56
67
  xml.send(type) {
57
- xml.name name
58
- xml.description description
59
- xml.defaultValue default
68
+ xml.name params[:name]
69
+ xml.description params[:description]
70
+ xml.defaultValue params[:default]
71
+ if params[:type] == 'choice'
72
+ puts 'choice'
73
+ puts params
74
+ xml.choices('class' => 'java.util.Arrays$ArrayList') {
75
+ xml.a('class' => 'string-array') {
76
+ params[:values].each do |value|
77
+ xml.string value
78
+ end
79
+ }
80
+ }
81
+ end
60
82
  }
61
83
  end
62
84
  params.each do |param|
@@ -69,15 +91,61 @@ module JenkinsPipelineBuilder
69
91
  paramType = 'hudson.model.TextParameterDefinition'
70
92
  when 'password'
71
93
  paramType = 'hudson.model.PasswordParameterDefinition'
94
+ when 'choice'
95
+ paramType = 'hudson.model.ChoiceParameterDefinition'
72
96
  else
73
97
  paramType = 'hudson.model.StringParameterDefinition'
74
- end
98
+ end
75
99
 
76
- param_proc.call xml, param[:name], paramType, param[:default], param[:description]
100
+ param_proc.call xml, param, paramType
77
101
  end
78
102
  }
79
103
  }
80
104
  end
81
105
  end
106
+
107
+ def self.discard_old_param(params, n_xml)
108
+ properties = n_xml.child
109
+ Nokogiri::XML::Builder.with(properties) do |xml|
110
+ xml.send('logRotator', 'class' => 'hudson.tasks.LogRotator') {
111
+ xml.daysToKeep params[:days] if params[:days]
112
+ xml.numToKeep params[:number] || -1
113
+ xml.artifactDaysToKeep params[:artifact_days] || -1
114
+ xml.artifactNumToKeep params[:artifact_number] || -1
115
+ }
116
+ end
117
+ end
118
+
119
+ def self.throttle_job(params, n_xml)
120
+ properties = n_xml.xpath('//properties').first
121
+ cat_set = params[:option]=="category"
122
+ Nokogiri::XML::Builder.with(properties) do |xml|
123
+ xml.send('hudson.plugins.throttleconcurrents.ThrottleJobProperty', 'plugin' => 'throttle-concurrents') {
124
+ xml.maxConcurrentPerNode params[:max_per_node] || 0
125
+ xml.maxConcurrentTotal params[:max_total] || 0
126
+ xml.throttleEnabled true
127
+ xml.throttleOption params[:option] || "alone"
128
+ xml.categories {
129
+ xml.string params[:category] if cat_set
130
+ }
131
+ }
132
+ end
133
+ end
134
+
135
+ def self.prepare_environment(params, n_xml)
136
+ properties = n_xml.xpath('//properties').first
137
+ Nokogiri::XML::Builder.with(properties) do |xml|
138
+ xml.send('EnvInjectJobProperty') {
139
+ xml.info{
140
+ xml.propertiesContent params[:properties_content] if params[:properties_content]
141
+ xml.loadFilesFromMaster params[:load_from_master] if params[:load_from_master]
142
+ }
143
+ xml.on true
144
+ xml.keepJenkinsSystemVariables params[:keep_environment] if params[:keep_environment]
145
+ xml.keepBuildVariables params[:keep_build] if params[:keep_build]
146
+ }
147
+ end
148
+ end
149
+
82
150
  end
83
151
  end
@@ -34,5 +34,12 @@ module JenkinsPipelineBuilder
34
34
  xml.ignorePostCommitHooks false
35
35
  }
36
36
  end
37
+
38
+ def self.enable_periodic_build(periodic_build, xml)
39
+ xml.send('hudson.triggers.TimerTrigger') {
40
+ xml.spec periodic_build
41
+ }
42
+ end
43
+
37
44
  end
38
45
  end
@@ -21,5 +21,5 @@
21
21
  #
22
22
 
23
23
  module JenkinsPipelineBuilder
24
- VERSION = "0.3.2"
24
+ VERSION = "0.4.0"
25
25
  end
@@ -29,7 +29,7 @@ module JenkinsPipelineBuilder
29
29
  end
30
30
 
31
31
  def self.console_timestamp(wrapper, xml)
32
- xml.send('hudson.plugins.timestamper.TimestamperBuildWrapper')
32
+ xml.send('hudson.plugins.timestamper.TimestamperBuildWrapper', 'plugin' => 'timestamper')
33
33
  end
34
34
 
35
35
  def self.run_with_rvm05(wrapper, xml)
@@ -85,7 +85,7 @@
85
85
  </hudson.plugins.parameterizedtrigger.BuildTrigger>
86
86
  </publishers>
87
87
  <buildWrappers>
88
- <hudson.plugins.timestamper.TimestamperBuildWrapper/>
88
+ <hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper"/>
89
89
  <org.jfrog.hudson.maven3.ArtifactoryMaven3Configurator>
90
90
  <details>
91
91
  <artifactoryUrl>https://artifactory.com/artifactory</artifactoryUrl>
@@ -47,7 +47,7 @@
47
47
  <excludedUsers>user</excludedUsers>
48
48
  <gitConfigName/>
49
49
  <gitConfigEmail/>
50
- <skipTag>false</skipTag>
50
+ <skipTag>true</skipTag>
51
51
  <includedRegions/>
52
52
  <scmName/>
53
53
  <localBranch>${GIT_BRANCH}</localBranch>
@@ -129,6 +129,6 @@
129
129
  </hudson.plugins.parameterizedtrigger.BuildTrigger>
130
130
  </publishers>
131
131
  <buildWrappers>
132
- <hudson.plugins.timestamper.TimestamperBuildWrapper/>
132
+ <hudson.plugins.timestamper.TimestamperBuildWrapper plugin="timestamper"/>
133
133
  </buildWrappers>
134
134
  </com.tikal.jenkins.plugins.multijob.MultiJobProject>
@@ -15,6 +15,7 @@
15
15
  recursive_update: true
16
16
  wipe_workspace: true
17
17
  excluded_users: user
18
+ skip_tag: true
18
19
  triggers:
19
20
  - git_push: true
20
21
  - scm_polling: "H/5 * * * *"
@@ -0,0 +1,39 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project>
3
+ <actions/>
4
+ <description/>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties>
7
+ <hudson.model.ParametersDefinitionProperty>
8
+ <parameterDefinitions>
9
+ <hudson.model.StringParameterDefinition>
10
+ <name>Param1</name>
11
+ <description>The git branch to be used when building application</description>
12
+ <defaultValue>release</defaultValue>
13
+ </hudson.model.StringParameterDefinition>
14
+ <hudson.model.ChoiceParameterDefinition>
15
+ <name>choice</name>
16
+ <description/>
17
+ <defaultValue/>
18
+ <choices class="java.util.Arrays$ArrayList">
19
+ <a class="string-array">
20
+ <string>one</string>
21
+ <string>two</string>
22
+ <string>three</string>
23
+ </a>
24
+ </choices>
25
+ </hudson.model.ChoiceParameterDefinition>
26
+ </parameterDefinitions>
27
+ </hudson.model.ParametersDefinitionProperty>
28
+ </properties>
29
+ <scm class="hudson.scm.NullSCM"/>
30
+ <canRoam>true</canRoam>
31
+ <disabled>false</disabled>
32
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
33
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
34
+ <triggers class="vector"/>
35
+ <concurrentBuild>false</concurrentBuild>
36
+ <builders/>
37
+ <publishers/>
38
+ <buildWrappers/>
39
+ </project>
@@ -0,0 +1,14 @@
1
+ ---
2
+ - job:
3
+ name: choice
4
+ parameters:
5
+ - name: Param1
6
+ type: string
7
+ default: release
8
+ description: The git branch to be used when building application
9
+ - name: choice
10
+ type: choice
11
+ values:
12
+ - one
13
+ - two
14
+ - three
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project>
3
+ <actions/>
4
+ <description/>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties/>
7
+ <scm class="hudson.scm.NullSCM"/>
8
+ <canRoam>true</canRoam>
9
+ <disabled>false</disabled>
10
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
11
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
12
+ <triggers class="vector"/>
13
+ <concurrentBuild>false</concurrentBuild>
14
+ <builders/>
15
+ <publishers/>
16
+ <buildWrappers/>
17
+ <logRotator class="hudson.tasks.LogRotator"><daysToKeep>1</daysToKeep><numToKeep>2</numToKeep><artifactDaysToKeep>3</artifactDaysToKeep><artifactNumToKeep>4</artifactNumToKeep></logRotator></project>
@@ -0,0 +1,8 @@
1
+ ---
2
+ - job:
3
+ name: discard_old
4
+ discard_old:
5
+ days: 1
6
+ number: 2
7
+ artifact_days: 3
8
+ artifact_number: 4
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project>
3
+ <actions/>
4
+ <description/>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties/>
7
+ <scm class="hudson.scm.NullSCM"/>
8
+ <canRoam>true</canRoam>
9
+ <disabled>false</disabled>
10
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
11
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
12
+ <triggers class="vector">
13
+ <hudson.triggers.TimerTrigger>
14
+ <spec>H/15 * * * *</spec>
15
+ </hudson.triggers.TimerTrigger>
16
+ </triggers>
17
+ <concurrentBuild>false</concurrentBuild>
18
+ <builders/>
19
+ <publishers/>
20
+ <buildWrappers/>
21
+ </project>
@@ -0,0 +1,5 @@
1
+ ---
2
+ - job:
3
+ name: periodic_trigger
4
+ triggers:
5
+ - periodic_build: 'H/15 * * * *'
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project>
3
+ <actions/>
4
+ <description/>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties><EnvInjectJobProperty><info><propertiesContent>test</propertiesContent></info><on>true</on><keepJenkinsSystemVariables>true</keepJenkinsSystemVariables><keepBuildVariables>true</keepBuildVariables></EnvInjectJobProperty></properties>
7
+ <scm class="hudson.scm.NullSCM"/>
8
+ <canRoam>true</canRoam>
9
+ <disabled>false</disabled>
10
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
11
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
12
+ <triggers class="vector"/>
13
+ <concurrentBuild>false</concurrentBuild>
14
+ <builders/>
15
+ <publishers/>
16
+ <buildWrappers/>
17
+ </project>
@@ -0,0 +1,7 @@
1
+ ---
2
+ - job:
3
+ name: prepare_environment_test
4
+ prepare_environment :
5
+ properties_content: 'test'
6
+ keep_build: true
7
+ keep_environment: true
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project>
3
+ <actions/>
4
+ <description/>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties>
7
+ <jenkins.advancedqueue.AdvancedQueueSorterJobProperty plugin="PrioritySorter">
8
+ <useJobPriority>true</useJobPriority>
9
+ <priority>1</priority>
10
+ </jenkins.advancedqueue.AdvancedQueueSorterJobProperty>
11
+ </properties>
12
+ <scm class="hudson.scm.NullSCM"/>
13
+ <canRoam>true</canRoam>
14
+ <disabled>false</disabled>
15
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
16
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
17
+ <triggers class="vector"/>
18
+ <concurrentBuild>false</concurrentBuild>
19
+ <builders/>
20
+ <publishers/>
21
+ <buildWrappers/>
22
+ </project>
@@ -0,0 +1,6 @@
1
+ ---
2
+ - job:
3
+ name: specific_priority
4
+ priority:
5
+ use_priority: true
6
+ job_priority: 1
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project>
3
+ <actions/>
4
+ <description/>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties><hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents"><maxConcurrentPerNode>10</maxConcurrentPerNode><maxConcurrentTotal>30</maxConcurrentTotal><throttleEnabled>true</throttleEnabled><throttleOption>category</throttleOption><categories><string>test</string></categories></hudson.plugins.throttleconcurrents.ThrottleJobProperty></properties>
7
+ <scm class="hudson.scm.NullSCM"/>
8
+ <canRoam>true</canRoam>
9
+ <disabled>false</disabled>
10
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
11
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
12
+ <triggers class="vector"/>
13
+ <concurrentBuild>false</concurrentBuild>
14
+ <builders/>
15
+ <publishers/>
16
+ <buildWrappers/>
17
+ </project>
@@ -0,0 +1,8 @@
1
+ ---
2
+ - job:
3
+ name: throttle
4
+ throttle:
5
+ max_per_node: 10
6
+ max_total: 30
7
+ option: category
8
+ category: test
@@ -35,7 +35,13 @@ describe 'Test YAML jobs conversion to XML' do
35
35
  'post_build_script',
36
36
  'properties_file',
37
37
  'downstream',
38
- 'rvm05'
38
+ 'rvm05',
39
+ 'prepare_environment',
40
+ 'throttle',
41
+ 'specific_priority',
42
+ 'periodic_build',
43
+ 'discard_old',
44
+ 'choice_parameter'
39
45
  ]
40
46
 
41
47
  files.each do |file|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jenkins_pipeline_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Moochnick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-29 00:00:00.000000000 Z
11
+ date: 2014-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -319,15 +319,27 @@ files:
319
319
  - spec/unit_tests/fixtures/files/Job-Generate-From-Template.yaml
320
320
  - spec/unit_tests/fixtures/files/Job-Multi-Project.xml
321
321
  - spec/unit_tests/fixtures/files/Job-Multi-Project.yaml
322
+ - spec/unit_tests/fixtures/files/choice_parameter.xml
323
+ - spec/unit_tests/fixtures/files/choice_parameter.yaml
324
+ - spec/unit_tests/fixtures/files/discard_old.xml
325
+ - spec/unit_tests/fixtures/files/discard_old.yaml
322
326
  - spec/unit_tests/fixtures/files/downstream.xml
323
327
  - spec/unit_tests/fixtures/files/downstream.yaml
328
+ - spec/unit_tests/fixtures/files/periodic_build.xml
329
+ - spec/unit_tests/fixtures/files/periodic_build.yaml
324
330
  - spec/unit_tests/fixtures/files/post_build_script.xml
325
331
  - spec/unit_tests/fixtures/files/post_build_script.yaml
332
+ - spec/unit_tests/fixtures/files/prepare_environment.xml
333
+ - spec/unit_tests/fixtures/files/prepare_environment.yaml
326
334
  - spec/unit_tests/fixtures/files/project.yaml
327
335
  - spec/unit_tests/fixtures/files/properties_file.xml
328
336
  - spec/unit_tests/fixtures/files/properties_file.yaml
329
337
  - spec/unit_tests/fixtures/files/rvm05.xml
330
338
  - spec/unit_tests/fixtures/files/rvm05.yaml
339
+ - spec/unit_tests/fixtures/files/specific_priority.xml
340
+ - spec/unit_tests/fixtures/files/specific_priority.yaml
341
+ - spec/unit_tests/fixtures/files/throttle.xml
342
+ - spec/unit_tests/fixtures/files/throttle.yaml
331
343
  - spec/unit_tests/fixtures/templates/external_job.yaml
332
344
  - spec/unit_tests/fixtures/templates/project_with_jobs.yaml
333
345
  - spec/unit_tests/generator_spec.rb
@@ -375,15 +387,27 @@ test_files:
375
387
  - spec/unit_tests/fixtures/files/Job-Generate-From-Template.yaml
376
388
  - spec/unit_tests/fixtures/files/Job-Multi-Project.xml
377
389
  - spec/unit_tests/fixtures/files/Job-Multi-Project.yaml
390
+ - spec/unit_tests/fixtures/files/choice_parameter.xml
391
+ - spec/unit_tests/fixtures/files/choice_parameter.yaml
392
+ - spec/unit_tests/fixtures/files/discard_old.xml
393
+ - spec/unit_tests/fixtures/files/discard_old.yaml
378
394
  - spec/unit_tests/fixtures/files/downstream.xml
379
395
  - spec/unit_tests/fixtures/files/downstream.yaml
396
+ - spec/unit_tests/fixtures/files/periodic_build.xml
397
+ - spec/unit_tests/fixtures/files/periodic_build.yaml
380
398
  - spec/unit_tests/fixtures/files/post_build_script.xml
381
399
  - spec/unit_tests/fixtures/files/post_build_script.yaml
400
+ - spec/unit_tests/fixtures/files/prepare_environment.xml
401
+ - spec/unit_tests/fixtures/files/prepare_environment.yaml
382
402
  - spec/unit_tests/fixtures/files/project.yaml
383
403
  - spec/unit_tests/fixtures/files/properties_file.xml
384
404
  - spec/unit_tests/fixtures/files/properties_file.yaml
385
405
  - spec/unit_tests/fixtures/files/rvm05.xml
386
406
  - spec/unit_tests/fixtures/files/rvm05.yaml
407
+ - spec/unit_tests/fixtures/files/specific_priority.xml
408
+ - spec/unit_tests/fixtures/files/specific_priority.yaml
409
+ - spec/unit_tests/fixtures/files/throttle.xml
410
+ - spec/unit_tests/fixtures/files/throttle.yaml
387
411
  - spec/unit_tests/fixtures/templates/external_job.yaml
388
412
  - spec/unit_tests/fixtures/templates/project_with_jobs.yaml
389
413
  - spec/unit_tests/generator_spec.rb