1
1
<?xml version =' 1.0' encoding =' UTF-8' ?>
2
- <maven2-moduleset plugin =" maven-plugin@2.7.1 " >
2
+ <maven2-moduleset plugin =" maven-plugin@2.14 " >
3
3
<actions />
4
4
<description >SouJava_Scala_Gatling_Generic_Test</description >
5
- <logRotator class =" hudson.tasks.LogRotator" >
6
- <daysToKeep >5</daysToKeep >
7
- <numToKeep >-1</numToKeep >
8
- <artifactDaysToKeep >-1</artifactDaysToKeep >
9
- <artifactNumToKeep >-1</artifactNumToKeep >
10
- </logRotator >
11
5
<keepDependencies >false</keepDependencies >
12
6
<properties >
7
+ <jenkins .model.BuildDiscarderProperty>
8
+ <strategy class =" hudson.tasks.LogRotator" >
9
+ <daysToKeep >5</daysToKeep >
10
+ <numToKeep >-1</numToKeep >
11
+ <artifactDaysToKeep >-1</artifactDaysToKeep >
12
+ <artifactNumToKeep >-1</artifactNumToKeep >
13
+ </strategy >
14
+ </jenkins .model.BuildDiscarderProperty>
13
15
<hudson .model.ParametersDefinitionProperty>
14
16
<parameterDefinitions >
15
17
<hudson .model.ChoiceParameterDefinition>
29
31
<description ></description >
30
32
<choices class =" java.util.Arrays$ArrayList" >
31
33
<a class =" string-array" >
34
+ <string >1</string >
35
+ <string >10</string >
36
+ <string >100</string >
32
37
<string >1000</string >
33
38
<string >5000</string >
34
39
<string >10000</string >
82
87
</parameterDefinitions >
83
88
</hudson .model.ParametersDefinitionProperty>
84
89
</properties >
85
- <scm class =" hudson.plugins.git.GitSCM" plugin =" git@2.2.7 " >
90
+ <scm class =" hudson.plugins.git.GitSCM" plugin =" git@3.0.1 " >
86
91
<configVersion >2</configVersion >
87
92
<userRemoteConfigs >
88
93
<hudson .plugins.git.UserRemoteConfig>
102
107
<disabled >false</disabled >
103
108
<blockBuildWhenDownstreamBuilding >false</blockBuildWhenDownstreamBuilding >
104
109
<blockBuildWhenUpstreamBuilding >false</blockBuildWhenUpstreamBuilding >
110
+ <jdk >JDK8u121</jdk >
105
111
<triggers >
106
112
<hudson .triggers.TimerTrigger>
107
113
<spec >H 4 * * 1-7</spec >
108
114
</hudson .triggers.TimerTrigger>
109
115
</triggers >
110
116
<concurrentBuild >false</concurrentBuild >
111
117
<rootModule >
112
- <groupId >io.gatling </groupId >
118
+ <groupId >br.org.soujava </groupId >
113
119
<artifactId >scala-gatling-bootstrap-mvn</artifactId >
114
120
</rootModule >
115
- <goals >gatling:execute -Dgatling.simulationClass=soujava.BenchmarkGeneric -DNUM_THREADS=${NUM_THREADS} -DRAMP_TIME=${RAMP_TIME} -DDURATION=${DURATION} -DTARGET=${TARGET} -DENDPOINT=${ENDPOINT} -DENDPOINT_NAME=${ENDPOINT_NAME} </goals >
121
+ <goals >clean install </goals >
116
122
<aggregatorStyleBuild >true</aggregatorStyleBuild >
117
123
<incrementalBuild >false</incrementalBuild >
118
- <ignoreUpstremChanges >false</ignoreUpstremChanges >
124
+ <ignoreUpstremChanges >true</ignoreUpstremChanges >
125
+ <ignoreUnsuccessfulUpstreams >false</ignoreUnsuccessfulUpstreams >
119
126
<archivingDisabled >false</archivingDisabled >
120
127
<siteArchivingDisabled >false</siteArchivingDisabled >
121
128
<fingerprintingDisabled >false</fingerprintingDisabled >
122
- <resolveDependencies >false </resolveDependencies >
123
- <processPlugins >false </processPlugins >
129
+ <resolveDependencies >true </resolveDependencies >
130
+ <processPlugins >true </processPlugins >
124
131
<mavenValidationLevel >-1</mavenValidationLevel >
125
132
<runHeadless >false</runHeadless >
126
133
<disableTriggerDownstreamProjects >false</disableTriggerDownstreamProjects >
129
136
<globalSettings class =" jenkins.mvn.DefaultGlobalSettingsProvider" />
130
137
<reporters />
131
138
<publishers >
132
- <io .gatling.jenkins.GatlingPublisher plugin =" gatling@1.0.4-SNAPSHOT" >
133
- <enabled >true</enabled >
139
+ <htmlpublisher .HtmlPublisher plugin =" htmlpublisher@1.12" >
140
+ <reportTargets >
141
+ <htmlpublisher .HtmlPublisherTarget>
142
+ <reportName >HTML Report</reportName >
143
+ <reportDir >gatling/target/result</reportDir >
144
+ <reportFiles >index.html</reportFiles >
145
+ <alwaysLinkToLastBuild >true</alwaysLinkToLastBuild >
146
+ <keepAll >true</keepAll >
147
+ <allowMissing >false</allowMissing >
148
+ </htmlpublisher .HtmlPublisherTarget>
149
+ </reportTargets >
150
+ </htmlpublisher .HtmlPublisher>
151
+ <io .gatling.jenkins.GatlingPublisher plugin =" gatling@1.2.1" >
152
+ <enabled >false</enabled >
134
153
</io .gatling.jenkins.GatlingPublisher>
135
154
</publishers >
136
155
<buildWrappers />
137
156
<prebuilders />
138
- <postbuilders />
157
+ <postbuilders >
158
+ <hudson .tasks.Shell>
159
+ <command >cd gatling;
160
+ mvn clean;
161
+ mvn gatling:execute -Dgatling.simulationClass=soujava.BenchmarkGeneric -DNUM_THREADS=${NUM_THREADS} -DRAMP_TIME=${RAMP_TIME} -DDURATION=" ${DURATION}" -DTARGET=" ${TARGET}" -DENDPOINT=" ${ENDPOINT}" -DENDPOINT_NAME=${ENDPOINT_NAME};
162
+ cp -R target/gatling/*/ target/result;</command >
163
+ </hudson .tasks.Shell>
164
+ </postbuilders >
139
165
<runPostStepsIfResult >
140
- <name >FAILURE </name >
141
- <ordinal >2 </ordinal >
142
- <color >RED </color >
166
+ <name >UNSTABLE </name >
167
+ <ordinal >1 </ordinal >
168
+ <color >YELLOW </color >
143
169
<completeBuild >true</completeBuild >
144
170
</runPostStepsIfResult >
145
171
</maven2-moduleset >
0 commit comments