Skip to content

Commit 0aa32a1

Browse files
Removed 9.0-6
1 parent c44000d commit 0aa32a1

File tree

1 file changed

+8
-43
lines changed

1 file changed

+8
-43
lines changed

Jenkinsfile

Lines changed: 8 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -316,41 +316,6 @@ pipeline{
316316
beforeAgent true
317317
}
318318
parallel{
319-
stage('rh7_cluster_9.0-6'){
320-
agent { label 'dhfLinuxAgent'}
321-
steps{
322-
copyRPM 'Release','9.0-6'
323-
script{
324-
def dockerhost=setupMLDockerCluster 3
325-
sh 'docker exec -u builder -i '+dockerhost+' /bin/sh -c "su -builder;export JAVA_HOME=`eval echo "$JAVA_HOME_DIR"`;export GRADLE_USER_HOME=$WORKSPACE$GRADLE_DIR;export M2_HOME=$MAVEN_HOME/bin;export PATH=$GRADLE_USER_HOME:$PATH:$MAVEN_HOME/bin;cd $WORKSPACE/data-hub;rm -rf $GRADLE_USER_HOME/caches;./gradlew clean;set +e;./gradlew marklogic-data-hub:test;sleep 10s;./gradlew ml-data-hub:test ;sleep 10s;./gradlew quick-start:test ;sleep 10s;./gradlew marklogic-data-hub:testBootstrap -Pskipui=true;sleep 10s;./gradlew clean;./gradlew ml-data-hub:testFullCycle -Pskipui=true;"'
326-
}
327-
junit '**/TEST-*.xml'
328-
script{
329-
commitMessage = sh (returnStdout: true, script:'''
330-
curl -u $Credentials -X GET "'''+githubAPIUrl+'''/git/commits/${GIT_COMMIT}" ''')
331-
def slurper = new JsonSlurperClassic().parseText(commitMessage.toString().trim())
332-
def commit=slurper.message.toString().trim();
333-
JIRA_ID=commit.split(("\\n"))[0].split(':')[0].trim();
334-
JIRA_ID=JIRA_ID.split(" ")[0];
335-
commitMessage=null;
336-
//jiraAddComment comment: 'Jenkins rh7_cluster_9.0-6 Results For PR Available', idOrKey: JIRA_ID, site: 'JIRA'
337-
}
338-
}
339-
post{
340-
always{
341-
sh 'rm -rf $WORKSPACE/xdmp'
342-
}
343-
success {
344-
println("rh7_cluster_9.0-6 Tests Completed")
345-
sendMail Email,'Check the Pipeline View Here: ${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID \n\n\n Check Console Output Here: ${BUILD_URL}/console \n\n\n All the End to End tests on rh7 cluster 9.0-6 of the branch $BRANCH_NAME passed and the next stage is to merge it to release branch if all the end-end tests pass',false,'rh7_cluster_9.0-6 Tests $BRANCH_NAME Passed'
346-
// sh './gradlew publish'
347-
}
348-
failure {
349-
println("rh7_cluster_9.0-6 Tests Failed")
350-
sendMail Email,'Check the Pipeline View Here: ${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID \n\n\n Check Console Output Here: ${BUILD_URL}/console \n\n\n Some of the End to End tests of the branch $BRANCH_NAME on 9.0-6 rh7 cluster failed. Please fix the tests and create a PR or create a bug for the failures.',false,'rh7_cluster_9.0-6 Tests for $BRANCH_NAME Failed'
351-
}
352-
}
353-
}
354319
stage('rh7_cluster_9.0-7'){
355320
agent { label 'dhfLinuxAgent'}
356321
steps{
@@ -459,11 +424,11 @@ pipeline{
459424
}
460425
}
461426
}
462-
stage('w12_cluster_9.0-6'){
427+
stage('w12_cluster_9.0-10'){
463428
agent { label 'master'}
464429
steps{
465430
script{
466-
def Returnresult=build job: '/4.x/dhf-core-4.x-develop-winserver2012-cluster_9.0-6', propagate: false
431+
def Returnresult=build job: '/4.x/dhf-core-4.x-develop-winserver2012-cluster_9.0-10', propagate: false
467432
currentBuild.result=Returnresult.result;
468433
commitMessage = sh (returnStdout: true, script:'''
469434
curl -u $Credentials -X GET "'''+githubAPIUrl+'''/git/commits/${GIT_COMMIT}" ''')
@@ -472,20 +437,20 @@ pipeline{
472437
JIRA_ID=commit.split(("\\n"))[0].split(':')[0].trim();
473438
JIRA_ID=JIRA_ID.split(" ")[0];
474439
commitMessage=null;
475-
//jiraAddComment comment: 'Jenkins w12_cluster_9.0-6 Test Results For PR Available', idOrKey: JIRA_ID, site: 'JIRA'
440+
//jiraAddComment comment: 'Jenkins w12_cluster_9.0-10 Test Results For PR Available', idOrKey: JIRA_ID, site: 'JIRA'
476441
}
477442
}
478443
post{
479444
always{
480445
sh 'rm -rf $WORKSPACE/xdmp'
481446
}
482447
success {
483-
println("w12_cluster_9.0-6 Tests Completed")
484-
sendMail Email,'Check the Pipeline View Here: ${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID \n\n\n Check Console Output Here: ${BUILD_URL}/console \n\n\n All the End to End tests on W2k12 cluster 9.0-6 of the branch $BRANCH_NAME passed and the next stage is to merge it to release branch if all the end-end tests pass',false,'w12_cluster_9.0-6 Tests for $BRANCH_NAME Passed'
448+
println("w12_cluster_9.0-10 Tests Completed")
449+
sendMail Email,'Check the Pipeline View Here: ${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID \n\n\n Check Console Output Here: ${BUILD_URL}/console \n\n\n All the End to End tests on W2k12 cluster 9.0-10 of the branch $BRANCH_NAME passed and the next stage is to merge it to release branch if all the end-end tests pass',false,'w12_cluster_9.0-10 Tests for $BRANCH_NAME Passed'
485450
}
486451
failure {
487-
println("w12_cluster_9.0-6 Tests Failed")
488-
sendMail Email,'Check the Pipeline View Here: ${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID \n\n\n Check Console Output Here: ${BUILD_URL}/console \n\n\n Some of the End to End tests of the branch $BRANCH_NAME on 9.0-6 w2k12 cluster failed. Please fix the tests and create a PR or create a bug for the failures.',false,'w12_cluster_9.0-6 Tests for $BRANCH_NAME Failed'
452+
println("w12_cluster_9.0-10 Tests Failed")
453+
sendMail Email,'Check the Pipeline View Here: ${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID \n\n\n Check Console Output Here: ${BUILD_URL}/console \n\n\n Some of the End to End tests of the branch $BRANCH_NAME on 9.0-10 w2k12 cluster failed. Please fix the tests and create a PR or create a bug for the failures.',false,'w12_cluster_9.0-10 Tests for $BRANCH_NAME Failed'
489454
}
490455
}
491456
}
@@ -508,7 +473,7 @@ pipeline{
508473
post{
509474

510475
success {
511-
println("qs_rh7_singlenode.0-8 Tests Completed")
476+
println("qs_rh7_singlenode Tests Completed")
512477
sendMail Email,'Check the Pipeline View Here: ${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID \n\n\n Check Console Output Here: ${BUILD_URL}/console \n\n\n All the End to End quick start tests on Rh7 single node of the branch $BRANCH_NAME passed and the next stage is to merge it to release branch if all the end-end tests pass',false,'qs_rh7_singlenode Tests for $BRANCH_NAME Passed'
513478
}
514479
failure {

0 commit comments

Comments
 (0)