Remove Type param.

This commit is contained in:
Manuele Simi 2020-06-06 15:50:40 -04:00
parent f3b2056822
commit 55100d5ad4
1 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@
*/
def agent_root_folder = '/var/lib/jenkins/.m2'
println "Type of build: ${params.Type}"
//locate the build file
String reportURL = "https://code-repo.d4science.org/gCubeCI/gCubeReleaseConfigs/raw/branch/master/closed/${gCube_release_version}/build_commits.${report_number}.csv"
@ -91,7 +90,7 @@ pipeline {
success {
echo 'The release notes pipeline worked!'
emailext to: 'jenkinsbuilds@d4science.org',
subject: "[Jenkins build D4S] ${TYPE} build ${currentBuild.fullDisplayName} worked",
subject: "[Jenkins build D4S] build ${currentBuild.fullDisplayName} worked",
body: "Build time: ${currentBuild.durationString}. See ${env.BUILD_URL}"
emailext attachmentsPattern: "**/release_notes.${PIPELINE_BUILD_NUMBER}.md",
to: 'jenkinsreleases@d4science.org',