fastlane-plugin-jenkins_job_config 0.1.5 → 0.1.8

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
  SHA256:
3
- metadata.gz: 866cd01cbb7cc6a4d0810e9c4e5d3646b894ad8bf4e27ea60a83d5220d7ada69
4
- data.tar.gz: c2e1254ce824589e79d64d94363904742d75c44874311208d183959bcb6b40d5
3
+ metadata.gz: c4d4130023491315100a2da60caa0fec9df8baae8a272e17509458dd6b1ff83c
4
+ data.tar.gz: '092e5025ef3ae5de50589e9f94bdfae2274a4154e930317be2d39d31687131f8'
5
5
  SHA512:
6
- metadata.gz: cca490976a4abbc7dcad8016de0cebc6562f4ed2ee273806135c9ca6cd31ed136b86dcc3005c2b605fd975998aa98787ece937d8e6f605f2cf247eaf8ba384ea
7
- data.tar.gz: 43aaff1d764d4acdf6bf0b10172e9a9f6aae50adce76c2d2c42f4bc59eb04798548194394d84c961af37799e17e44c004927d6681354a23a774653f3b0e1c84b
6
+ metadata.gz: 6c6deb460e35161ec30c3a75f0dbaef1e522ee0a29d739457dd8a5b2451d28ca2aa7bbffa09ccef9395c29a7fadc11efb677fdebfd4e038155eacb6d55526ef1
7
+ data.tar.gz: fce2b5290510bc35de889a5aec0f13c54e4e2724a7dbb7a4f79b2b2da2bc2c8265258c9e48df4a8e37e34ead116b40d297f4e425154379beddd016236c5412ee
@@ -11,6 +11,8 @@ module Fastlane
11
11
 
12
12
  product = params[:product].to_s.strip
13
13
  platform = params[:platform]
14
+ assigned_label = params[:assigned_label]
15
+
14
16
  # if a user specifies a platform, it better exists!
15
17
  UI.user_error!("Empty platform") if platform && platform.empty?
16
18
  UI.verbose("Getting template for #{platform}") if platform
@@ -148,8 +150,13 @@ module Fastlane
148
150
  FastlaneCore::ConfigItem.new(key: :timeout,
149
151
  optional: true,
150
152
  type: Integer,
151
- default_value: 30,
152
- description: "The timeout of the build")
153
+ default_value: 120,
154
+ description: "The timeout of the build"),
155
+ FastlaneCore::ConfigItem.new(key: :assigned_label,
156
+ optional: true,
157
+ is_string: true,
158
+ default_value: 'unity_macosx_slave',
159
+ description: "The label to restrict builds to")
153
160
  ]
154
161
  end
155
162
 
@@ -16,9 +16,9 @@
16
16
  <jenkins.model.BuildDiscarderProperty>
17
17
  <strategy class="hudson.tasks.LogRotator">
18
18
  <daysToKeep>-1</daysToKeep>
19
- <numToKeep>30</numToKeep>
19
+ <numToKeep>50</numToKeep>
20
20
  <artifactDaysToKeep>-1</artifactDaysToKeep>
21
- <artifactNumToKeep>30</artifactNumToKeep>
21
+ <artifactNumToKeep>50</artifactNumToKeep>
22
22
  </strategy>
23
23
  </jenkins.model.BuildDiscarderProperty>
24
24
  <% parameters.each do |key,value| %> <hudson.model.ParametersDefinitionProperty>
@@ -34,7 +34,6 @@
34
34
  </hudson.model.ChoiceParameterDefinition>
35
35
  </parameterDefinitions>
36
36
  </hudson.model.ParametersDefinitionProperty><% end %>
37
- <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.34"/>
38
37
  <hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
39
38
  </properties>
40
39
  <scm class="hudson.plugins.git.GitSCM" plugin="git@3.3.0">
@@ -65,7 +64,7 @@
65
64
  </hudson.plugins.git.extensions.impl.CloneOption>
66
65
  </extensions>
67
66
  </scm>
68
- <assignedNode>unity_macosx_slave</assignedNode>
67
+ <assignedNode><%= assigned_label %></assignedNode>
69
68
  <canRoam>false</canRoam>
70
69
  <disabled>false</disabled>
71
70
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
@@ -136,6 +135,10 @@
136
135
  <credentialsId>CRYPTEX_PASSWORD</credentialsId>
137
136
  <variable>CRYPTEX_PASSWORD</variable>
138
137
  </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
138
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
139
+ <credentialsId>APPCENTER_API_TOKEN</credentialsId>
140
+ <variable>APPCENTER_API_TOKEN</variable>
141
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
139
142
  <% extra_credentials.each do |key, value| %><org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
