Job Configuration Difference

Older Change Newer Change
Date: 2017-12-19_15-49-14Date: 2018-01-12_14-49-04
Operation: ChangedOperation: Changed
User:Julien Carsique
User:Julien Carsique
2
<job-template plugin="cloudbees-template@4.28">
2
<job-template plugin="cloudbees-template@4.28">
3
  <actions/>
3
  <actions/>
4
  <description></description>
4
  <description></description>
5
  <displayName>Nuxeo On-Demand test and push</displayName>
5
  <displayName>Nuxeo On-Demand Test and Push</displayName>
6
  <attributes>
6
  <attributes>
7
    <template-attribute>
7
    <template-attribute>
8
      <name>name</name>
8
      <name>name</name>
...
...
81
&lt;/ol&gt;
81
&lt;/ol&gt;
82
</description>
82
</description>
83
  <logRotator class="hudson.tasks.LogRotator">
83
  <logRotator class="hudson.tasks.LogRotator">
84
    <daysToKeep>21</daysToKeep>
84
    <daysToKeep>60</daysToKeep>
85
    <numToKeep>100</numToKeep>
85
    <numToKeep>60</numToKeep>
86
    <artifactDaysToKeep>-1</artifactDaysToKeep>
86
    <artifactDaysToKeep>-1</artifactDaysToKeep>
87
    <artifactNumToKeep>1</artifactNumToKeep>
87
    <artifactNumToKeep>1</artifactNumToKeep>
88
  </logRotator>
88
  </logRotator>
...
...
138
     <hudson.model.StringParameterDefinition>
138
     <hudson.model.StringParameterDefinition>
139
     <name>MVN_ADDITIONAL_OPTS</name>
139
     <name>MVN_ADDITIONAL_OPTS</name>
140
          <description>For instance: &quot;-pl nuxeo-common&quot;, &quot;-pl -:nuxeo-distribution-dm-webdriver-tests&quot;, &quot;-rf somemodule&quot;, &quot;-N&quot;, &quot;-DskipTests=true&quot;, &quot;-DskipITs=true&quot;, &quot;-Dskip.surefire.tests=true&quot;, &quot;-Dmaven.test.failure.ignore=true&quot;...
140
          <description>For instance: &quot;-pl nuxeo-common&quot;, &quot;-pl -:nuxeo-distribution-dm-webdriver-tests&quot;, &quot;-rf somemodule&quot;, &quot;-N&quot;, &quot;-DskipTests=true&quot;, &quot;-DskipITs=true&quot;, &quot;-Dskip.surefire.tests=true&quot;, &quot;-Dmaven.test.failure.ignore=true&quot;...
141
Default includes &quot;-fae&quot; (fail at end): fail after the whole build (though skipping modules which dependencies build have failed) instead of fail at first error.</description>
141
Default is &quot;-fae&quot; (fail at end): fail after the whole build (though skipping modules which dependencies build have failed) instead of fail at first error.</description>
142
     <defaultValue>-fae -nsu -Dnuxeo.tests.random.mode=bypass</defaultValue>
142
     <defaultValue>-fae -nsu -Dnuxeo.tests.random.mode=bypass</defaultValue>
143
        </hudson.model.StringParameterDefinition>
143
        </hudson.model.StringParameterDefinition>
144
<hudson.model.StringParameterDefinition>
144
<hudson.model.StringParameterDefinition>
...
...
172
  <builders>
172
  <builders>
173
    <hudson.tasks.Shell>
173
    <hudson.tasks.Shell>
174
      <command>#!/bin/bash -xe
174
      <command>#!/bin/bash -xe


175
which -a java mvn


176
java -version


177
mvn -V --version


178

175
[[ &quot;\$BRANCH&quot; != &quot;\${BRANCH//[^A-Za-z0-9-_.\\/]/}&quot; ]] &amp;&amp; echo &quot;[WARNING] BRANCH name with invalid characters: \$(echo \$BRANCH|cat -v)&quot; &gt;&amp;2 || echo &quot;BRANCH name check: OK&quot;
179
[[ &quot;\$BRANCH&quot; != &quot;\${BRANCH//[^A-Za-z0-9-_.\\/]/}&quot; ]] &amp;&amp; echo &quot;[WARNING] BRANCH name with invalid characters: \$(echo \$BRANCH|cat -v)&quot; &gt;&amp;2 || echo &quot;BRANCH name check: OK&quot;
176
BRANCH=\${BRANCH//[^A-Za-z0-9-_.\\/]/}
180
BRANCH=\${BRANCH//[^A-Za-z0-9-_.\\/]/}
177
START=\$(date +%s)
181
START=\$(date +%s)
...
...
210
echo &quot;\$(date +%s)&quot; &gt;\$WORKSPACE/.ci-metrics-mavenstart</command>
214
echo &quot;\$(date +%s)&quot; &gt;\$WORKSPACE/.ci-metrics-mavenstart</command>
211
    </hudson.tasks.Shell>
215
    </hudson.tasks.Shell>
212
    <hudson.tasks.Maven>
216
    <hudson.tasks.Maven>
213
      <targets>\$MVN_TARGETS -Paddons,distrib \$PROFILES \$MVN_ADDITIONAL_OPTS</targets>
217
      <targets>-V \$MVN_TARGETS -Paddons,distrib \$PROFILES \$MVN_ADDITIONAL_OPTS</targets>
214
    <mavenName>${maven?.name}</mavenName>
218
    <mavenName>${maven?.name}</mavenName>
215
      <jvmOptions>-Xms1024m -Xmx4096m ${(jdk?.name && jdk.name!="java-8-oracle")?"-XX:MaxPermSize=2048m":""}</jvmOptions>
219
      <jvmOptions>-Xms1024m -Xmx4096m ${jdk?.name?.startsWith("java-7")?"-XX:MaxPermSize=2048m":""}</jvmOptions>
216
    <usePrivateRepository>true</usePrivateRepository>
220
    <usePrivateRepository>true</usePrivateRepository>
217
      <settings class="jenkins.mvn.DefaultSettingsProvider"/>
221
      <settings class="jenkins.mvn.DefaultSettingsProvider"/>
218
    <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>
222
    <globalSettings class="jenkins.mvn.DefaultGlobalSettingsProvider"/>