From 5366918b57b61443a3ecc7967021fd20c61c0baf Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Sun, 1 Sep 2019 22:32:36 -0400 Subject: [PATCH] Comment most of the logic for testing purposes. --- Jenkinsfile_withFunctions | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile_withFunctions b/Jenkinsfile_withFunctions index b6ffd28..f9428ac 100644 --- a/Jenkinsfile_withFunctions +++ b/Jenkinsfile_withFunctions @@ -1,5 +1,4 @@ import groovy.json.JsonSlurper -import groovy.io.FileType //locate where this jenkinsfile is String releaseURL = "https://code-repo.d4science.org/gCubeCI/gCubeRelease/raw/branch/feature/17273/releases/gcube-${params.gCube_release_number}.json" @@ -11,7 +10,7 @@ def gcubeJSON = new JsonSlurper().parseText(text) //check that the release number parameter is the one expected assert gcubeJSON["gCube.version"] == params.gCube_release_number : "Release versions do not match!" - +/* // set the build options according to the Type of build def (options,maven_local_repo_path,maven_settings_file) = ['','',''] def maven_jdk = 'OpenJDK 8' @@ -54,13 +53,12 @@ echo "Use local repo at ${maven_local_repo_path}" echo "Release number: ${params.gCube_release_number}" //def components = gcubeJSON['Components'] - +*/ pipeline { // see https://jenkins.io/doc/book/pipeline/syntax/#agent agent any // see https://jenkins.io/doc/book/pipeline/syntax/#environment environment { - JOB_OPTIONS = "${options}" MAVEN_LOCAL_REPO = "${maven_local_repo_path}" GCUBE_RELEASE_NUMBER = "${params.gCube_release_number}"