Commit bbfbd05e authored by abdullh.alsoleman's avatar abdullh.alsoleman

Update Jenkinsfile

parent ad1484e4
......@@ -42,13 +42,13 @@ pipeline {
sh "git clone ${manifestRepoUrl} manifest-repo"
dir('manifest-repo/deployment') {
sh """
sed -i 's|image: .*|image: ${IMAGE_NAME}|' Job-Deployment.yml
sed -i 's|image: .*|image: ${IMAGE_NAME}|' Notification-Deployment.yaml
"""
sh """
git config user.email "alisaeed23369@gmail.com"
git config user.name "alisaeed24"
git add Job-Deployment.yml
git commit -m "Update jobservice image to ${IMAGE_NAME}"
git commit -m "Update NotificationService image to ${IMAGE_NAME}"
git push https://${GITHUB_TOKEN}@github.com/alisaeed24/argocd.git 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