Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
Share-Lib-Pipeline
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ndoumbe
Share-Lib-Pipeline
Commits
52234415
Commit
52234415
authored
Jan 03, 2023
by
Ndoumbe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
fdf4d10a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
odoodefaultpipeline.groovy
vars/odoodefaultpipeline.groovy
+2
-2
No files found.
vars/odoodefaultpipeline.groovy
View file @
52234415
...
...
@@ -14,8 +14,8 @@ def call(body) {
def
shortCommit
=
sh
(
returnStdout:
true
,
script:
"git log -n 1 --pretty=format:'%h'"
).
trim
()
def
author
=
sh
(
returnStdout:
true
,
script:
"git show -s --pretty=%an"
).
trim
()
def
url
=
sh
(
returnStdout:
true
,
script:
'git config remote.origin.url'
).
trim
()
def
VALUES_FILE
=
"${pipelineParams.VALUES_FILE}"
def
notificationURL
=
"${url.replace(':', '/').replace('git@', 'https://')}"
//def VALUES_FILE = "${pipelineParams.VALUES_FILE}"
}
...
...
@@ -73,7 +73,7 @@ def call(body) {
git config --global user.email "ndoumbe.diop@baamtu.com"
git config --global user.name "diopbe"
yq e -i '.image.tag = "${shortCommit}"'
${VALUES_FILE}
yq e -i '.image.tag = "${shortCommit}"'
"${VALUES_FILE}"
git commit -am "new build for ${BRANCH_NAME} - commit hash=${shortCommit}"
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment