-
Notifications
You must be signed in to change notification settings - Fork 1
/
IQSS-Dataverse-Develop.xml
229 lines (223 loc) · 10.2 KB
/
IQSS-Dataverse-Develop.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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>IQSS-Dataverse-Develop build for GDCC</description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.plugins.jira.JiraProjectProperty plugin="[email protected]"/>
<com.sonyericsson.jenkins.plugins.bfa.model.ScannerJobProperty plugin="[email protected]">
<doNotScan>false</doNotScan>
</com.sonyericsson.jenkins.plugins.bfa.model.ScannerJobProperty>
<com.coravy.hudson.plugins.github.GithubProjectProperty plugin="[email protected]">
<projectUrl>https://github.com/IQSS/dataverse/</projectUrl>
<displayName></displayName>
</com.coravy.hudson.plugins.github.GithubProjectProperty>
<jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl plugin="[email protected]">
<durationName>minute</durationName>
<count>1</count>
<userBoost>false</userBoost>
</jenkins.branch.RateLimitBranchProperty_-JobPropertyImpl>
</properties>
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]">
<configVersion>2</configVersion>
<userRemoteConfigs>
<hudson.plugins.git.UserRemoteConfig>
<url>https://github.com/IQSS/dataverse.git</url>
</hudson.plugins.git.UserRemoteConfig>
</userRemoteConfigs>
<branches>
<hudson.plugins.git.BranchSpec>
<name>*/develop</name>
</hudson.plugins.git.BranchSpec>
</branches>
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
<submoduleCfg class="empty-list"/>
<extensions/>
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers>
<com.cloudbees.jenkins.GitHubPushTrigger plugin="[email protected]">
<spec></spec>
</com.cloudbees.jenkins.GitHubPushTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>#!/usr/bin/env bash
echo "exit on error"
set -e
echo "use maven 3.6.3"
source /etc/profile.d/maven.sh
echo "start with a clean plate"
rm -rf target/
echo "package warfile"
mvn -DcompilerArgument=-Xlint:unchecked test -P all-unit-tests package
echo "generate HTML SureFire output"
mvn surefire-report:report</command>
<configuredLocalRules/>
</hudson.tasks.Shell>
</builders>
<publishers>
<org.jenkinsci.plugins.postbuildscript.PostBuildScript plugin="[email protected]">
<config>
<scriptFiles/>
<groovyScripts/>
<buildSteps>
<org.jenkinsci.plugins.postbuildscript.model.PostBuildStep>
<results>
<string>SUCCESS</string>
</results>
<role>BOTH</role>
<executeOn>BOTH</executeOn>
<buildSteps>
<hudson.tasks.Shell>
<command>curl -O https://raw.githubusercontent.com/GlobalDataverseCommunityConsortium/dataverse-ansible/develop/ec2/ec2-create-instance.sh
chmod 755 ec2-create-instance.sh
curl -o jenkins.yml https://raw.githubusercontent.com/GlobalDataverseCommunityConsortium/dataverse-ansible/develop/tests/group_vars/jenkins.yml</command>
<configuredLocalRules/>
</hudson.tasks.Shell>
</buildSteps>
<stopOnFailure>false</stopOnFailure>
</org.jenkinsci.plugins.postbuildscript.model.PostBuildStep>
<org.jenkinsci.plugins.postbuildscript.model.PostBuildStep>
<results>
<string>SUCCESS</string>
</results>
<role>BOTH</role>
<executeOn>BOTH</executeOn>
<buildSteps>
<hudson.tasks.Shell>
<command>./ec2-create-instance.sh -b develop -r https://github.com/IQSS/dataverse.git -t jenkins_delete_me -l target -g jenkins.yml -s t3a.large -d
if [ ! -f "./ansible_complete" ]; then
echo "Ansible run terminated abnormally. Please check console output."
exit 1
else
/bin/rm ./ansible_complete
fi</command>
<configuredLocalRules/>
</hudson.tasks.Shell>
</buildSteps>
<stopOnFailure>false</stopOnFailure>
</org.jenkinsci.plugins.postbuildscript.model.PostBuildStep>
</buildSteps>
<markBuildUnstable>false</markBuildUnstable>
</config>
</org.jenkinsci.plugins.postbuildscript.PostBuildScript>
<hudson.tasks.junit.JUnitResultArchiver plugin="[email protected]">
<testResults>target/surefire-reports/*.xml</testResults>
<keepLongStdio>false</keepLongStdio>
<healthScaleFactor>1.0</healthScaleFactor>
<allowEmptyResults>false</allowEmptyResults>
<skipPublishingChecks>false</skipPublishingChecks>
<checksName>Tests</checksName>
<skipMarkingBuildUnstable>false</skipMarkingBuildUnstable>
</hudson.tasks.junit.JUnitResultArchiver>
<io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="[email protected]">
<analysisTools>
<io.jenkins.plugins.analysis.warnings.Java>
<id></id>
<name></name>
<pattern></pattern>
<reportEncoding></reportEncoding>
<skipSymbolicLinks>false</skipSymbolicLinks>
</io.jenkins.plugins.analysis.warnings.Java>
<io.jenkins.plugins.analysis.warnings.MavenConsole>
<id></id>
<name></name>
<pattern></pattern>
<reportEncoding></reportEncoding>
<skipSymbolicLinks>false</skipSymbolicLinks>
</io.jenkins.plugins.analysis.warnings.MavenConsole>
</analysisTools>
<sourceCodeEncoding></sourceCodeEncoding>
<sourceDirectory></sourceDirectory>
<ignoreQualityGate>false</ignoreQualityGate>
<ignoreFailedBuilds>true</ignoreFailedBuilds>
<failOnError>false</failOnError>
<healthy>0</healthy>
<unhealthy>0</unhealthy>
<minimumSeverity plugin="[email protected]">
<name>LOW</name>
</minimumSeverity>
<filters/>
<isEnabledForFailure>true</isEnabledForFailure>
<isAggregatingResults>false</isAggregatingResults>
<isBlameDisabled>false</isBlameDisabled>
<skipPublishingChecks>false</skipPublishingChecks>
<publishAllIssues>false</publishAllIssues>
<qualityGates/>
<trendChartType>AGGREGATION_TOOLS</trendChartType>
<scm></scm>
</io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
<hudson.plugins.jacoco.JacocoPublisher plugin="[email protected]">
<execPattern>target/jacoco_merged.exec</execPattern>
<classPattern>target/classes</classPattern>
<sourcePattern>target/src/*/java</sourcePattern>
<sourceInclusionPattern>**/*.java,**/*.groovy,**/*.kt,**/*.kts</sourceInclusionPattern>
<sourceExclusionPattern></sourceExclusionPattern>
<inclusionPattern>**/*.class</inclusionPattern>
<exclusionPattern>**/*Test*.class</exclusionPattern>
<skipCopyOfSrcFiles>false</skipCopyOfSrcFiles>
<minimumInstructionCoverage>0</minimumInstructionCoverage>
<minimumBranchCoverage>0</minimumBranchCoverage>
<minimumComplexityCoverage>0</minimumComplexityCoverage>
<minimumLineCoverage>0</minimumLineCoverage>
<minimumMethodCoverage>0</minimumMethodCoverage>
<minimumClassCoverage>0</minimumClassCoverage>
<maximumInstructionCoverage>0</maximumInstructionCoverage>
<maximumBranchCoverage>0</maximumBranchCoverage>
<maximumComplexityCoverage>0</maximumComplexityCoverage>
<maximumLineCoverage>0</maximumLineCoverage>
<maximumMethodCoverage>0</maximumMethodCoverage>
<maximumClassCoverage>0</maximumClassCoverage>
<changeBuildStatus>false</changeBuildStatus>
<runAlways>false</runAlways>
<deltaInstructionCoverage>0</deltaInstructionCoverage>
<deltaBranchCoverage>0</deltaBranchCoverage>
<deltaComplexityCoverage>0</deltaComplexityCoverage>
<deltaLineCoverage>0</deltaLineCoverage>
<deltaMethodCoverage>0</deltaMethodCoverage>
<deltaClassCoverage>0</deltaClassCoverage>
<buildOverBuild>false</buildOverBuild>
</hudson.plugins.jacoco.JacocoPublisher>
<io.jenkins.plugins.coverage.CoveragePublisher plugin="[email protected]">
<adapters>
<io.jenkins.plugins.coverage.adapter.JacocoReportAdapter>
<path>target/site/jacoco/jacoco.xml</path>
<mergeToOneReport>true</mergeToOneReport>
<thresholds class="linked-list"/>
</io.jenkins.plugins.coverage.adapter.JacocoReportAdapter>
</adapters>
<globalThresholds class="linked-list"/>
<failUnhealthy>false</failUnhealthy>
<failUnstable>false</failUnstable>
<failNoReports>false</failNoReports>
<applyThresholdRecursively>false</applyThresholdRecursively>
<sourceFileResolver>
<level>NEVER_STORE</level>
</sourceFileResolver>
<calculateDiffForChangeRequests>false</calculateDiffForChangeRequests>
<failBuildIfCoverageDecreasedInChangeRequest>false</failBuildIfCoverageDecreasedInChangeRequest>
<skipPublishingChecks>false</skipPublishingChecks>
</io.jenkins.plugins.coverage.CoveragePublisher>
<org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter plugin="[email protected]">
<commitShaSource class="org.jenkinsci.plugins.github.status.sources.BuildDataRevisionShaSource"/>
<reposSource class="org.jenkinsci.plugins.github.status.sources.AnyDefinedRepositorySource"/>
<contextSource class="org.jenkinsci.plugins.github.status.sources.DefaultCommitContextSource"/>
<statusResultSource class="org.jenkinsci.plugins.github.status.sources.ConditionalStatusResultSource"/>
<statusBackrefSource class="org.jenkinsci.plugins.github.status.sources.BuildRefBackrefSource"/>
<errorHandlers/>
</org.jenkinsci.plugins.github.status.GitHubCommitStatusSetter>
</publishers>
<buildWrappers>
<org.jenkinsci.plugins.buildnamesetter.BuildNameSetter plugin="[email protected]">
<template>#${BUILD_NUMBER}: ${GIT_BRANCH}, SHA:${GIT_REVISION, length=8} (${BUILD_CAUSE})</template>
<descriptionTemplate></descriptionTemplate>
<runAtStart>true</runAtStart>
<runAtEnd>true</runAtEnd>
</org.jenkinsci.plugins.buildnamesetter.BuildNameSetter>
</buildWrappers>
</project>