generated from gCubeCI/Pipeline-Docker-Template
release stage: add Cirillo user check
This commit is contained in:
parent
928bbfa138
commit
010b1c950b
|
@ -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,8 +156,6 @@ 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}" }
|
||||
}
|
||||
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue