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
5945c585
Commit
5945c585
authored
Jan 06, 2025
by
Khady Diagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Jenkinsfileargo
parent
14a6702d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
Jenkinsfileargo
Jenkinsfileargo
+7
-10
No files found.
Jenkinsfileargo
View file @
5945c585
pipeline {
environment {
imagename = 'khadydiagne/odoo-app' // Nom de l'image Docker
registryCredential = 'docker
hub
' // Identifiants Docker Hub stockés dans Jenkins
registryCredential = 'docker' // Identifiants Docker Hub stockés dans Jenkins
}
agent any
...
...
@@ -35,11 +35,8 @@ pipeline {
stage('ArgoCD Deployment') {
steps {
script {
try {
bat 'kubectl apply -f argocd_deploy.yaml --validate=false'
} catch (Exception e) {
error "Deployment failed: ${e.message}"
}
sh 'kubectl apply -f argocd_deploy.yaml --validate=false'
}
}
}
...
...
@@ -47,10 +44,10 @@ pipeline {
stage('Verify Deployment') {
steps {
script {
bat
'kubectl get all -n default'
bat
'kubectl get pv'
bat
'kubectl get pvc'
bat
'kubectl get hpa'
sh
'kubectl get all -n default'
sh
'kubectl get pv'
sh
'kubectl get pvc'
sh
'kubectl get hpa'
}
}
}
...
...
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