Newer
Older
Import / projects / Gameloft / bne_lib / build / jenkinsBackup / jobs / LocalizationBuild / config.xml
<?xml version='1.0' encoding='UTF-8'?>
<project>
  <actions/>
  <description>Generates and commits .loc files&#xd;
Runs when localization spreadsheet is committed.</description>
  <displayName>Survivor Localization Build (BNEMAC0007)</displayName>
  <logRotator class="hudson.tasks.LogRotator">
    <daysToKeep>-1</daysToKeep>
    <numToKeep>8</numToKeep>
    <artifactDaysToKeep>-1</artifactDaysToKeep>
    <artifactNumToKeep>10</artifactNumToKeep>
  </logRotator>
  <keepDependencies>false</keepDependencies>
  <properties>
    <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">
      <wallDisplayName>Survivor Localization</wallDisplayName>
    </de.pellepelster.jenkins.walldisplay.WallDisplayJobProperty>
  </properties>
  <scm class="hudson.scm.SubversionSCM" plugin="subversion@2.5.1">
    <locations>
      <hudson.scm.SubversionSCM_-ModuleLocation>
        <remote>https://svn02/vc/bne_survivor_ios/trunk/code/survivor/data/localization</remote>
        <credentialsId>9deccc4c-cf60-424c-b5f2-2dee86f324a3</credentialsId>
        <local>./localization_files</local>
        <depthOption>infinity</depthOption>
        <ignoreExternalsOption>false</ignoreExternalsOption>
      </hudson.scm.SubversionSCM_-ModuleLocation>
      <hudson.scm.SubversionSCM_-ModuleLocation>
        <remote>https://svn02/vc/casual_core_framework/branch/BNE/2.6/release/tools/XLSReader/bin</remote>
        <credentialsId>9deccc4c-cf60-424c-b5f2-2dee86f324a3</credentialsId>
        <local>./reader</local>
        <depthOption>infinity</depthOption>
        <ignoreExternalsOption>false</ignoreExternalsOption>
      </hudson.scm.SubversionSCM_-ModuleLocation>
      <hudson.scm.SubversionSCM_-ModuleLocation>
        <remote>https://svn02/vc/bne_survivor_ios/trunk/gamedata/Survivor/Assets/Localization</remote>
        <credentialsId>9deccc4c-cf60-424c-b5f2-2dee86f324a3</credentialsId>
        <local>./output</local>
        <depthOption>infinity</depthOption>
        <ignoreExternalsOption>false</ignoreExternalsOption>
      </hudson.scm.SubversionSCM_-ModuleLocation>
    </locations>
    <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://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://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; 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 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.UpdateWithRevertUpdater"/>
    <ignoreDirPropChanges>false</ignoreDirPropChanges>
    <filterChangelog>false</filterChangelog>
  </scm>
  <assignedNode>BNEMAC0007</assignedNode>
  <canRoam>false</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  <triggers>
    <hudson.triggers.SCMTrigger>
      <spec># every five minutes
H/5 * * * *</spec>
      <ignorePostCommitHooks>false</ignorePostCommitHooks>
    </hudson.triggers.SCMTrigger>
  </triggers>
  <concurrentBuild>true</concurrentBuild>
  <builders>
    <hudson.tasks.Shell>
      <command>#!/bin/bash

# Run localization
cd ${WORKSPACE}/localization_files
./loc_create_ios.command ${WORKSPACE}/reader/XLSReader.exe survivor_localisationTest.xls ${WORKSPACE}/output

# Attempt to commit
cd ${WORKSPACE}/output
svn upgrade

# Add any new localization files
svn add ./ --force

svn commit -m &quot;Updating localization files. Committed by ${BUILD_TAG}&quot; --username bne.build@gameloft.com --password ${BNEBUILDPASSWORD}
</command>
    </hudson.tasks.Shell>
  </builders>
  <publishers>
    <hudson.plugins.emailext.ExtendedEmailPublisher plugin="email-ext@2.38.2">
      <recipientList>$DEFAULT_RECIPIENTS, daniel.mietz@gameloft.com</recipientList>
      <configuredTriggers>
        <hudson.plugins.emailext.plugins.trigger.FailureTrigger>
          <email>
            <recipientList></recipientList>
            <subject>$PROJECT_DEFAULT_SUBJECT</subject>
            <body>$PROJECT_DEFAULT_CONTENT</body>
            <recipientProviders>
              <hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
              <hudson.plugins.emailext.plugins.recipients.CulpritsRecipientProvider/>
            </recipientProviders>
            <attachmentsPattern></attachmentsPattern>
            <attachBuildLog>false</attachBuildLog>
            <compressBuildLog>false</compressBuildLog>
            <replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
            <contentType>project</contentType>
          </email>
        </hudson.plugins.emailext.plugins.trigger.FailureTrigger>
        <hudson.plugins.emailext.plugins.trigger.FixedTrigger>
          <email>
            <recipientList></recipientList>
            <subject>$PROJECT_DEFAULT_SUBJECT</subject>
            <body>$PROJECT_DEFAULT_CONTENT</body>
            <recipientProviders>
              <hudson.plugins.emailext.plugins.recipients.ListRecipientProvider/>
              <hudson.plugins.emailext.plugins.recipients.CulpritsRecipientProvider/>
            </recipientProviders>
            <attachmentsPattern></attachmentsPattern>
            <attachBuildLog>false</attachBuildLog>
            <compressBuildLog>false</compressBuildLog>
            <replyTo>$PROJECT_DEFAULT_REPLYTO</replyTo>
            <contentType>project</contentType>
          </email>
        </hudson.plugins.emailext.plugins.trigger.FixedTrigger>
      </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>
    <EnvInjectPasswordWrapper plugin="envinject@1.90">
      <injectGlobalPasswords>true</injectGlobalPasswords>
      <maskPasswordParameters>true</maskPasswordParameters>
      <passwordEntries/>
    </EnvInjectPasswordWrapper>
  </buildWrappers>
</project>