Skip to content

Commit 1f90318

Browse files
DHFPROD-8088: Adding 10.0-8 regressions
1 parent 6d42157 commit 1f90318

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

Jenkinsfile

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def dhfWinTests(String mlVersion, String type){
100100
}
101101
def winParallel(){
102102
script{
103-
copyMSI "Release","10.0-7";
103+
copyMSI "Release","10.0-8";
104104
def pkgOutput=bat(returnStdout:true , script: '''
105105
cd xdmp/src
106106
for /f "delims=" %%a in ('dir /s /b *.msi') do set "name=%%~a"
@@ -160,7 +160,7 @@ def isPRUITest(){
160160
}
161161

162162
void runCypressE2e(String cmd){
163-
copyRPM 'Release','10.0-7.3'
163+
copyRPM 'Release','10.0-8'
164164
setUpML '$WORKSPACE/xdmp/src/Mark*.rpm'
165165
sh 'rm -rf *central*.rpm || true'
166166
copyArtifacts filter: '**/*.rpm', fingerprintArtifacts: true, flatten: true, projectName: '${JOB_NAME}', selector: specific('${BUILD_NUMBER}')
@@ -219,7 +219,7 @@ void runCypressE2e(String cmd){
219219

220220
void UnitTest(){
221221
props = readProperties file:'data-hub/pipeline.properties';
222-
copyRPM 'Release','10.0-7.3'
222+
copyRPM 'Release','10.0-8'
223223
setUpML '$WORKSPACE/xdmp/src/Mark*.rpm'
224224
sh 'export JAVA_HOME=`eval echo "$JAVA_HOME_DIR"`;export GRADLE_USER_HOME=$WORKSPACE$GRADLE_DIR;export M2_HOME=$MAVEN_HOME/bin;export PATH=$JAVA_HOME/bin:$GRADLE_USER_HOME:$PATH:$MAVEN_HOME/bin;cd $WORKSPACE/data-hub;rm -rf $GRADLE_USER_HOME/caches;set +e;./gradlew clean;./gradlew marklogic-data-hub:bootstrap -i --stacktrace -PnodeDistributionBaseUrl=http://node-mirror.eng.marklogic.com:8080/;sleep 10s;./gradlew marklogic-data-hub-central:test -i --stacktrace -PnodeDistributionBaseUrl=http://node-mirror.eng.marklogic.com:8080/;sleep 10s;./gradlew ml-data-hub:test -i --stacktrace -PnodeDistributionBaseUrl=http://node-mirror.eng.marklogic.com:8080/;sleep 10s;./gradlew marklogic-data-hub-spark-connector:test -i --stacktrace -PnodeDistributionBaseUrl=http://node-mirror.eng.marklogic.com:8080/;sleep 10s;./gradlew installer-for-dhs:test -i --stacktrace -PnodeDistributionBaseUrl=http://node-mirror.eng.marklogic.com:8080/;sleep 10s;./gradlew marklogic-data-hub-client-jar:test -i --stacktrace -PnodeDistributionBaseUrl=http://node-mirror.eng.marklogic.com:8080/'
225225
junit '**/TEST-*.xml'
@@ -258,7 +258,7 @@ void Tests(){
258258
cleanWs deleteDirs: true, patterns: [[pattern: 'data-hub/**', type: 'EXCLUDE']]
259259

260260
props = readProperties file:'data-hub/pipeline.properties';
261-
copyRPM 'Release','10.0-7.3'
261+
copyRPM 'Release','10.0-8'
262262
def mlHubHosts=setupMLDockerNodes 3
263263
sh 'export JAVA_HOME=`eval echo "$JAVA_HOME_DIR"`;export GRADLE_USER_HOME=$WORKSPACE$GRADLE_DIR;export M2_HOME=$MAVEN_HOME/bin;export PATH=$JAVA_HOME/bin:$GRADLE_USER_HOME:$PATH:$MAVEN_HOME/bin;cd $WORKSPACE/data-hub;rm -rf $GRADLE_USER_HOME/caches;set +e;./gradlew clean;./gradlew marklogic-data-hub:testAcceptance -i --stacktrace -PnodeDistributionBaseUrl=http://node-mirror.eng.marklogic.com:8080/ -PmlHost='+mlHubHosts
264264
junit '**/TEST-*.xml'
@@ -321,7 +321,7 @@ void BuildDatahub(){
321321

322322
void dh5Example() {
323323
sh 'cd $WORKSPACE/data-hub/examples/dh-5-example;repo="maven {";url="url \'https://nexus.marklogic.com/repository/maven-snapshots/\'";protocal="allowInsecureProtocol = true}";cred="credentials {";uname="username mavenUser";pass="password mavenPassword }";sed -i "/repositories {/a$protocal" build.gradle;sed -i "/repositories {/a$url" build.gradle;sed -i "/repositories {/a$pass" build.gradle;sed -i "/repositories {/a$uname" build.gradle;sed -i "/repositories {/a$cred" build.gradle;sed -i "/repositories {/a$repo" build.gradle;mkdir -p $WORKSPACE$GRADLE_DIR;cp ~/.gradle/gradle.properties $WORKSPACE$GRADLE_DIR;'
324-
copyRPM 'Release','10.0-7.3'
324+
copyRPM 'Release','10.0-8'
325325
script{
326326
props = readProperties file:'data-hub/pipeline.properties';
327327
def dockerhost=setupMLDockerCluster 3
@@ -345,7 +345,7 @@ void dh5Example() {
345345

346346
void dhCustomHook() {
347347
sh 'cd $WORKSPACE/data-hub/examples/dhf5-custom-hook;repo="maven {";url="url \'https://nexus.marklogic.com/repository/maven-snapshots/\'";protocal="allowInsecureProtocol = true}";cred="credentials {";uname="username mavenUser";pass="password mavenPassword }";sed -i "/repositories {/a$protocal" build.gradle;sed -i "/repositories {/a$url" build.gradle;sed -i "/repositories {/a$pass" build.gradle;sed -i "/repositories {/a$uname" build.gradle;sed -i "/repositories {/a$cred" build.gradle;sed -i "/repositories {/a$repo" build.gradle;mkdir -p $WORKSPACE$GRADLE_DIR;cp ~/.gradle/gradle.properties $WORKSPACE$GRADLE_DIR;'
348-
copyRPM 'Release','10.0-7.3'
348+
copyRPM 'Release','10.0-8'
349349
script{
350350
props = readProperties file:'data-hub/pipeline.properties';
351351
def dockerhost=setupMLDockerCluster 3
@@ -368,7 +368,7 @@ void dhCustomHook() {
368368

369369
void mappingExample() {
370370
sh 'cd $WORKSPACE/data-hub/examples/mapping-example;repo="maven {";url="url \'https://nexus.marklogic.com/repository/maven-snapshots/\'";protocal="allowInsecureProtocol = true}";cred="credentials {";uname="username mavenUser";pass="password mavenPassword }";sed -i "/repositories {/a$protocal" build.gradle;sed -i "/repositories {/a$url" build.gradle;sed -i "/repositories {/a$pass" build.gradle;sed -i "/repositories {/a$uname" build.gradle;sed -i "/repositories {/a$cred" build.gradle;sed -i "/repositories {/a$repo" build.gradle;mkdir -p $WORKSPACE$GRADLE_DIR;cp ~/.gradle/gradle.properties $WORKSPACE$GRADLE_DIR;'
371-
copyRPM 'Release','10.0-7.3'
371+
copyRPM 'Release','10.0-8'
372372
script{
373373
props = readProperties file:'data-hub/pipeline.properties';
374374
def dockerhost=setupMLDockerCluster 3
@@ -393,7 +393,7 @@ void mappingExample() {
393393

394394
void smartMastering() {
395395
sh 'cd $WORKSPACE/data-hub/examples/smart-mastering-complete;repo="maven {";url="url \'https://nexus.marklogic.com/repository/maven-snapshots/\'";protocal="allowInsecureProtocol = true}";cred="credentials {";uname="username mavenUser";pass="password mavenPassword }";sed -i "/repositories {/a$protocal" build.gradle;sed -i "/repositories {/a$url" build.gradle;sed -i "/repositories {/a$pass" build.gradle;sed -i "/repositories {/a$uname" build.gradle;sed -i "/repositories {/a$cred" build.gradle;sed -i "/repositories {/a$repo" build.gradle;mkdir -p $WORKSPACE$GRADLE_DIR;cp ~/.gradle/gradle.properties $WORKSPACE$GRADLE_DIR;'
396-
copyRPM 'Release','10.0-7.3'
396+
copyRPM 'Release','10.0-8'
397397
script{
398398
props = readProperties file:'data-hub/pipeline.properties';
399399
def dockerhost=setupMLDockerCluster 3
@@ -889,7 +889,7 @@ pipeline{
889889
agent { label 'dhfLinuxAgent'}
890890
steps {
891891
timeout(time: 3, unit: 'HOURS'){
892-
catchError(buildResult: 'SUCCESS',catchInterruptions: true, stageResult: 'UNSTABLE') { RTLTests('Release','10.0-7.3') }
892+
catchError(buildResult: 'SUCCESS',catchInterruptions: true, stageResult: 'UNSTABLE') { RTLTests('Release','10.0-8') }
893893
}}
894894
post{
895895
success {
@@ -1081,23 +1081,23 @@ pipeline{
10811081
}
10821082
}
10831083
}
1084-
stage('rh7_cluster_10.0-4'){
1084+
stage('rh7_cluster_10.0-8'){
10851085
agent { label 'dhfLinuxAgent'}
10861086
steps{
10871087
timeout(time: 4, unit: 'HOURS'){
1088-
catchError(buildResult: 'SUCCESS', catchInterruptions: true, stageResult: 'FAILURE'){dhflinuxTests("10.0-4.4","Release")}
1088+
catchError(buildResult: 'SUCCESS', catchInterruptions: true, stageResult: 'FAILURE'){dhflinuxTests("10.0-8","Release")}
10891089
}}
10901090
post{
10911091
always{
10921092
sh 'rm -rf $WORKSPACE/xdmp'
10931093
}
10941094
success {
1095-
println("rh7_cluster_10.0-4 Tests Completed")
1096-
sendMail Email,'<h3>Tests Passed on 10.0-4 ML Server Cluster </h3><h4><a href=${RUN_DISPLAY_URL}>Check the Pipeline View</a></h4><h4> <a href=${BUILD_URL}/console> Check Console Output Here</a></h4>',false,'$BRANCH_NAME branch | Linux RH7 | ML-10.0-4 | Cluster | Passed'
1095+
println("rh7_cluster_10.0-8 Tests Completed")
1096+
sendMail Email,'<h3>Tests Passed on 10.0-8 ML Server Cluster </h3><h4><a href=${RUN_DISPLAY_URL}>Check the Pipeline View</a></h4><h4> <a href=${BUILD_URL}/console> Check Console Output Here</a></h4>',false,'$BRANCH_NAME branch | Linux RH7 | ML-10.0-8 | Cluster | Passed'
10971097
}
10981098
unstable {
1099-
println("rh7_cluster_10.0-4 Tests Failed")
1100-
sendMail Email,'<h3>Some Tests Failed on 10.0-4 ML Server Cluster </h3><h4><a href=${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID/tests><font color=red>Check the Test Report</font></a></h4><h4><a href=${RUN_DISPLAY_URL}>Check the Pipeline View</a></h4><h4> <a href=${BUILD_URL}/console> Check Console Output Here</a></h4><h4>Please create bugs for the failed regressions and fix them</h4>',false,'$BRANCH_NAME branch | Linux RH7 | ML-10.0-4 | Cluster | Failed'
1099+
println("rh7_cluster_10.0-8 Tests Failed")
1100+
sendMail Email,'<h3>Some Tests Failed on 10.0-8 ML Server Cluster </h3><h4><a href=${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID/tests><font color=red>Check the Test Report</font></a></h4><h4><a href=${RUN_DISPLAY_URL}>Check the Pipeline View</a></h4><h4> <a href=${BUILD_URL}/console> Check Console Output Here</a></h4><h4>Please create bugs for the failed regressions and fix them</h4>',false,'$BRANCH_NAME branch | Linux RH7 | ML-10.0-8 | Cluster | Failed'
11011101
}
11021102
}
11031103
}
@@ -1304,7 +1304,7 @@ pipeline{
13041304
}
13051305
}
13061306
}
1307-
stage('w12_cluster_10.0-7'){
1307+
stage('w12_cluster_10.0-8'){
13081308
agent { label 'dhfWinCluster'}
13091309
steps{
13101310
timeout(time: 4, unit: 'HOURS'){
@@ -1315,12 +1315,12 @@ pipeline{
13151315
bat 'RMDIR /S/Q xdmp'
13161316
}
13171317
success {
1318-
println("w12_cluster_10.0-7 Tests Completed")
1319-
sendMail Email,'<h3>Tests Passed on Released 10.0 ML Server Cluster on Windows Platform</h3><h4><a href=${RUN_DISPLAY_URL}>Check the Pipeline View</a></h4><h4> <a href=${BUILD_URL}/console> Check Console Output Here</a></h4>',false,'$BRANCH_NAME branch | Windows W2k12 | ML-10.0-7 | Cluster | Passed'
1318+
println("w12_cluster_10.0-8 Tests Completed")
1319+
sendMail Email,'<h3>Tests Passed on Released 10.0 ML Server Cluster on Windows Platform</h3><h4><a href=${RUN_DISPLAY_URL}>Check the Pipeline View</a></h4><h4> <a href=${BUILD_URL}/console> Check Console Output Here</a></h4>',false,'$BRANCH_NAME branch | Windows W2k12 | ML-10.0-8 | Cluster | Passed'
13201320
}
13211321
unstable {
1322-
println("w12_cluster_10.0-7 Tests Failed")
1323-
sendMail Email,'<h3>Some Tests Failed on Released 10.0 ML Server on Windows Platform </h3><h4><a href=${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID/tests><font color=red>Check the Test Report</font></a></h4><h4><a href=${RUN_DISPLAY_URL}>Check the Pipeline View</a></h4><h4> <a href=${BUILD_URL}/console> Check Console Output Here</a></h4><h4>Please create bugs for the failed regressions and fix them</h4>',false,'$BRANCH_NAME branch | Windows W2k12 | ML-10.0-7 | Cluster | Failed'
1322+
println("w12_cluster_10.0-8 Tests Failed")
1323+
sendMail Email,'<h3>Some Tests Failed on Released 10.0 ML Server on Windows Platform </h3><h4><a href=${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID/tests><font color=red>Check the Test Report</font></a></h4><h4><a href=${RUN_DISPLAY_URL}>Check the Pipeline View</a></h4><h4> <a href=${BUILD_URL}/console> Check Console Output Here</a></h4><h4>Please create bugs for the failed regressions and fix them</h4>',false,'$BRANCH_NAME branch | Windows W2k12 | ML-10.0-8 | Cluster | Failed'
13241324
}
13251325
}
13261326
}
@@ -1356,7 +1356,7 @@ pipeline{
13561356
}
13571357
}
13581358

1359-
stage('10.0-7.3-Win10-On-Prem'){
1359+
stage('10.0-8-Win10-On-Prem'){
13601360
agent { label 'Win10HCPrem'}
13611361
environment{
13621362
JAVA_HOME="C:\\Program Files (x86)\\OpenJDK\\jdk-8.0.262.10-hotspot"
@@ -1365,7 +1365,7 @@ pipeline{
13651365
}
13661366
steps{
13671367
timeout(time: 3, unit: 'HOURS'){
1368-
catchError(buildResult: 'SUCCESS', catchInterruptions: true, stageResult: 'FAILURE'){cypressE2EOnPremWinTests("Release","10.0-7.3")}
1368+
catchError(buildResult: 'SUCCESS', catchInterruptions: true, stageResult: 'FAILURE'){cypressE2EOnPremWinTests("Release","10.0-8")}
13691369
}}
13701370
post{
13711371
success {
@@ -1404,7 +1404,7 @@ pipeline{
14041404
}
14051405
*/
14061406

1407-
stage('10.0-7.3-Win10-On-Prem-chrome'){
1407+
stage('10.0-8-Win10-On-Prem-chrome'){
14081408
agent { label 'sel-w10v-90-8'}
14091409
environment{
14101410
JAVA_HOME="C:\\Program Files (x86)\\OpenJDK\\jdk-8.0.262.10-hotspot"
@@ -1414,7 +1414,7 @@ pipeline{
14141414

14151415
steps{
14161416
timeout(time: 3, unit: 'HOURS'){
1417-
catchError(buildResult: 'SUCCESS', catchInterruptions: true, stageResult: 'FAILURE'){cypressE2EOnPremWinChromeTests("Release","10.0-7.3")}
1417+
catchError(buildResult: 'SUCCESS', catchInterruptions: true, stageResult: 'FAILURE'){cypressE2EOnPremWinChromeTests("Release","10.0-8")}
14181418
}}
14191419
post{
14201420
success {

0 commit comments

Comments
 (0)