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
50f76759
Commit
50f76759
authored
Jan 06, 2023
by
Ndoumbe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
86080257
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
odoodefaultpipeline.groovy
vars/odoodefaultpipeline.groovy
+7
-0
No files found.
vars/odoodefaultpipeline.groovy
View file @
50f76759
...
...
@@ -3,6 +3,10 @@ def call(body) {
body
.
resolveStrategy
=
Closure
.
DELEGATE_FIRST
body
.
delegate
=
pipelineParams
body
()
def
COLOR_MAP
=
[
'SUCCESS'
:
'good'
,
'FAILURE'
:
'danger'
,
]
pipeline
{
agent
any
...
...
@@ -16,6 +20,9 @@ def call(body) {
def
url
=
sh
(
returnStdout:
true
,
script:
'git config remote.origin.url'
).
trim
()
def
notificationURL
=
"${url.replace(':', '/').replace('git@', 'https://')}"
def
BRANCH_NAME
=
"${env.BRANCH_NAME}"
def
JOB_NAME
=
"${env.JOB_NAME}"
def
BUILD_NUMBER
=
"${env.BUILD_NUMBER}"
SLACK_CHANNEL_NOTIF
=
"${pipelineParams.slackChannelNotification}"
}
...
...
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