fix(executeFreeleapsPipeline): syntax error
Signed-off-by: zhenyus <zhenyus@mathmast.com>
This commit is contained in:
parent
d74f1b96ea
commit
25f2b01adf
@ -8,7 +8,6 @@ import com.freeleaps.devops.CodeLintExecutor
|
||||
import com.freeleaps.devops.SASTExecutor
|
||||
import com.freeleaps.devops.ImageBuilder
|
||||
import com.freeleaps.devops.SemanticReleasingExecutor
|
||||
import com.freeleaps.devops.ArgoApplicationVersionUpdater
|
||||
|
||||
import com.freeleaps.devops.enums.DependenciesManager
|
||||
import com.freeleaps.devops.enums.ServiceLanguage
|
||||
@ -379,9 +378,8 @@ def generateComponentStages(component, configurations) {
|
||||
}
|
||||
}
|
||||
}},
|
||||
{
|
||||
// Image Building & Publishing
|
||||
stage("${component.name} :: Image Building & Publishing") {
|
||||
{stage("${component.name} :: Image Building & Publishing") {
|
||||
podTemplate(
|
||||
label: "image-builder-${component.name}",
|
||||
containers: [
|
||||
@ -450,18 +448,15 @@ def generateComponentStages(component, configurations) {
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
stage("${component.name} :: Argo Application Version Updating") {
|
||||
}},
|
||||
{stage("${component.name} :: Argo Application Version Updating") {
|
||||
script {
|
||||
if (env.executeMode == "fully" || env.changedComponents.contains(component.name)) {
|
||||
def argoApplicationVersionUpdater = new ArgoApplicationVersionUpdater(this)
|
||||
argoApplicationVersionUpdater.update(configurations.environmentSlug, component)
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
}}
|
||||
])
|
||||
return {
|
||||
stages.each { stageClosure ->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user