diff --git a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy index 169d61d6..4656615c 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy @@ -5,6 +5,7 @@ class SemanticReleasingExecutor { def workspace def config def plugins = [ + 'semantic-release', '@semantic-release/git', '@semantic-release/changelog', '@semantic-release/exec', diff --git a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy index f0f79783..69355ebb 100644 --- a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy +++ b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy @@ -241,18 +241,6 @@ def generateComponentStages(component, configurations) { if (component.semanticReleaseEnabled != null && component.semanticReleaseEnabled) { stages.addAll([ - // Semantic Release Environment Preparation - stage("${component.name} :: Semantic Release Preparation") { - script { - if (env.executeMode == "fully" || env.changedComponents.contains(component.name)) { - if (component.semanticReleaseEnabled != null && component.semanticReleaseEnabled) { - log.info("Pipeline", "Semantic releasing has enabled, preparing semantic release environment...") - - env.semanticReleasingContainerImage = "docker.io/semantic-release/semantic-release:latest" - } - } - } - }, // Semantic Releasing stage("${component.name} :: Semantic Releasing") { podTemplate( @@ -260,7 +248,7 @@ def generateComponentStages(component, configurations) { containers: [ containerTemplate( name: 'semantic-releasing', - image: env.semanticReleasingContainerImage, + image: 'node:18-bullseye-slim', ttyEnabled: true, command: 'sleep', args: 'infinity'