fix(pipeline): remove redundant semanticReleaseBranch validation in executeFreeleapsPipeline
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
8879bb94a0
commit
2498387200
@ -248,10 +248,6 @@ def generateComponentStages(component, configurations) {
|
||||
if (component.semanticReleaseEnabled != null && component.semanticReleaseEnabled) {
|
||||
log.info("Pipeline", "Semantic releasing has enabled, preparing semantic release...")
|
||||
|
||||
if (component.semanticReleaseBranch == null || component.semanticReleaseBranch.isEmpty()) {
|
||||
log.error("Pipeline", "Not set semanticReleaseBranch for ${component.name}, please set it to enable semantic release")
|
||||
}
|
||||
|
||||
log.info("Pipeline", "Using ${component.semanticReleaseBranch} as semantic release branch for ${component.name}")
|
||||
env.semanticReleasingContainerImage = "docker.io/semantic-release/semantic-release:latest"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user