diff --git a/Jenkinsfile b/Jenkinsfile index fb98f5a..e6e719a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,6 @@ if ("${params.gCube_release_version}" || "${params.RELEASE_URL}"){ }else{ releaseURL = "${params.RELEASE_URL}" } - //load the release file text = releaseURL.toURL().getText() //parsing @@ -157,10 +156,8 @@ pipeline { anyOf{ triggeredBy 'BuildUpstreamCause' triggeredBy 'UpstreamCause' - // this condition should be deleted. This is active only for testing purpose - triggeredBy 'UserIdCause' } - expression { params.TRIGGER_JOB != "${RELEASE_JOB}" } + expression { params.TRIGGER_JOB != "${RELEASE_JOB}" } } steps { sh ''' @@ -212,7 +209,7 @@ pipeline { triggeredBy 'BuildUpstreamCause' triggeredBy 'UpstreamCause' //added just for testing . To Remove. - triggeredBy 'UserIdCause' + triggeredBy cause: "UserIdCause", detail: "Roberto Cirillo" } // we should improve this conditional check equals(actual: "${params.TRIGGER_JOB}", expected: "${RELEASE_JOB}")