diff --git a/Jenkinsfile b/Jenkinsfile index 33aee94..ab59a6e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -66,8 +66,7 @@ pipeline { echo "#Build ${PIPELINE_BUILD_NUMBER},," > $ACTION_REPORT echo "#StartTime ${date},," >> $ACTION_REPORT echo "Project,Repo,Result" >> $ACTION_REPORT - sh "echo -e '' > $ACTION_OUTPUT" - + //sh "echo -e '' > $ACTION_OUTPUT" ''' } } @@ -81,7 +80,7 @@ pipeline { sh "echo -e ${projects[i]},${git_root}/${projects[i]},Completed >> $ACTION_REPORT" } } - sh "echo -e ''>> $ACTION_OUTPUT" + // sh "echo -e '' >> $ACTION_OUTPUT" } } } @@ -178,11 +177,14 @@ def exec(repo_url, repo_name) { output = sh(script: bashWrapper, returnStdout: true)?.trim() } } - sh "echo -e '' --- >> $ACTION_OUTPUT" - sh "echo -e '' >> $ACTION_OUTPUT" - sh "echo -e '${output}' >> $ACTION_OUTPUT" - sh "echo -e '' >> $ACTION_OUTPUT" - sh "echo -e '' --- >> $ACTION_OUTPUT" + def xml_action = """ + + + ${output} + + + """ + sh "echo -e '${xml_action}' >> $ACTION_OUTPUT" }