140
143
  <credentialsId><%= key %></credentialsId>
141
144
  <variable><%= value %></variable>
@@ -16,9 +16,9 @@
16
16
  <jenkins.model.BuildDiscarderProperty>
17
17
  <strategy class="hudson.tasks.LogRotator">
18
18
  <daysToKeep>-1</daysToKeep>
19
- <numToKeep>30</numToKeep>
19
+ <numToKeep>50</numToKeep>
20
20
  <artifactDaysToKeep>-1</artifactDaysToKeep>
21
- <artifactNumToKeep>30</artifactNumToKeep>
21
+ <artifactNumToKeep>50</artifactNumToKeep>
22
22
  </strategy>
23
23
  </jenkins.model.BuildDiscarderProperty>
24
24
  <% parameters.each do |key,value| %> <hudson.model.ParametersDefinitionProperty>
@@ -34,7 +34,6 @@
34
34
  </hudson.model.ChoiceParameterDefinition>
35
35
  </parameterDefinitions>
36
36
  </hudson.model.ParametersDefinitionProperty><% end %>
37
- <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.34"/>
38
37
  <hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
39
38
  </properties>
40
39
  <scm class="hudson.plugins.git.GitSCM" plugin="git@3.3.0">
@@ -65,7 +64,7 @@
65
64
  </hudson.plugins.git.extensions.impl.CloneOption>
66
65
  </extensions>
67
66
  </scm>
68
- <assignedNode>unity_macosx_slave</assignedNode>
67
+ <assignedNode><%= assigned_label %></assignedNode>
69
68
  <canRoam>false</canRoam>
70
69
  <disabled>false</disabled>
71
70
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
@@ -132,6 +131,10 @@
132
131
  </ruby-proxy-object>
133
132
  <org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper plugin="credentials-binding@1.11">
134
133
  <bindings>
134
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
135
+ <credentialsId>APPCENTER_API_TOKEN</credentialsId>
136
+ <variable>APPCENTER_API_TOKEN</variable>
137
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
135
138
  <% extra_credentials.each do |key, value| %><org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
136
139
  <credentialsId><%= key %></credentialsId>
137
140
  <variable><%= value %></variable>
@@ -16,9 +16,9 @@
16
16
  <jenkins.model.BuildDiscarderProperty>
17
17
  <strategy class="hudson.tasks.LogRotator">
18
18
  <daysToKeep>-1</daysToKeep>
19
- <numToKeep>30</numToKeep>
19
+ <numToKeep>50</numToKeep>
20
20
  <artifactDaysToKeep>-1</artifactDaysToKeep>
21
- <artifactNumToKeep>30</artifactNumToKeep>
21
+ <artifactNumToKeep>50</artifactNumToKeep>
22
22
  </strategy>
23
23
  </jenkins.model.BuildDiscarderProperty>
24
24
  <% parameters.each do |key,value| %> <hudson.model.ParametersDefinitionProperty>
@@ -34,7 +34,6 @@
34
34
  </hudson.model.ChoiceParameterDefinition>
35
35
  </parameterDefinitions>
36
36
  </hudson.model.ParametersDefinitionProperty><% end %>
37
- <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.34"/>
38
37
  <hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
39
38
  </properties>
40
39
  <scm class="hudson.plugins.git.GitSCM" plugin="git@3.3.0">
@@ -65,7 +64,7 @@
65
64
  </hudson.plugins.git.extensions.impl.CloneOption>
66
65
  </extensions>
67
66
  </scm>
68
- <assignedNode>unity_macosx_slave</assignedNode>
67
+ <assignedNode><%= assigned_label %></assignedNode>
69
68
  <canRoam>false</canRoam>
70
69
  <disabled>false</disabled>
71
70
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
@@ -140,6 +139,14 @@
140
139
  <credentialsId>FASTLANE_KEYCHAIN_PASSWORD</credentialsId>
141
140
  <variable>FL_UNLOCK_KEYCHAIN_PASSWORD</variable>
142
141
  </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
142
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
143
+ <credentialsId>FASTLANE_KEYCHAIN_PASSWORD</credentialsId>
144
+ <variable>MATCH_KEYCHAIN_PASSWORD</variable>
145
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
146
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
147
+ <credentialsId>APPCENTER_API_TOKEN</credentialsId>
148
+ <variable>APPCENTER_API_TOKEN</variable>
149
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
143
150
  <% extra_credentials.each do |key, value| %><org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
144
151
  <credentialsId><%= key %></credentialsId>
145
152
  <variable><%= value %></variable>
@@ -16,9 +16,9 @@
16
16
  <jenkins.model.BuildDiscarderProperty>
