You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Jenkinsfile
+34-34Lines changed: 34 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ pipeline{
102
102
DMC_USER= credentials('MLBUILD_USER')
103
103
DMC_PASSWORD= credentials('MLBUILD_PASSWORD')
104
104
}
105
-
parameters{
105
+
parameters{
106
106
string(name: 'Email', defaultValue: 'stadikon@marklogic.com,kkanthet@marklogic.com,sbalasub@marklogic.com,nshrivas@marklogic.com,ssambasu@marklogic.com,rrudin@marklogic.com,rdew@marklogic.com,aebadira@marklogic.com,mwooldri@marklogic.com', description: 'Who should I say send the email to?')
sendMail emailList,'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 $BRANCH_NAME is waiting for the code-review to complete. Please click on proceed button if all the reviewers approved the code here. \n\n ${BUILD_URL}input ',false,'Waiting for code review $BRANCH_NAME '
248
-
248
+
249
249
}
250
250
}
251
251
try{
@@ -297,7 +297,7 @@ pipeline{
297
297
emailList+=email+',';
298
298
}
299
299
sendMail emailList,'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 $BRANCH_NAME is waiting for the code-review to complete. Please click on proceed button if all the reviewers approved the code here. \n\n ${BUILD_URL}input ',false,'Waiting for code review $BRANCH_NAME '
300
-
300
+
301
301
}
302
302
sleep time: 30, unit: 'MINUTES'
303
303
thrownewException("Waiting for all the status checks to pass");
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 $BRANCH_NAME is merged and it will run the end to end tests in the next stage',false,' $BRANCH_NAME is Merged'
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 $BRANCH_NAME is not merged into the target branch. Please check the merge status of the PR if there are any merge conflicts or if the code is not reviewed. \n\n Click on the link Restart PR below to retry merge if the merge state is clean i.e., Code is reviewed and there are no merge conflicts with the target branch. \n\n ${JENKINS_URL}/blue/organizations/jenkins/Datahub_CI/detail/$JOB_BASE_NAME/$BUILD_ID',false,' $BRANCH_NAME Cannot be Merged'
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 of the branch $BRANCH_NAME passed and the next stage is to run all the end-end tests on multiple platforms in parallel',false,'rh7-singlenode Tests for $BRANCH_NAME Passed'
376
-
376
+
377
377
}
378
378
unstable {
379
379
println("End-End Tests Failed")
@@ -435,7 +435,7 @@ pipeline{
435
435
}
436
436
stage('rh7_cluster_9.0-11'){
437
437
agent { label 'dhfLinuxAgent'}
438
-
steps{
438
+
steps{
439
439
dhflinuxTests("9.0-11","Release")
440
440
}
441
441
post{
@@ -452,40 +452,40 @@ pipeline{
452
452
}
453
453
}
454
454
}
455
-
stage('rh7_cluster_9.0-12'){
455
+
stage('rh7_cluster_9.0-13'){
456
456
agent { label 'dhfLinuxAgent'}
457
457
steps{
458
-
dhflinuxTests("9.0-12","Release")
458
+
dhflinuxTests("9.0-13","Release")
459
459
}
460
460
post{
461
461
always{
462
462
sh 'rm -rf $WORKSPACE/xdmp'
463
463
}
464
464
success {
465
-
println("rh7_cluster_9.0-12 Tests Completed")
465
+
println("rh7_cluster_9.0-13 Tests Completed")
466
466
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-12 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-12 Tests for $BRANCH_NAME Passed'
467
467
}
468
468
unstable {
469
-
println("rh7_cluster_9.0-12 Tests Failed")
469
+
println("rh7_cluster_9.0-13 Tests Failed")
470
470
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-12 rh7 cluster failed. Please fix the tests and create a PR or create a bug for the failures.',false,'rh7_cluster_9.0-12 Tests for $BRANCH_NAME Failed'
471
471
}
472
472
}
473
473
}
474
-
stage('rh7_cluster_10.0-3'){
474
+
stage('rh7_cluster_10.0-4'){
475
475
agent { label 'dhfLinuxAgent'}
476
476
steps{
477
-
dhflinuxTests("10.0-3","Release");
477
+
dhflinuxTests("10.0-4.4","Release");
478
478
}
479
479
post{
480
480
always{
481
481
sh 'rm -rf $WORKSPACE/xdmp'
482
482
}
483
483
success {
484
-
println("rh7_cluster_10.0-3 Tests Completed")
484
+
println("rh7_cluster_10.0-4 Tests Completed")
485
485
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 10.0-3 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_10.0-3 Tests for $BRANCH_NAME Passed'
486
486
}
487
487
unstable {
488
-
println("rh7_cluster_10.0-3 Tests Failed")
488
+
println("rh7_cluster_10.0-4 Tests Failed")
489
489
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 10.0-3 rh7 cluster failed. Please fix the tests and create a PR or create a bug for the failures.',false,'rh7_cluster_10.0-3 Tests for $BRANCH_NAME Failed'
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 SN 9.0-12 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_SN_9.0-12 Tests for $BRANCH_NAME Passed'
807
807
}
808
808
unstable {
809
-
println("w12_SN_9.0-12 Tests Failed")
809
+
println("w12_SN_9.0-11 Tests Failed")
810
810
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-12 w2k12 SN failed. Please fix the tests and create a PR or create a bug for the failures.',false,'w12_SN_9.0-12 Tests for $BRANCH_NAME Failed'
811
811
}
812
812
}
813
813
}
814
-
stage('w12_cluster_10.0-3'){
814
+
stage('w12_cluster_10.0-4'){
815
815
agent { label 'dhfWinCluster'}
816
816
steps{
817
817
script{
818
-
copyMSI "Release","10.0-3";
818
+
copyMSI "Release","10.0-4.4";
819
819
def pkgOutput=bat(returnStdout:true , script: '''
820
820
cd xdmp/src
821
821
for /f "delims=" %%a in ('dir /s /b *.msi') do set "name=%%~a"
@@ -849,11 +849,11 @@ pipeline{
849
849
sh 'rm -rf $WORKSPACE/xdmp'
850
850
}
851
851
success {
852
-
println("w12_cluster_10.0-3 Tests Completed")
852
+
println("w12_cluster_10.0-4 Tests Completed")
853
853
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 10.0-3 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_10.0-3 Tests for $BRANCH_NAME Passed'
854
854
}
855
855
unstable {
856
-
println("w12_cluster_10.0-3 Tests Failed")
856
+
println("w12_cluster_10.0-4 Tests Failed")
857
857
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 10.0-3 w2k12 cluster failed. Please fix the tests and create a PR or create a bug for the failures.',false,'w12_cluster_10.0-3 Tests for $BRANCH_NAME Failed'
858
858
}
859
859
}
@@ -902,7 +902,7 @@ pipeline{
902
902
post{
903
903
success {
904
904
println("Automated PR For Release branch created")
0 commit comments