-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.xml
163 lines (158 loc) · 6.25 KB
/
config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description></description>
<keepDependencies>false</keepDependencies>
<properties>
<EnvInjectJobProperty>
<info>
<loadFilesFromMaster>false</loadFilesFromMaster>
</info>
<on>true</on>
<keepJenkinsSystemVariables>true</keepJenkinsSystemVariables>
<keepBuildVariables>true</keepBuildVariables>
<contributors/>
</EnvInjectJobProperty>
</properties>
<scm class="hudson.plugins.git.GitSCM">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<name></name>
<refspec></refspec>
<url>{{gitrepo}}</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>master</name>
</hudson.plugins.git.BranchSpec>
</branches>
<disableSubmodules>false</disableSubmodules>
<recursiveSubmodules>false</recursiveSubmodules>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<authorOrCommitter>false</authorOrCommitter>
<clean>false</clean>
<wipeOutWorkspace>false</wipeOutWorkspace>
<pruneBranches>false</pruneBranches>
<remotePoll>false</remotePoll>
<ignoreNotifyCommit>false</ignoreNotifyCommit>
<useShallowClone>false</useShallowClone>
<buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
<gitTool>Default</gitTool>
<submoduleCfg class="list"/>
<relativeTargetDir></relativeTargetDir>
<reference></reference>
<excludedRegions></excludedRegions>
<excludedUsers></excludedUsers>
<gitConfigName>Jon Nolen</gitConfigName>
<gitConfigEmail>jnolen@developertown.com</gitConfigEmail>
<skipTag>false</skipTag>
<includedRegions></includedRegions>
<scmName></scmName>
</scm>
<assignedNode>ios-ci</assignedNode>
<canRoam>false</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers class="vector">
<hudson.triggers.SCMTrigger>
<spec>* * * * *</spec>
</hudson.triggers.SCMTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>#!/bin/bash
#create a prop file so that we can embed the provisioning profile into the ipa.
echo _PROVISIONING_PROFILE=`ls *.mobileprovision` > propsfile</command>
</hudson.tasks.Shell>
<EnvInjectBuilder>
<info>
<propertiesFilePath>propsfile</propertiesFilePath>
</info>
</EnvInjectBuilder>
<hudson.tasks.Shell>
<command>#!/bin/bash
#copy the mobile provisioning profile:
cp *.mobileprovision $HOME/Library/MobileDevice/Provisioning\ Profiles/</command>
</hudson.tasks.Shell>
<hudson.tasks.Shell>
<command>#!/bin/bash
#cleaning up build directorys.
rm -rf build.*
rm -rf test.*
</command>
</hudson.tasks.Shell>
<au.com.rayh.XCodeBuilder>
<cleanBeforeBuild>true</cleanBeforeBuild>
<cleanTestReports>true</cleanTestReports>
<configuration></configuration>
<target></target>
<sdk>iphonesimulator</sdk>
<symRoot>$WORKSPACE/test.sym</symRoot>
<configurationBuildDir></configurationBuildDir>
<xcodeProjectPath></xcodeProjectPath>
<xcodeProjectFile></xcodeProjectFile>
<xcodebuildArguments>DSTROOT=$WORKSPACE/test.dst OBJROOT=$WORKSPACE/test.obj SHARED_PRECOMPS_DIR=$WORKSPACE/test.pch</xcodebuildArguments>
<xcodeSchema>Test</xcodeSchema>
<xcodeWorkspaceFile>PassagewaysBoard</xcodeWorkspaceFile>
<embeddedProfileFile></embeddedProfileFile>
<cfBundleVersionValue></cfBundleVersionValue>
<cfBundleShortVersionStringValue></cfBundleShortVersionStringValue>
<buildIpa>false</buildIpa>
<unlockKeychain>false</unlockKeychain>
<keychainPath>${HOME}/Library/Keychains/login.keychain</keychainPath>
<keychainPwd></keychainPwd>
</au.com.rayh.XCodeBuilder>
<au.com.rayh.XCodeBuilder>
<cleanBeforeBuild>true</cleanBeforeBuild>
<cleanTestReports>false</cleanTestReports>
<configuration>Release</configuration>
<target></target>
<sdk>iphoneos</sdk>
<symRoot>$WORKSPACE/build.sym</symRoot>
<configurationBuildDir></configurationBuildDir>
<xcodeProjectPath></xcodeProjectPath>
<xcodeProjectFile></xcodeProjectFile>
<xcodebuildArguments>DSTROOT=$WORKSPACE/build.dst OBJROOT=$WORKSPACE/build.obj SHARED_PRECOMPS_DIR=$WORKSPACE/build.pch</xcodebuildArguments>
<xcodeSchema>PassagewaysBoard</xcodeSchema>
<xcodeWorkspaceFile>PassagewaysBoard</xcodeWorkspaceFile>
<embeddedProfileFile>$_PROVISIONING_PROFILE</embeddedProfileFile>
<cfBundleVersionValue>${BUILD_NUMBER}</cfBundleVersionValue>
<cfBundleShortVersionStringValue>1.0</cfBundleShortVersionStringValue>
<buildIpa>true</buildIpa>
<unlockKeychain>true</unlockKeychain>
<keychainPath>${HOME}/Library/Keychains/jenkins</keychainPath>
<keychainPwd>jenkins</keychainPwd>
</au.com.rayh.XCodeBuilder>
<hudson.tasks.Shell>
<command>#!/bin/bash
TESTFLIGHT_IPA=`ls ${WORKSPACE}/build.sym/Release-iphoneos/*.ipa`
echo $TESTFLIGHT_IPA
curl http://testflightapp.com/api/builds.json -F file=@"${TESTFLIGHT_IPA}" -F api_token="$TESTFLIGHT_API_TOKEN" -F team_token="$TESTFLIGHT_TEAM_TOKEN" -F notes="CI build #${BUILD_NUMBER}(${BUILD_URL})"</command>
</hudson.tasks.Shell>
</builders>
<publishers>
<hudson.tasks.ArtifactArchiver>
<artifacts>build.sym/Release-iphoneos/*.ipa,build.sym/Release-iphoneos/*dSYM.zip</artifacts>
<latestOnly>false</latestOnly>
</hudson.tasks.ArtifactArchiver>
<hudson.tasks.junit.JUnitResultArchiver>
<testResults>test-reports/*.xml</testResults>
<keepLongStdio>false</keepLongStdio>
<testDataPublishers/>
</hudson.tasks.junit.JUnitResultArchiver>
</publishers>
<buildWrappers>
<EnvInjectBuildWrapper>
<info>
<propertiesContent>TESTFLIGHT_API_TOKEN={{TESTFLIGHT_API_TOKEN}}
TESTFLIGHT_TEAM_TOKEN={{TESTFLIGHT_TEAM_TOKEN}}
</propertiesContent>
<loadFilesFromMaster>false</loadFilesFromMaster>
</info>
</EnvInjectBuildWrapper>
</buildWrappers>
</project>