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 +4 -4
- data/lib/fastlane/plugin/jenkins_job_config/actions/jenkins_job_config_action.rb +9 -2
- data/lib/fastlane/plugin/jenkins_job_config/templates/android_config.xml.erb +7 -4
- data/lib/fastlane/plugin/jenkins_job_config/templates/default_config.xml.erb +7 -4
- data/lib/fastlane/plugin/jenkins_job_config/templates/ios_config.xml.erb +11 -4
- data/lib/fastlane/plugin/jenkins_job_config/templates/unity_package_config.xml.erb +7 -4
- data/lib/fastlane/plugin/jenkins_job_config/templates/windows_config.xml.erb +7 -4
- data/lib/fastlane/plugin/jenkins_job_config/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4d4130023491315100a2da60caa0fec9df8baae8a272e17509458dd6b1ff83c
|
4
|
+
data.tar.gz: '092e5025ef3ae5de50589e9f94bdfae2274a4154e930317be2d39d31687131f8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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>
|
19
|
+
<numToKeep>50</numToKeep>
|
20
20
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
21
|
-
<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
|
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>
|
19
|
+
<numToKeep>50</numToKeep>
|
20
20
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
21
|
-
<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
|
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>
|
19
|
+
<numToKeep>50</numToKeep>
|
20
20
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
21
|
-
<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
|
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>
|
19
|
+
<numToKeep>50</numToKeep>
|
20
20
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
21
|
-
<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
|
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>
|
19
|
+
<numToKeep>50</numToKeep>
|
20
20
|
<artifactDaysToKeep>-1</artifactDaysToKeep>
|
21
|
-
<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
|
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>
|
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.
|
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:
|
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
|
-
|
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
|