Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
O
odoo-demo
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
odoo-demo
Commits
1a10994f
Commit
1a10994f
authored
Dec 23, 2024
by
Mame Bineta Diakite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update notification
parent
95932352
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Jenkinsfile
Jenkinsfile
+7
-7
No files found.
Jenkinsfile
View file @
1a10994f
...
...
@@ -61,14 +61,14 @@ pipeline {
}
}
stage
(
'Send Notification to Google Chat'
)
{
stage
(
'Send Notification to Google Chat'
)
{
steps
{
script
{
def
message
=
"""
def
message
=
'''
{
"text": "
build de l'image termine avec succe :
${IMAGE_NAME}."
"text": "
Build de l'image terminé avec succès :
${IMAGE_NAME}."
}
"""
'''
sh
"""
curl -X POST -H "Content-Type: application/json" \
-d '${message}' \
...
...
@@ -85,11 +85,11 @@ pipeline {
}
failure
{
script
{
def
message
=
"""
def
message
=
'''
{
"text": "
ec
chec du build #${env.BUILD_NUMBER} de l'image ${IMAGE_NAME}."
"text": "
É
chec du build #${env.BUILD_NUMBER} de l'image ${IMAGE_NAME}."
}
"""
'''
sh
"""
curl -X POST -H "Content-Type: application/json" \
-d '${message}' \
...
...
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