Get the report as text instead of as file.
This commit is contained in:
parent
05e3afe2e5
commit
9a376d134c
|
@ -10,10 +10,9 @@ def agent_root_folder = '/var/lib/jenkins/.m2'
|
||||||
|
|
||||||
//locate the build file
|
//locate the build file
|
||||||
def text
|
def text
|
||||||
if (params.report_file) {
|
if (params.report) {
|
||||||
println "Using local report at ${params.report_file}"
|
println "Using local report"
|
||||||
text = new File(params.report_file).text
|
text = params.report
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
String reportURL = "https://code-repo.d4science.org/gCubeCI/gCubeReleaseConfigs/raw/branch/master/closed/${gCube_release_version}/build_commits.${report_number}.csv"
|
String reportURL = "https://code-repo.d4science.org/gCubeCI/gCubeReleaseConfigs/raw/branch/master/closed/${gCube_release_version}/build_commits.${report_number}.csv"
|
||||||
println "Pulling the report from Git at ${reportURL}"
|
println "Pulling the report from Git at ${reportURL}"
|
||||||
|
|
Loading…
Reference in New Issue