Skip to content

Commit

Permalink
DHFPROD-10012: Stopping hubcentral service before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SameeraPriyathamTadikonda committed Mar 9, 2023
1 parent 95b9b43 commit 0d36a17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@ def cypressSetup(String type, String mlVersion){
setUpML '$WORKSPACE/xdmp/src/Mark*.rpm'
copyArtifacts filter: '**/*central*.war', fingerprintArtifacts: true, flatten: true, projectName: 'Datahub_CI/develop', selector: specific('${BUILD_NUMBER}')
sh '''
sudo mladmin stop-hubcentral
cd $WORKSPACE
WAR_NAME=$(basename *central*.war )
nohup java -jar $WORKSPACE/$WAR_NAME &
Expand Down Expand Up @@ -1239,7 +1240,7 @@ pipeline{
sendMail Email,'<h3>Some Tests Failed on 11.0.0 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-11.0.0 | Cluster | Failed'
}
}
}
}
}
}

Expand Down

0 comments on commit 0d36a17

Please sign in to comment.