17
17
  <strategy class="hudson.tasks.LogRotator">
18
18
  <daysToKeep>-1</daysToKeep>
19
- <numToKeep>30</numToKeep>
19
+ <numToKeep>50</numToKeep>
20
20
  <artifactDaysToKeep>-1</artifactDaysToKeep>
21
- <artifactNumToKeep>30</artifactNumToKeep>
21
+ <artifactNumToKeep>50</artifactNumToKeep>
22
22
  </strategy>
23
23
  </jenkins.model.BuildDiscarderProperty>
24
24
  <% parameters.each do |key,value| %> <hudson.model.ParametersDefinitionProperty>
@@ -34,7 +34,6 @@
34
34
  </hudson.model.ChoiceParameterDefinition>
35
35
  </parameterDefinitions>
36
36
  </hudson.model.ParametersDefinitionProperty><% end %>
37
- <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.34"/>
38
37
  <hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
39
38
  </properties>
40
39
  <scm class="hudson.plugins.git.GitSCM" plugin="git@3.3.0">
@@ -65,7 +64,7 @@
65
64
  </hudson.plugins.git.extensions.impl.CloneOption>
66
65
  </extensions>
67
66
  </scm>
68
- <assignedNode>unity_macosx_slave</assignedNode>
67
+ <assignedNode><%= assigned_label %></assignedNode>
69
68
  <canRoam>false</canRoam>
70
69
  <disabled>false</disabled>
71
70
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
@@ -136,6 +135,10 @@
136
135
  <credentialsId>FASTLANE_PUBLISH_MODULE_GITHUB_REPO_TOKEN</credentialsId>
137
136
  <variable>FASTLANE_PUBLISH_MODULE_GITHUB_REPO_TOKEN</variable>
138
137
  </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
138
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
139
+ <credentialsId>APPCENTER_API_TOKEN</credentialsId>
140
+ <variable>APPCENTER_API_TOKEN</variable>
141
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
139
142
  <% extra_credentials.each do |key, value| %><org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
140
143
  <credentialsId><%= key %></credentialsId>
141
144
  <variable><%= value %></variable>
@@ -16,9 +16,9 @@
16
16
  <jenkins.model.BuildDiscarderProperty>
17
17
  <strategy class="hudson.tasks.LogRotator">
18
18
  <daysToKeep>-1</daysToKeep>
19
- <numToKeep>30</numToKeep>
19
+ <numToKeep>50</numToKeep>
20
20
  <artifactDaysToKeep>-1</artifactDaysToKeep>
21
- <artifactNumToKeep>30</artifactNumToKeep>
21
+ <artifactNumToKeep>50</artifactNumToKeep>
22
22
  </strategy>
23
23
  </jenkins.model.BuildDiscarderProperty>
24
24
  <% parameters.each do |key,value| %> <hudson.model.ParametersDefinitionProperty>
@@ -34,7 +34,6 @@
34
34
  </hudson.model.ChoiceParameterDefinition>
35
35
  </parameterDefinitions>
36
36
  </hudson.model.ParametersDefinitionProperty><% end %>
37
- <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.34"/>
38
37
  <hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
39
38
  </properties>
40
39
  <scm class="hudson.plugins.git.GitSCM" plugin="git@3.3.0">
@@ -65,7 +64,7 @@
65
64
  </hudson.plugins.git.extensions.impl.CloneOption>
66
65
  </extensions>
67
66
  </scm>
68
- <assignedNode>unity_macosx_slave</assignedNode>
67
+ <assignedNode><%= assigned_label %></assignedNode>
69
68
  <canRoam>false</canRoam>
70
69
  <disabled>false</disabled>
71
70
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
@@ -136,6 +135,10 @@
136
135
  <credentialsId>CRYPTEX_PASSWORD</credentialsId>
137
136
  <variable>CRYPTEX_PASSWORD</variable>
138
137
  </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
138
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
139
+ <credentialsId>APPCENTER_API_TOKEN</credentialsId>
140
+ <variable>APPCENTER_API_TOKEN</variable>
141
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
139
142
  <% extra_credentials.each do |key, value| %><org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
140
143
  <credentialsId><%= key %></credentialsId>
141
144
  <variable><%= value %></variable>
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module JenkinsJobConfig
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-jenkins_job_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jerome Lacoste
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-02 00:00:00.000000000 Z
11
+ date: 2020-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -130,8 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubyforge_project:
134
- rubygems_version: 2.7.7
133
+ rubygems_version: 3.0.1
135
134
  signing_key:
136
135
  specification_version: 4
137
136
  summary: Generate the config for a Jenkins job