<?xml version='1.0' encoding='UTF-8'?>
<project>
  <actions/>
  <description>Updates the checked out source and executes a build for iOS platform for the UIBranch branch.&#xd;
This is built manually.</description>
  <displayName>Survivor Dev UI (BNEMAC0002)</displayName>
  <logRotator class="hudson.tasks.LogRotator">
    <daysToKeep>-1</daysToKeep>
    <numToKeep>5</numToKeep>
    <artifactDaysToKeep>10</artifactDaysToKeep>
    <artifactNumToKeep>20</artifactNumToKeep>
  </logRotator>
  <keepDependencies>false</keepDependencies>
  <properties>
    <hudson.model.ParametersDefinitionProperty>
      <parameterDefinitions>
        <hudson.model.StringParameterDefinition>
          <name>BUILD_CONFIG</name>
          <description>Build configuration</description>
          <defaultValue>Release</defaultValue>
        </hudson.model.StringParameterDefinition>
      </parameterDefinitions>
    </hudson.model.ParametersDefinitionProperty>
    <com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.22">
      <autoRebuild>true</autoRebuild>
    </com.sonyericsson.rebuild.RebuildSettings>
    <de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty plugin="jenkinswalldisplay@0.6.27"/>
  </properties>
  <scm class="hudson.scm.SubversionSCM" plugin="subversion@2.5.1">
    <locations>
      <hudson.scm.SubversionSCM_-ModuleLocation>
        <remote>https://svn02/vc/bne_survivor_ios/branch/UIBranch/code</remote>
        <credentialsId>9deccc4c-cf60-424c-b5f2-2dee86f324a3</credentialsId>
        <local>.</local>
        <depthOption>infinity</depthOption>
        <ignoreExternalsOption>false</ignoreExternalsOption>
      </hudson.scm.SubversionSCM_-ModuleLocation>
    </locations>
    <additionalCredentials>
      <hudson.scm.SubversionSCM_-AdditionalCredentials>
        <realm>&lt;https://svn01:443&gt; Subversion repository casual_core_framework</realm>
        <credentialsId>9deccc4c-cf60-424c-b5f2-2dee86f324a3</credentialsId>
      </hudson.scm.SubversionSCM_-AdditionalCredentials>
      <hudson.scm.SubversionSCM_-AdditionalCredentials>
        <realm>&lt;https://svn01:443&gt; Subversion repository casual_core_online</realm>
        <credentialsId>9deccc4c-cf60-424c-b5f2-2dee86f324a3</credentialsId>
      </hudson.scm.SubversionSCM_-AdditionalCredentials>
      <hudson.scm.SubversionSCM_-AdditionalCredentials>
        <realm>&lt;https://svn02:443&gt; Subversion repository casual_core_framework</realm>
        <credentialsId>9deccc4c-cf60-424c-b5f2-2dee86f324a3</credentialsId>
      </hudson.scm.SubversionSCM_-AdditionalCredentials>
      <hudson.scm.SubversionSCM_-AdditionalCredentials>
        <realm>&lt;https://svn01:443&gt; Version Control Mirror - bne</realm>
        <credentialsId>9deccc4c-cf60-424c-b5f2-2dee86f324a3</credentialsId>
      </hudson.scm.SubversionSCM_-AdditionalCredentials>
      <hudson.scm.SubversionSCM_-AdditionalCredentials>
        <realm>&lt;https://svn02:443&gt; Version Control Mirror - bne</realm>
        <credentialsId>9deccc4c-cf60-424c-b5f2-2dee86f324a3</credentialsId>
      </hudson.scm.SubversionSCM_-AdditionalCredentials>
      <hudson.scm.SubversionSCM_-AdditionalCredentials>
        <realm>&lt;https://svn02:443&gt; Subversion repository bne_survivor_ios</realm>
        <credentialsId>9deccc4c-cf60-424c-b5f2-2dee86f324a3</credentialsId>
      </hudson.scm.SubversionSCM_-AdditionalCredentials>
    </additionalCredentials>
    <excludedRegions></excludedRegions>
    <includedRegions></includedRegions>
    <excludedUsers></excludedUsers>
    <excludedRevprop></excludedRevprop>
    <excludedCommitMessages></excludedCommitMessages>
    <workspaceUpdater class="hudson.scm.subversion.UpdateUpdater"/>
    <ignoreDirPropChanges>false</ignoreDirPropChanges>
    <filterChangelog>false</filterChangelog>
  </scm>
  <assignedNode>BNEMAC0002</assignedNode>
  <canRoam>false</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  <triggers/>
  <concurrentBuild>false</concurrentBuild>
  <builders>
    <hudson.tasks.Shell>
      <command>cd ${WORKSPACE}/survivor
