Skip to content

Commit

Permalink
FABCI-398 Remove AnsiColor wrap in bc Explorer
Browse files Browse the repository at this point in the history
Removing wrapper from jenkinsfile as the plugin was
crashed in jenkins which is temporary fix.

Signed-off-by: vijaypunugubati <vijaypunugubati@gmail.com>
Change-Id: I09096840f2f01f0d61c9eefce4fb4faa35f67a69
  • Loading branch information
Vijaypunugubati committed Aug 27, 2019
1 parent 0aadf19 commit b1c3fcd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ node ('hyp-x') { // trigger build on x86_64 node
}
// clean environment and get env data
stage("Clean Environment - Get Env Info") {
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) {
// wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) {
try {
dir("${ROOTDIR}/Jenkins_Script") {
sh './CI_Script.sh --clean_Environment --env_Info'
Expand All @@ -59,12 +59,12 @@ node ('hyp-x') { // trigger build on x86_64 node
failure_stage = "Clean Environment - Get Env Info"
throw err
}
}
// }
}

// Run npm tests
stage("NPM Tests") {
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) {
// wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) {
try {
dir("${ROOTDIR}") {
sh '''
Expand All @@ -83,7 +83,7 @@ node ('hyp-x') { // trigger build on x86_64 node
currentBuild.result = 'FAILURE'
throw err
}
}
// }
}

// // Run npm tests
Expand Down Expand Up @@ -126,7 +126,7 @@ node ('hyp-x') { // trigger build on x86_64 node

// Docs HTML Report
stage("Doc Output") {
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) {
// wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) {
dir("${ROOTDIR}") {
publishHTML([allowMissing: false,
alwaysLinkToLastBuild: true,
Expand All @@ -137,7 +137,7 @@ node ('hyp-x') { // trigger build on x86_64 node
reportName: 'Code Coverage Report'
])
}
}
// }
}
} finally {
if (env.JOB_NAME == "blockchain-explorer-merge-x86_64") {
Expand Down

0 comments on commit b1c3fcd

Please sign in to comment.