fastlane-plugin-jenkins_job_config 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0b2a6033b57a8b32cab6cef860e49d954394e7ca
4
+ data.tar.gz: 8bed5f4d8f0ca8b69a05055f4ea01cc9093a2ffe
5
+ SHA512:
6
+ metadata.gz: '0850fa399f43768347c9c42c434ba2b1853117b619ea2ec81fc90ce2ab57178fd6cc47e56226305a09c46d4ed545fa6ddb93a23f8820f428854d8e48d494cd07'
7
+ data.tar.gz: 8593837c05755144892eea9ffbc8d4239f20ed0352d226f4f8618fc1b7b94cbddee0f163630fb49d255fc023e99df7615aebc2488640c67c6453e1b1453b6f8c
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Jerome Lacoste <jerome.lacoste@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,52 @@
1
+ # jenkins_job_config plugin
2
+
3
+ [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-jenkins_job_config)
4
+
5
+ ## Getting Started
6
+
7
+ This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-jenkins_job_config`, add it to your project by running:
8
+
9
+ ```bash
10
+ fastlane add_plugin jenkins_job_config
11
+ ```
12
+
13
+ ## About jenkins_job_config
14
+
15
+ Generate the config for a Jenkins job
16
+
17
+ **Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
18
+
19
+ ## Example
20
+
21
+ Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
22
+
23
+ **Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
24
+
25
+ ## Run tests for this plugin
26
+
27
+ To run both the tests, and code style validation, run
28
+
29
+ ```
30
+ rake
31
+ ```
32
+
33
+ To automatically fix many of the styling issues, use
34
+ ```
35
+ rubocop -a
36
+ ```
37
+
38
+ ## Issues and Feedback
39
+
40
+ For any other issues and feedback about this plugin, please submit it to this repository.
41
+
42
+ ## Troubleshooting
43
+
44
+ If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
45
+
46
+ ## Using `fastlane` Plugins
47
+
48
+ For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
49
+
50
+ ## About `fastlane`
51
+
52
+ `fastlane` is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
@@ -0,0 +1,16 @@
1
+ require 'fastlane/plugin/jenkins_job_config/version'
2
+
3
+ module Fastlane
4
+ module JenkinsJobConfig
5
+ # Return all .rb files inside the "actions" and "helper" directory
6
+ def self.all_classes
7
+ Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
8
+ end
9
+ end
10
+ end
11
+
12
+ # By default we want to import all available actions and helpers
13
+ # A plugin can contain any number of actions and plugins
14
+ Fastlane::JenkinsJobConfig.all_classes.each do |current|
15
+ require current
16
+ end
@@ -0,0 +1,183 @@
1
+ module Fastlane
2
+ module Actions
3
+ class JenkinsJobConfigAction < Action
4
+ def self.run(params)
5
+ params = params.values if params.kind_of?(FastlaneCore::Configuration)
6
+ UI.verbose("Generating config with the following parameters: #{params}")
7
+
8
+ git_url = params[:git_url].strip
9
+ git_branch = params[:git_branch].strip
10
+ git_project = git_url.split('/').last
11
+
12
+ product = params[:product].to_s.strip
13
+ platform = params[:platform]
14
+ # if a user specifies a platform, it better exists!
15
+ UI.user_error!("Empty platform") if platform && platform.empty?
16
+ UI.verbose("Getting template for #{platform}") if platform
17
+
18
+ # search for template by platform name
19
+ template = self.find_template("#{platform}_config.xml.erb") if platform
20
+ # fallsback
21
+ template = self.find_template("default_config.xml.erb") unless template
22
+ UI.user_error!("Template file not found") unless template
23
+
24
+ suffix = platform || params[:task]
25
+ project_name = "game_#{product}-#{git_branch}_#{suffix}"
26
+ dest_dir = "target/#{project_name}"
27
+ FileUtils.mkdir_p(dest_dir)
28
+ destination = "#{dest_dir}/config.xml"
29
+
30
+ UI.verbose("Using template #{template} for #{project_name}")
31
+
32
+ # relevant configuration for descriptive_text
33
+ present_keys = [:product, :platform, :lanes, :command, :task] & params.keys
34
+ descriptive_text = present_keys.map { |key| "#{key} <strong>#{params[key]}</strong>" }.join(" and ")
35
+
36
+ description = "Builds: #{descriptive_text}" \
37
+ "<p><strong>This config was AUTOGENERATED using <code>bundle exec fastlane generate_jenkins_configs</code></strong></p>" \
38
+ "<p><strong>Be careful if you modify this</strong>. Your changes might get rewritten. Consider contributing to <a href='https://bitbucket.org/WeWantToKnow/fastlane-plugin-jenkins_job_config'>fastlane-plugin-jenkins_job_config</a> instead.</p>"
39
+ require 'cgi' # change to lowercase to allow execution on windows
40
+ description = CGI.escapeHTML(description)
41
+
42
+ parameters = {}
43
+ if params[:command].nil?
44
+ lanes = params[:lanes]
45
+ if lanes and lanes.count > 1
46
+ parameters['JENKINS_PARAM_LANE_ENV'] = lanes if lanes.count > 1
47
+ params[:command] ||= "./ci_build.sh #{product} #{platform} $JENKINS_PARAM_LANE_ENV"
48
+ else
49
+ params[:command] ||= "./ci_build.sh #{product} #{platform} #{lanes[0]}"
50
+ end
51
+ UI.message("No command specified, used default command: #{params[:command]}")
52
+ else
53
+ UI.message("Using specified command: #{params[:command]}")
54
+ end
55
+
56
+ params.merge!({
57
+ parameters: parameters,
58
+ description: description,
59
+ git_project: git_project,
60
+ timeout_param: params[:timeout] # Else it will try to call the ruby method timeout in the .erb
61
+ })
62
+ Fastlane::Actions::ErbAction.run(
63
+ template: template,
64
+ placeholders: params,
65
+ destination: destination
66
+ )
67
+ end
68
+
69
+ # find the template file, or nil if not found
70
+ def self.find_template(filename)
71
+ template = File.join(File.expand_path("../../templates", __FILE__), filename)
72
+ UI.verbose("Looking for template under #{template}")
73
+ unless File.exist? template
74
+ UI.verbose("Template #{template} not found")
75
+ template = nil
76
+ end
77
+ template
78
+ end
79
+
80
+ def self.description
81
+ "Generate the config for a Jenkins job"
82
+ end
83
+
84
+ def self.authors
85
+ ["Jerome Lacoste"]
86
+ end
87
+
88
+ def self.return_value
89
+ # If your method provides a return value, you can describe here what it does
90
+ end
91
+
92
+ def self.details
93
+ # Optional:
94
+ "Given a set of inbuilt ERB templates, maintains our Jenkins job configs"
95
+ end
96
+
97
+ def self.available_options
98
+ [
99
+ FastlaneCore::ConfigItem.new(key: :platform,
100
+ optional: true,
101
+ is_string: false,
102
+ default_value: nil,
103
+ description: "The platform to generate the config for"),
104
+ FastlaneCore::ConfigItem.new(key: :product,
105
+ optional: false,
106
+ is_string: false,
107
+ default_value: "",
108
+ description: "The product to generate the config for"),
109
+ FastlaneCore::ConfigItem.new(key: :task,
110
+ optional: true,
111
+ is_string: true,
112
+ default_value: "",
113
+ description: "The name of the task, used if platform not specified"),
114
+ FastlaneCore::ConfigItem.new(key: :command,
115
+ optional: true,
116
+ is_string: true,
117
+ description: "The command to wrap"),
118
+ FastlaneCore::ConfigItem.new(key: :lanes,
119
+ optional: false,
120
+ type: Array,
121
+ default_value: "",
122
+ description: "The lanes to generate the config for"),
123
+ FastlaneCore::ConfigItem.new(key: :git_url,
124
+ optional: false,
125
+ is_string: true,
126
+ default_value: "",
127
+ description: "The git url to generate the config for"),
128
+ FastlaneCore::ConfigItem.new(key: :git_branch,
129
+ optional: false,
130
+ is_string: true,
131
+ default_value: "",
132
+ description: "The git branch to generate the config for"),
133
+ FastlaneCore::ConfigItem.new(key: :extra_tasks,
134
+ optional: true,
135
+ type: Hash,
136
+ default_value: {},
137
+ description: "The additional tasks to generate the config with"),
138
+ FastlaneCore::ConfigItem.new(key: :extra_credentials,
139
+ optional: true,
140
+ type: Hash,
141
+ default_value: {},
142
+ description: "The additional credentials to generate the config with"),
143
+ FastlaneCore::ConfigItem.new(key: :artifacts,
144
+ optional: true,
145
+ type: Array,
146
+ default_value: [],
147
+ description: "The artifacts to keep in the config"),
148
+ FastlaneCore::ConfigItem.new(key: :timeout,
149
+ optional: true,
150
+ type: Integer,
151
+ default_value: 30,
152
+ description: "The timeout of the build")
153
+ ]
154
+ end
155
+
156
+ def self.is_supported?(platform)
157
+ # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
158
+ # See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
159
+ #
160
+ # [:ios, :mac, :android].include?(platform)
161
+ true
162
+ end
163
+
164
+ def self.example_code
165
+ [
166
+ 'jenkins_job_config(
167
+ platform: "android",
168
+ product: "BigNumbers",
169
+ git_url: "git:///...",
170
+ lanes: [:Hockey, :GooglePlay, :Amazon],
171
+ extra_tasks: { "Clean target directory" => "rm -rf $WORKSPACE/target/*" },
172
+ extra_credentials: { "FASTLANE_PASSWORD" => "FASTLANE_PASSWORD" },
173
+ artifacts: [ "*.log", "*.data" ]
174
+ )'
175
+ ]
176
+ end
177
+
178
+ def self.category
179
+ :misc
180
+ end
181
+ end
182
+ end
183
+ end
@@ -0,0 +1,12 @@
1
+ module Fastlane
2
+ module Helper
3
+ class JenkinsJobConfigHelper
4
+ # class methods that you define here become available in your action
5
+ # as `Helper::JenkinsJobConfigHelper.your_method`
6
+ #
7
+ def self.show_message
8
+ UI.message("Hello from the jenkins_job_config plugin helper!")
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,146 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <project>
3
+ <actions/>
4
+ <description><%= description %></description>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties>
7
+ <hudson.plugins.batch__task.BatchTaskProperty plugin="batch-task@1.19">
8
+ <tasks>
9
+ <% extra_tasks.each do |key, value| %> <hudson.plugins.batch__task.BatchTask>
10
+ <name><%= key %></name>
11
+ <script><%= value %></script>
12
+ </hudson.plugins.batch__task.BatchTask>
13
+ <% end %>
14
+ </tasks>
15
+ </hudson.plugins.batch__task.BatchTaskProperty>
16
+ <jenkins.model.BuildDiscarderProperty>
17
+ <strategy class="hudson.tasks.LogRotator">
18
+ <daysToKeep>-1</daysToKeep>
19
+ <numToKeep>30</numToKeep>
20
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
21
+ <artifactNumToKeep>30</artifactNumToKeep>
22
+ </strategy>
23
+ </jenkins.model.BuildDiscarderProperty>
24
+ <% parameters.each do |key,value| %> <hudson.model.ParametersDefinitionProperty>
25
+ <parameterDefinitions>
26
+ <hudson.model.ChoiceParameterDefinition>
27
+ <name><%= key %></name>
28
+ <description></description>
29
+ <choices class="java.util.Arrays$ArrayList">
30
+ <a class="string-array"><% for @item in value %>
31
+ <string><%= @item %></string><% end %>
32
+ </a>
33
+ </choices>
34
+ </hudson.model.ChoiceParameterDefinition>
35
+ </parameterDefinitions>
36
+ </hudson.model.ParametersDefinitionProperty><% end %>
37
+ <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.34"/>
38
+ <hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
39
+ </properties>
40
+ <scm class="hudson.plugins.git.GitSCM" plugin="git@3.3.0">
41
+ <configVersion>2</configVersion>
42
+ <userRemoteConfigs>
43
+ <hudson.plugins.git.UserRemoteConfig>
44
+ <url><%= git_url %></url>
45
+ </hudson.plugins.git.UserRemoteConfig>
46
+ </userRemoteConfigs>
47
+ <branches>
48
+ <hudson.plugins.git.BranchSpec>
49
+ <name><%= git_branch %></name>
50
+ </hudson.plugins.git.BranchSpec>
51
+ </branches>
52
+ <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
53
+ <browser class="hudson.plugins.git.browser.BitbucketWeb">
54
+ <url></url>
55
+ </browser>
56
+ <submoduleCfg class="list"/>
57
+ <extensions>
58
+ <hudson.plugins.git.extensions.impl.CloneOption>
59
+ <shallow>false</shallow>
60
+ <noTags>false</noTags>
61
+ <reference>$GIT_CLONES/<%= git_project %></reference>
62
+ <timeout>30</timeout>
63
+ <depth>0</depth>
64
+ <honorRefspec>false</honorRefspec>
65
+ </hudson.plugins.git.extensions.impl.CloneOption>
66
+ </extensions>
67
+ </scm>
68
+ <assignedNode>unity_macosx_slave</assignedNode>
69
+ <canRoam>false</canRoam>
70
+ <disabled>false</disabled>
71
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
72
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
73
+ <jdk>1.8.0_112</jdk>
74
+ <triggers>
75
+ <hudson.triggers.SCMTrigger>
76
+ <spec>@yearly</spec>
77
+ <ignorePostCommitHooks>false</ignorePostCommitHooks>
78
+ </hudson.triggers.SCMTrigger>
79
+ </triggers>
80
+ <concurrentBuild>false</concurrentBuild>
81
+ <builders>
82
+ <hudson.tasks.Shell>
83
+ <command><%= command %></command>
84
+ </hudson.tasks.Shell>
85
+ </builders>
86
+ <publishers>
87
+ <hudson.plugins.logparser.LogParserPublisher plugin="log-parser@2.0">
88
+ <unstableOnWarning>false</unstableOnWarning>
89
+ <failBuildOnError>false</failBuildOnError>
90
+ <showGraphs>false</showGraphs>
91
+ <parsingRulesPath>/Users/Shared/Jenkins/Home/userContent/unity3d.rules</parsingRulesPath>
92
+ <useProjectRule>false</useProjectRule>
93
+ </hudson.plugins.logparser.LogParserPublisher>
94
+ <hudson.tasks.junit.JUnitResultArchiver plugin="junit@1.19">
95
+ <testResults>fastlane/report.xml</testResults>
96
+ <keepLongStdio>false</keepLongStdio>
97
+ <healthScaleFactor>1.0</healthScaleFactor>
98
+ <allowEmptyResults>false</allowEmptyResults>
99
+ </hudson.tasks.junit.JUnitResultArchiver>
100
+ <hudson.tasks.Mailer plugin="mailer@1.20">
101
+ <recipients>dev@wewanttoknow.com</recipients>
102
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
103
+ <sendToIndividuals>false</sendToIndividuals>
104
+ </hudson.tasks.Mailer>
105
+ <% if !artifacts.nil? && artifacts.length != 0 %> <hudson.tasks.ArtifactArchiver>
106
+ <artifacts><%= artifacts.join(', ') %></artifacts>
107
+ <allowEmptyArchive>true</allowEmptyArchive>
108
+ <onlyIfSuccessful>false</onlyIfSuccessful>
109
+ <fingerprint>false</fingerprint>
110
+ <defaultExcludes>true</defaultExcludes>
111
+ <caseSensitive>true</caseSensitive>
112
+ </hudson.tasks.ArtifactArchiver>
113
+ <% end %>
114
+ </publishers>
115
+ <buildWrappers>
116
+ <hudson.plugins.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.18">
117
+ <strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
118
+ <timeoutMinutes><%= timeout_param %></timeoutMinutes>
119
+ </strategy>
120
+ <operationList/>
121
+ </hudson.plugins.build__timeout.BuildTimeoutWrapper>
122
+ <hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.4.1">
123
+ <colorMapName>xterm</colorMapName>
124
+ </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
125
+ <ruby-proxy-object>
126
+ <ruby-object ruby-class="Jenkins::Tasks::BuildWrapperProxy" pluginid="rvm">
127
+ <object ruby-class="RvmWrapper" pluginid="rvm">
128
+ <impl pluginid="rvm" ruby-class="String">.</impl>
129
+ </object>
130
+ <pluginid pluginid="rvm" ruby-class="String">rvm</pluginid>
131
+ </ruby-object>
132
+ </ruby-proxy-object>
133
+ <org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper plugin="credentials-binding@1.11">
134
+ <bindings>
135
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
136
+ <credentialsId>CRYPTEX_PASSWORD</credentialsId>
137
+ <variable>CRYPTEX_PASSWORD</variable>
138
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
139
+ <% extra_credentials.each do |key, value| %><org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
140
+ <credentialsId><%= key %></credentialsId>
141
+ <variable><%= value %></variable>
142
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding><% end %>
143
+ </bindings>
144
+ </org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper>
145
+ </buildWrappers>
146
+ </project>
@@ -0,0 +1,134 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <project>
3
+ <actions/>
4
+ <description><%= description %></description>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties>
7
+ <hudson.plugins.batch__task.BatchTaskProperty plugin="batch-task@1.19">
8
+ <tasks>
9
+ <% extra_tasks.each do |key, value| %> <hudson.plugins.batch__task.BatchTask>
10
+ <name><%= key %></name>
11
+ <script><%= value %></script>
12
+ </hudson.plugins.batch__task.BatchTask>
13
+ <% end %>
14
+ </tasks>
15
+ </hudson.plugins.batch__task.BatchTaskProperty>
16
+ <jenkins.model.BuildDiscarderProperty>
17
+ <strategy class="hudson.tasks.LogRotator">
18
+ <daysToKeep>-1</daysToKeep>
19
+ <numToKeep>30</numToKeep>
20
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
21
+ <artifactNumToKeep>30</artifactNumToKeep>
22
+ </strategy>
23
+ </jenkins.model.BuildDiscarderProperty>
24
+ <% parameters.each do |key,value| %> <hudson.model.ParametersDefinitionProperty>
25
+ <parameterDefinitions>
26
+ <hudson.model.ChoiceParameterDefinition>
27
+ <name><%= key %></name>
28
+ <description></description>
29
+ <choices class="java.util.Arrays$ArrayList">
30
+ <a class="string-array"><% for @item in value %>
31
+ <string><%= @item %></string><% end %>
32
+ </a>
33
+ </choices>
34
+ </hudson.model.ChoiceParameterDefinition>
35
+ </parameterDefinitions>
36
+ </hudson.model.ParametersDefinitionProperty><% end %>
37
+ <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.34"/>
38
+ <hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
39
+ </properties>
40
+ <scm class="hudson.plugins.git.GitSCM" plugin="git@3.3.0">
41
+ <configVersion>2</configVersion>
42
+ <userRemoteConfigs>
43
+ <hudson.plugins.git.UserRemoteConfig>
44
+ <url><%= git_url %></url>
45
+ </hudson.plugins.git.UserRemoteConfig>
46
+ </userRemoteConfigs>
47
+ <branches>
48
+ <hudson.plugins.git.BranchSpec>
49
+ <name><%= git_branch %></name>
50
+ </hudson.plugins.git.BranchSpec>
51
+ </branches>
52
+ <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
53
+ <browser class="hudson.plugins.git.browser.BitbucketWeb">
54
+ <url></url>
55
+ </browser>
56
+ <submoduleCfg class="list"/>
57
+ <extensions>
58
+ <hudson.plugins.git.extensions.impl.CloneOption>
59
+ <shallow>false</shallow>
60
+ <noTags>false</noTags>
61
+ <reference>$GIT_CLONES/<%= git_project %></reference>
62
+ <timeout>30</timeout>
63
+ <depth>0</depth>
64
+ <honorRefspec>false</honorRefspec>
65
+ </hudson.plugins.git.extensions.impl.CloneOption>
66
+ </extensions>
67
+ </scm>
68
+ <assignedNode>unity_macosx_slave</assignedNode>
69
+ <canRoam>false</canRoam>
70
+ <disabled>false</disabled>
71
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
72
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
73
+ <jdk>1.8.0_112</jdk>
74
+ <triggers>
75
+ <hudson.triggers.SCMTrigger>
76
+ <spec>@yearly</spec>
77
+ <ignorePostCommitHooks>false</ignorePostCommitHooks>
78
+ </hudson.triggers.SCMTrigger>
79
+ </triggers>
80
+ <concurrentBuild>false</concurrentBuild>
81
+ <builders>
82
+ <hudson.tasks.Shell>
83
+ <command><%= command %></command>
84
+ </hudson.tasks.Shell>
85
+ </builders>
86
+ <publishers>
87
+ <hudson.plugins.logparser.LogParserPublisher plugin="log-parser@2.0">
88
+ <unstableOnWarning>false</unstableOnWarning>
89
+ <failBuildOnError>false</failBuildOnError>
90
+ <showGraphs>false</showGraphs>
91
+ <parsingRulesPath>/Users/Shared/Jenkins/Home/userContent/unity3d.rules</parsingRulesPath>
92
+ <useProjectRule>false</useProjectRule>
93
+ </hudson.plugins.logparser.LogParserPublisher>
94
+ <hudson.tasks.junit.JUnitResultArchiver plugin="junit@1.19">
95
+ <testResults>fastlane/report.xml</testResults>
96
+ <keepLongStdio>false</keepLongStdio>
97
+ <healthScaleFactor>1.0</healthScaleFactor>
98
+ <allowEmptyResults>false</allowEmptyResults>
99
+ </hudson.tasks.junit.JUnitResultArchiver>
100
+ <hudson.tasks.Mailer plugin="mailer@1.20">
101
+ <recipients>dev@wewanttoknow.com</recipients>
102
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
103
+ <sendToIndividuals>false</sendToIndividuals>
104
+ </hudson.tasks.Mailer>
105
+ <% if !artifacts.nil? && artifacts.length != 0 %> <hudson.tasks.ArtifactArchiver>
106
+ <artifacts><%= artifacts.join(', ') %></artifacts>
107
+ <allowEmptyArchive>true</allowEmptyArchive>
108
+ <onlyIfSuccessful>false</onlyIfSuccessful>
109
+ <fingerprint>false</fingerprint>
110
+ <defaultExcludes>true</defaultExcludes>
111
+ <caseSensitive>true</caseSensitive>
112
+ </hudson.tasks.ArtifactArchiver>
113
+ <% end %>
114
+ </publishers>
115
+ <buildWrappers>
116
+ <hudson.plugins.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.18">
117
+ <strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
118
+ <timeoutMinutes><%= timeout_param %></timeoutMinutes>
119
+ </strategy>
120
+ <operationList/>
121
+ </hudson.plugins.build__timeout.BuildTimeoutWrapper>
122
+ <hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.4.1">
123
+ <colorMapName>xterm</colorMapName>
124
+ </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
125
+ <ruby-proxy-object>
126
+ <ruby-object ruby-class="Jenkins::Tasks::BuildWrapperProxy" pluginid="rvm">
127
+ <object ruby-class="RvmWrapper" pluginid="rvm">
128
+ <impl pluginid="rvm" ruby-class="String">.</impl>
129
+ </object>
130
+ <pluginid pluginid="rvm" ruby-class="String">rvm</pluginid>
131
+ </ruby-object>
132
+ </ruby-proxy-object>
133
+ </buildWrappers>
134
+ </project>
@@ -0,0 +1,150 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <project>
3
+ <actions/>
4
+ <description><%= description %></description>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties>
7
+ <hudson.plugins.batch__task.BatchTaskProperty plugin="batch-task@1.19">
8
+ <tasks>
9
+ <% extra_tasks.each do |key, value| %> <hudson.plugins.batch__task.BatchTask>
10
+ <name><%= key %></name>
11
+ <script><%= value %></script>
12
+ </hudson.plugins.batch__task.BatchTask>
13
+ <% end %>
14
+ </tasks>
15
+ </hudson.plugins.batch__task.BatchTaskProperty>
16
+ <jenkins.model.BuildDiscarderProperty>
17
+ <strategy class="hudson.tasks.LogRotator">
18
+ <daysToKeep>-1</daysToKeep>
19
+ <numToKeep>30</numToKeep>
20
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
21
+ <artifactNumToKeep>30</artifactNumToKeep>
22
+ </strategy>
23
+ </jenkins.model.BuildDiscarderProperty>
24
+ <% parameters.each do |key,value| %> <hudson.model.ParametersDefinitionProperty>
25
+ <parameterDefinitions>
26
+ <hudson.model.ChoiceParameterDefinition>
27
+ <name><%= key %></name>
28
+ <description></description>
29
+ <choices class="java.util.Arrays$ArrayList">
30
+ <a class="string-array"><% for @item in value %>
31
+ <string><%= @item %></string><% end %>
32
+ </a>
33
+ </choices>
34
+ </hudson.model.ChoiceParameterDefinition>
35
+ </parameterDefinitions>
36
+ </hudson.model.ParametersDefinitionProperty><% end %>
37
+ <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.34"/>
38
+ <hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
39
+ </properties>
40
+ <scm class="hudson.plugins.git.GitSCM" plugin="git@3.3.0">
41
+ <configVersion>2</configVersion>
42
+ <userRemoteConfigs>
43
+ <hudson.plugins.git.UserRemoteConfig>
44
+ <url><%= git_url %></url>
45
+ </hudson.plugins.git.UserRemoteConfig>
46
+ </userRemoteConfigs>
47
+ <branches>
48
+ <hudson.plugins.git.BranchSpec>
49
+ <name><%= git_branch %></name>
50
+ </hudson.plugins.git.BranchSpec>
51
+ </branches>
52
+ <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
53
+ <browser class="hudson.plugins.git.browser.BitbucketWeb">
54
+ <url></url>
55
+ </browser>
56
+ <submoduleCfg class="list"/>
57
+ <extensions>
58
+ <hudson.plugins.git.extensions.impl.CloneOption>
59
+ <shallow>false</shallow>
60
+ <noTags>false</noTags>
61
+ <reference>$GIT_CLONES/<%= git_project %></reference>
62
+ <timeout>30</timeout>
63
+ <depth>0</depth>
64
+ <honorRefspec>false</honorRefspec>
65
+ </hudson.plugins.git.extensions.impl.CloneOption>
66
+ </extensions>
67
+ </scm>
68
+ <assignedNode>unity_macosx_slave</assignedNode>
69
+ <canRoam>false</canRoam>
70
+ <disabled>false</disabled>
71
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
72
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
73
+ <jdk>(Default)</jdk>
74
+ <triggers>
75
+ <hudson.triggers.SCMTrigger>
76
+ <spec>@yearly</spec>
77
+ <ignorePostCommitHooks>false</ignorePostCommitHooks>
78
+ </hudson.triggers.SCMTrigger>
79
+ </triggers>
80
+ <concurrentBuild>false</concurrentBuild>
81
+ <builders>
82
+ <hudson.tasks.Shell>
83
+ <command><%= command %></command>
84
+ </hudson.tasks.Shell>
85
+ </builders>
86
+ <publishers>
87
+ <hudson.plugins.logparser.LogParserPublisher plugin="log-parser@2.0">
88
+ <unstableOnWarning>false</unstableOnWarning>
89
+ <failBuildOnError>false</failBuildOnError>
90
+ <showGraphs>false</showGraphs>
91
+ <parsingRulesPath>/Users/Shared/Jenkins/Home/userContent/unity3d.rules</parsingRulesPath>
92
+ <useProjectRule>false</useProjectRule>
93
+ </hudson.plugins.logparser.LogParserPublisher>
94
+ <hudson.tasks.junit.JUnitResultArchiver plugin="junit@1.19">
95
+ <testResults>fastlane/report.xml</testResults>
96
+ <keepLongStdio>false</keepLongStdio>
97
+ <healthScaleFactor>1.0</healthScaleFactor>
98
+ <allowEmptyResults>false</allowEmptyResults>
99
+ </hudson.tasks.junit.JUnitResultArchiver>
100
+ <hudson.tasks.Mailer plugin="mailer@1.20">
101
+ <recipients>dev@wewanttoknow.com</recipients>
102
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
103
+ <sendToIndividuals>false</sendToIndividuals>
104
+ </hudson.tasks.Mailer>
105
+ <% if !artifacts.nil? && artifacts.length != 0 %> <hudson.tasks.ArtifactArchiver>
106
+ <artifacts><%= artifacts.join(', ') %></artifacts>
107
+ <allowEmptyArchive>true</allowEmptyArchive>
108
+ <onlyIfSuccessful>false</onlyIfSuccessful>
109
+ <fingerprint>false</fingerprint>
110
+ <defaultExcludes>true</defaultExcludes>
111
+ <caseSensitive>true</caseSensitive>
112
+ </hudson.tasks.ArtifactArchiver>
113
+ <% end %>
114
+ </publishers>
115
+ <buildWrappers>
116
+ <hudson.plugins.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.18">
117
+ <strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
118
+ <timeoutMinutes><%= timeout_param %></timeoutMinutes>
119
+ </strategy>
120
+ <operationList/>
121
+ </hudson.plugins.build__timeout.BuildTimeoutWrapper>
122
+ <hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.5.0">
123
+ <colorMapName>xterm</colorMapName>
124
+ </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
125
+ <ruby-proxy-object>
126
+ <ruby-object ruby-class="Jenkins::Tasks::BuildWrapperProxy" pluginid="rvm">
127
+ <object ruby-class="RvmWrapper" pluginid="rvm">
128
+ <impl pluginid="rvm" ruby-class="String">.</impl>
129
+ </object>
130
+ <pluginid pluginid="rvm" ruby-class="String">rvm</pluginid>
131
+ </ruby-object>
132
+ </ruby-proxy-object>
133
+ <org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper plugin="credentials-binding@1.11">
134
+ <bindings>
135
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
136
+ <credentialsId>MATCH_PASSWORD</credentialsId>
137
+ <variable>MATCH_PASSWORD</variable>
138
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
139
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
140
+ <credentialsId>FASTLANE_KEYCHAIN_PASSWORD</credentialsId>
141
+ <variable>FL_UNLOCK_KEYCHAIN_PASSWORD</variable>
142
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
143
+ <% extra_credentials.each do |key, value| %><org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
144
+ <credentialsId><%= key %></credentialsId>
145
+ <variable><%= value %></variable>
146
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding><% end %>
147
+ </bindings>
148
+ </org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper>
149
+ </buildWrappers>
150
+ </project>
@@ -0,0 +1,146 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <project>
3
+ <actions/>
4
+ <description><%= description %></description>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties>
7
+ <hudson.plugins.batch__task.BatchTaskProperty plugin="batch-task@1.19">
8
+ <tasks>
9
+ <% extra_tasks.each do |key, value| %> <hudson.plugins.batch__task.BatchTask>
10
+ <name><%= key %></name>
11
+ <script><%= value %></script>
12
+ </hudson.plugins.batch__task.BatchTask>
13
+ <% end %>
14
+ </tasks>
15
+ </hudson.plugins.batch__task.BatchTaskProperty>
16
+ <jenkins.model.BuildDiscarderProperty>
17
+ <strategy class="hudson.tasks.LogRotator">
18
+ <daysToKeep>-1</daysToKeep>
19
+ <numToKeep>30</numToKeep>
20
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
21
+ <artifactNumToKeep>30</artifactNumToKeep>
22
+ </strategy>
23
+ </jenkins.model.BuildDiscarderProperty>
24
+ <% parameters.each do |key,value| %> <hudson.model.ParametersDefinitionProperty>
25
+ <parameterDefinitions>
26
+ <hudson.model.ChoiceParameterDefinition>
27
+ <name><%= key %></name>
28
+ <description></description>
29
+ <choices class="java.util.Arrays$ArrayList">
30
+ <a class="string-array"><% for @item in value %>
31
+ <string><%= @item %></string><% end %>
32
+ </a>
33
+ </choices>
34
+ </hudson.model.ChoiceParameterDefinition>
35
+ </parameterDefinitions>
36
+ </hudson.model.ParametersDefinitionProperty><% end %>
37
+ <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.34"/>
38
+ <hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
39
+ </properties>
40
+ <scm class="hudson.plugins.git.GitSCM" plugin="git@3.3.0">
41
+ <configVersion>2</configVersion>
42
+ <userRemoteConfigs>
43
+ <hudson.plugins.git.UserRemoteConfig>
44
+ <url><%= git_url %></url>
45
+ </hudson.plugins.git.UserRemoteConfig>
46
+ </userRemoteConfigs>
47
+ <branches>
48
+ <hudson.plugins.git.BranchSpec>
49
+ <name><%= git_branch %></name>
50
+ </hudson.plugins.git.BranchSpec>
51
+ </branches>
52
+ <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
53
+ <browser class="hudson.plugins.git.browser.BitbucketWeb">
54
+ <url></url>
55
+ </browser>
56
+ <submoduleCfg class="list"/>
57
+ <extensions>
58
+ <hudson.plugins.git.extensions.impl.CloneOption>
59
+ <shallow>false</shallow>
60
+ <noTags>false</noTags>
61
+ <reference>$GIT_CLONES/<%= git_project %></reference>
62
+ <timeout>30</timeout>
63
+ <depth>0</depth>
64
+ <honorRefspec>false</honorRefspec>
65
+ </hudson.plugins.git.extensions.impl.CloneOption>
66
+ </extensions>
67
+ </scm>
68
+ <assignedNode>unity_macosx_slave</assignedNode>
69
+ <canRoam>false</canRoam>
70
+ <disabled>false</disabled>
71
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
72
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
73
+ <jdk>1.8.0_112</jdk>
74
+ <triggers>
75
+ <hudson.triggers.SCMTrigger>
76
+ <spec>@yearly</spec>
77
+ <ignorePostCommitHooks>false</ignorePostCommitHooks>
78
+ </hudson.triggers.SCMTrigger>
79
+ </triggers>
80
+ <concurrentBuild>false</concurrentBuild>
81
+ <builders>
82
+ <hudson.tasks.Shell>
83
+ <command><%= command %></command>
84
+ </hudson.tasks.Shell>
85
+ </builders>
86
+ <publishers>
87
+ <hudson.plugins.logparser.LogParserPublisher plugin="log-parser@2.0">
88
+ <unstableOnWarning>false</unstableOnWarning>
89
+ <failBuildOnError>false</failBuildOnError>
90
+ <showGraphs>false</showGraphs>
91
+ <parsingRulesPath>/Users/Shared/Jenkins/Home/userContent/unity3d.rules</parsingRulesPath>
92
+ <useProjectRule>false</useProjectRule>
93
+ </hudson.plugins.logparser.LogParserPublisher>
94
+ <hudson.tasks.junit.JUnitResultArchiver plugin="junit@1.19">
95
+ <testResults>fastlane/report.xml</testResults>
96
+ <keepLongStdio>false</keepLongStdio>
97
+ <healthScaleFactor>1.0</healthScaleFactor>
98
+ <allowEmptyResults>false</allowEmptyResults>
99
+ </hudson.tasks.junit.JUnitResultArchiver>
100
+ <hudson.tasks.Mailer plugin="mailer@1.20">
101
+ <recipients>dev@wewanttoknow.com</recipients>
102
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
103
+ <sendToIndividuals>false</sendToIndividuals>
104
+ </hudson.tasks.Mailer>
105
+ <% if !artifacts.nil? && artifacts.length != 0 %> <hudson.tasks.ArtifactArchiver>
106
+ <artifacts><%= artifacts.join(', ') %></artifacts>
107
+ <allowEmptyArchive>true</allowEmptyArchive>
108
+ <onlyIfSuccessful>false</onlyIfSuccessful>
109
+ <fingerprint>false</fingerprint>
110
+ <defaultExcludes>true</defaultExcludes>
111
+ <caseSensitive>true</caseSensitive>
112
+ </hudson.tasks.ArtifactArchiver>
113
+ <% end %>
114
+ </publishers>
115
+ <buildWrappers>
116
+ <hudson.plugins.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.18">
117
+ <strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
118
+ <timeoutMinutes><%= timeout_param %></timeoutMinutes>
119
+ </strategy>
120
+ <operationList/>
121
+ </hudson.plugins.build__timeout.BuildTimeoutWrapper>
122
+ <hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.4.1">
123
+ <colorMapName>xterm</colorMapName>
124
+ </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
125
+ <ruby-proxy-object>
126
+ <ruby-object ruby-class="Jenkins::Tasks::BuildWrapperProxy" pluginid="rvm">
127
+ <object ruby-class="RvmWrapper" pluginid="rvm">
128
+ <impl pluginid="rvm" ruby-class="String">.</impl>
129
+ </object>
130
+ <pluginid pluginid="rvm" ruby-class="String">rvm</pluginid>
131
+ </ruby-object>
132
+ </ruby-proxy-object>
133
+ <org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper plugin="credentials-binding@1.11">
134
+ <bindings>
135
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
136
+ <credentialsId>FASTLANE_PUBLISH_MODULE_GITHUB_REPO_TOKEN</credentialsId>
137
+ <variable>FASTLANE_PUBLISH_MODULE_GITHUB_REPO_TOKEN</variable>
138
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
139
+ <% extra_credentials.each do |key, value| %><org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
140
+ <credentialsId><%= key %></credentialsId>
141
+ <variable><%= value %></variable>
142
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding><% end %>
143
+ </bindings>
144
+ </org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper>
145
+ </buildWrappers>
146
+ </project>
@@ -0,0 +1,146 @@
1
+ <?xml version='1.0' encoding='UTF-8'?>
2
+ <project>
3
+ <actions/>
4
+ <description><%= description %></description>
5
+ <keepDependencies>false</keepDependencies>
6
+ <properties>
7
+ <hudson.plugins.batch__task.BatchTaskProperty plugin="batch-task@1.19">
8
+ <tasks>
9
+ <% extra_tasks.each do |key, value| %> <hudson.plugins.batch__task.BatchTask>
10
+ <name><%= key %></name>
11
+ <script><%= value %></script>
12
+ </hudson.plugins.batch__task.BatchTask>
13
+ <% end %>
14
+ </tasks>
15
+ </hudson.plugins.batch__task.BatchTaskProperty>
16
+ <jenkins.model.BuildDiscarderProperty>
17
+ <strategy class="hudson.tasks.LogRotator">
18
+ <daysToKeep>-1</daysToKeep>
19
+ <numToKeep>30</numToKeep>
20
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
21
+ <artifactNumToKeep>30</artifactNumToKeep>
22
+ </strategy>
23
+ </jenkins.model.BuildDiscarderProperty>
24
+ <% parameters.each do |key,value| %> <hudson.model.ParametersDefinitionProperty>
25
+ <parameterDefinitions>
26
+ <hudson.model.ChoiceParameterDefinition>
27
+ <name><%= key %></name>
28
+ <description></description>
29
+ <choices class="java.util.Arrays$ArrayList">
30
+ <a class="string-array"><% for @item in value %>
31
+ <string><%= @item %></string><% end %>
32
+ </a>
33
+ </choices>
34
+ </hudson.model.ChoiceParameterDefinition>
35
+ </parameterDefinitions>
36
+ </hudson.model.ParametersDefinitionProperty><% end %>
37
+ <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.34"/>
38
+ <hudson.plugins.disk__usage.DiskUsageProperty plugin="disk-usage@0.28"/>
39
+ </properties>
40
+ <scm class="hudson.plugins.git.GitSCM" plugin="git@3.3.0">
41
+ <configVersion>2</configVersion>
42
+ <userRemoteConfigs>
43
+ <hudson.plugins.git.UserRemoteConfig>
44
+ <url><%= git_url %></url>
45
+ </hudson.plugins.git.UserRemoteConfig>
46
+ </userRemoteConfigs>
47
+ <branches>
48
+ <hudson.plugins.git.BranchSpec>
49
+ <name><%= git_branch %></name>
50
+ </hudson.plugins.git.BranchSpec>
51
+ </branches>
52
+ <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
53
+ <browser class="hudson.plugins.git.browser.BitbucketWeb">
54
+ <url></url>
55
+ </browser>
56
+ <submoduleCfg class="list"/>
57
+ <extensions>
58
+ <hudson.plugins.git.extensions.impl.CloneOption>
59
+ <shallow>false</shallow>
60
+ <noTags>false</noTags>
61
+ <reference>$GIT_CLONES/<%= git_project %></reference>
62
+ <timeout>30</timeout>
63
+ <depth>0</depth>
64
+ <honorRefspec>false</honorRefspec>
65
+ </hudson.plugins.git.extensions.impl.CloneOption>
66
+ </extensions>
67
+ </scm>
68
+ <assignedNode>unity_macosx_slave</assignedNode>
69
+ <canRoam>false</canRoam>
70
+ <disabled>false</disabled>
71
+ <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
72
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
73
+ <jdk>1.8.0_112</jdk>
74
+ <triggers>
75
+ <hudson.triggers.SCMTrigger>
76
+ <spec>@yearly</spec>
77
+ <ignorePostCommitHooks>false</ignorePostCommitHooks>
78
+ </hudson.triggers.SCMTrigger>
79
+ </triggers>
80
+ <concurrentBuild>false</concurrentBuild>
81
+ <builders>
82
+ <hudson.tasks.Shell>
83
+ <command><%= command %></command>
84
+ </hudson.tasks.Shell>
85
+ </builders>
86
+ <publishers>
87
+ <hudson.plugins.logparser.LogParserPublisher plugin="log-parser@2.0">
88
+ <unstableOnWarning>false</unstableOnWarning>
89
+ <failBuildOnError>false</failBuildOnError>
90
+ <showGraphs>false</showGraphs>
91
+ <parsingRulesPath>/Users/Shared/Jenkins/Home/userContent/unity3d.rules</parsingRulesPath>
92
+ <useProjectRule>false</useProjectRule>
93
+ </hudson.plugins.logparser.LogParserPublisher>
94
+ <hudson.tasks.junit.JUnitResultArchiver plugin="junit@1.19">
95
+ <testResults>fastlane/report.xml</testResults>
96
+ <keepLongStdio>false</keepLongStdio>
97
+ <healthScaleFactor>1.0</healthScaleFactor>
98
+ <allowEmptyResults>false</allowEmptyResults>
99
+ </hudson.tasks.junit.JUnitResultArchiver>
100
+ <hudson.tasks.Mailer plugin="mailer@1.20">
101
+ <recipients>dev@wewanttoknow.com</recipients>
102
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
103
+ <sendToIndividuals>false</sendToIndividuals>
104
+ </hudson.tasks.Mailer>
105
+ <% if !artifacts.nil? && artifacts.length != 0 %> <hudson.tasks.ArtifactArchiver>
106
+ <artifacts><%= artifacts.join(', ') %></artifacts>
107
+ <allowEmptyArchive>true</allowEmptyArchive>
108
+ <onlyIfSuccessful>false</onlyIfSuccessful>
109
+ <fingerprint>false</fingerprint>
110
+ <defaultExcludes>true</defaultExcludes>
111
+ <caseSensitive>true</caseSensitive>
112
+ </hudson.tasks.ArtifactArchiver>
113
+ <% end %>
114
+ </publishers>
115
+ <buildWrappers>
116
+ <hudson.plugins.build__timeout.BuildTimeoutWrapper plugin="build-timeout@1.18">
117
+ <strategy class="hudson.plugins.build_timeout.impl.AbsoluteTimeOutStrategy">
118
+ <timeoutMinutes><%= timeout_param %></timeoutMinutes>
119
+ </strategy>
120
+ <operationList/>
121
+ </hudson.plugins.build__timeout.BuildTimeoutWrapper>
122
+ <hudson.plugins.ansicolor.AnsiColorBuildWrapper plugin="ansicolor@0.4.1">
123
+ <colorMapName>xterm</colorMapName>
124
+ </hudson.plugins.ansicolor.AnsiColorBuildWrapper>
125
+ <ruby-proxy-object>
126
+ <ruby-object ruby-class="Jenkins::Tasks::BuildWrapperProxy" pluginid="rvm">
127
+ <object ruby-class="RvmWrapper" pluginid="rvm">
128
+ <impl pluginid="rvm" ruby-class="String">.</impl>
129
+ </object>
130
+ <pluginid pluginid="rvm" ruby-class="String">rvm</pluginid>
131
+ </ruby-object>
132
+ </ruby-proxy-object>
133
+ <org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper plugin="credentials-binding@1.11">
134
+ <bindings>
135
+ <org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
136
+ <credentialsId>CRYPTEX_PASSWORD</credentialsId>
137
+ <variable>CRYPTEX_PASSWORD</variable>
138
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
139
+ <% extra_credentials.each do |key, value| %><org.jenkinsci.plugins.credentialsbinding.impl.StringBinding>
140
+ <credentialsId><%= key %></credentialsId>
141
+ <variable><%= value %></variable>
142
+ </org.jenkinsci.plugins.credentialsbinding.impl.StringBinding><% end %>
143
+ </bindings>
144
+ </org.jenkinsci.plugins.credentialsbinding.impl.SecretBuildWrapper>
145
+ </buildWrappers>
146
+ </project>
@@ -0,0 +1,5 @@
1
+ module Fastlane
2
+ module JenkinsJobConfig
3
+ VERSION = "0.1.4"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,138 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fastlane-plugin-jenkins_job_config
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.4
5
+ platform: ruby
6
+ authors:
7
+ - Jerome Lacoste
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-06-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: pry
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: fastlane
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 2.13.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: 2.13.0
97
+ description:
98
+ email: jerome.lacoste@gmail.com
99
+ executables: []
100
+ extensions: []
101
+ extra_rdoc_files: []
102
+ files:
103
+ - LICENSE
104
+ - README.md
105
+ - lib/fastlane/plugin/jenkins_job_config.rb
106
+ - lib/fastlane/plugin/jenkins_job_config/actions/jenkins_job_config_action.rb
107
+ - lib/fastlane/plugin/jenkins_job_config/helper/jenkins_job_config_helper.rb
108
+ - lib/fastlane/plugin/jenkins_job_config/templates/android_config.xml.erb
109
+ - lib/fastlane/plugin/jenkins_job_config/templates/default_config.xml.erb
110
+ - lib/fastlane/plugin/jenkins_job_config/templates/ios_config.xml.erb
111
+ - lib/fastlane/plugin/jenkins_job_config/templates/unity_package_config.xml.erb
112
+ - lib/fastlane/plugin/jenkins_job_config/templates/windows_config.xml.erb
113
+ - lib/fastlane/plugin/jenkins_job_config/version.rb
114
+ homepage:
115
+ licenses:
116
+ - MIT
117
+ metadata: {}
118
+ post_install_message:
119
+ rdoc_options: []
120
+ require_paths:
121
+ - lib
122
+ required_ruby_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ required_rubygems_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ requirements: []
133
+ rubyforge_project:
134
+ rubygems_version: 2.5.2
135
+ signing_key:
136
+ specification_version: 4
137
+ summary: Generate the config for a Jenkins job
138
+ test_files: []