Commit 28e76e90 authored by Ndoumbe's avatar Ndoumbe

changed

parent 606975f6
...@@ -6,7 +6,9 @@ def call(body) { ...@@ -6,7 +6,9 @@ def call(body) {
pipeline { pipeline {
agent any agent any
//variables environment
environment { environment {
def shortCommit = sh(returnStdout: true, script: "git log -n 1 --pretty=format:'%h'").trim() def shortCommit = sh(returnStdout: true, script: "git log -n 1 --pretty=format:'%h'").trim()
...@@ -55,7 +57,7 @@ def call(body) { ...@@ -55,7 +57,7 @@ def call(body) {
""" """
} }
} }
//changer le tag de l'image, le remplacer sur le value.yaml
stage('GitOps') { stage('GitOps') {
when { when {
branch 'master' branch 'master'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment