test print on post
@@ -22,7 +22,7 @@ pipeline {
stage('Test') {
steps {
echo 'Packaging....'
- sh 'mvn -P docker install'
+ // sh 'mvn -P docker install'
}
}
stage('Integration Test') {
@@ -31,7 +31,7 @@ pipeline {
dir('docker/bin'){
sh ' pwd && git branch '
updateGitlabCommitStatus name: 'build', state: 'running'
- sh './integrate_test.sh -s ${integrate_result_home} -b $(pwd)/integration/benchmark'
+ // sh './integrate_test.sh -s ${integrate_result_home} -b $(pwd)/integration/benchmark'
}
script{
def json_file = "${env.integrate_result_home}/score.json"
@@ -39,7 +39,8 @@ pipeline {
if(exists){
echo "${json_file}"
env.integrate_result = readFile json_file
- sh "rm ${json_file}"
+ echo "{env.integrate_result}"
+ // sh "rm ${json_file}"
}else {
echo 'score file not exist'
}
@@ -56,6 +57,7 @@ pipeline {
}
always {
script{
+ sh 'printenv'
echo "${env.integrate_result}"
def resultIcon = currentBuild.result == 'SUCCESS' ? ':white_check_mark:' : ':anguished:'
def performance = currentBuild.result == 'SUCCESS' ? "${env.integrate_result}" : ' '