./generate_version_header.command
./ver.sh ${BUILD_NUMBER}

./validate_lua.command

./install_ios.command ${BUILD_CONFIG} || exit $?
mv bin/${BUILD_CONFIG}/Survivor_GameloftApps_AdHoc.ipa bin/${BUILD_CONFIG}/Survivor_UIBranch_${BUILD_NUMBER}.ipa

if [ ! -d &quot;/Volumes/Survivor/&quot; ]; then
  mkdir /Volumes/Survivor/
  mount_smbfs //LocalAdmin:LocalAdmin@build.bne.gameloft.org/Survivor/ /Volumes/Survivor/
fi
./ios_ota.command bin/${BUILD_CONFIG}/Survivor_UIBranch_${BUILD_NUMBER}.ipa /Volumes Survivor UIBranch ${BUILD_NUMBER} build.bne.gameloft.org</command>
    </hudson.tasks.Shell>
    <org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder plugin="conditional-buildstep@1.3.3">
      <condition class="org.jenkins_ci.plugins.run_condition.core.AlwaysRun" plugin="run-condition@1.0"/>
      <buildStep class="hudson.tasks.Shell">
        <command>cd ${WORKSPACE}/survivor

python data/Survivor/Tools/validate.py -root data/Survivor -cfg data/assetlist/assetconfig.json -s
</command>
      </buildStep>
      <runner class="org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail" plugin="run-condition@1.0"/>
    </org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder>
  </builders>
  <publishers>
    <hudson.tasks.ArtifactArchiver>
      <artifacts>survivor/bin/${BUILD_CONFIG}/**</artifacts>
      <allowEmptyArchive>false</allowEmptyArchive>
      <onlyIfSuccessful>false</onlyIfSuccessful>
      <fingerprint>false</fingerprint>
      <defaultExcludes>true</defaultExcludes>
    </hudson.tasks.ArtifactArchiver>
    <hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.38.2">
      <recipientList>daniel.mietz@gameloft.com, simon.eschbach@gameloft.com, ellena.linden@gameloft.com, emmanuel.vasquez@gameloft.com, axelle.de-sousa@gameloft.com</recipientList>
      <configuredTriggers>
        <hudson.plugins.emailext.plugins.trigger.AlwaysTrigger>
          <email>
            <recipientList></recipientList>
            <subject>$PROJECT_DEFAULT_SUBJECT</subject>
            <body>$PROJECT_DEFAULT_CONTENT</body>
            <recipientProviders>
              <hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
            </recipientProviders>
            <attachmentsPattern></attachmentsPattern>
            <attachBuildLog>false</attachBuildLog>
            <compressBuildLog>false</compressBuildLog>
            <replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
            <contentType>project</contentType>
          </email>
        </hudson.plugins.emailext.plugins.trigger.AlwaysTrigger>
      </configuredTriggers>
      <contentType>default</contentType>
      <defaultSubject>$DEFAULT_SUBJECT</defaultSubject>
      <defaultContent>$DEFAULT_CONTENT</defaultContent>
      <attachmentsPattern></attachmentsPattern>
      <presendScript>$DEFAULT_PRESEND_SCRIPT</presendScript>
      <attachBuildLog>false</attachBuildLog>
      <compressBuildLog>false</compressBuildLog>
      <replyTo></replyTo>
      <saveOutput>false</saveOutput>
    </hudson.plugins.emailext.ExtendedEmailPublisher>
  </publishers>
  <buildWrappers/>
</project>