Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
abdeLKabir-56 authored May 25, 2024
1 parent c513a28 commit 16226d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,9 @@ pipeline {
post {
always {
script {
// Cleanup workspace and Docker containers
cleanWs()
bat 'docker-compose down'
bat 'docker-compose -f C:/Users/info/Desktop/social_media_blog_platform_project/docker-compose.yml down'
}
cleanWs() // Clean up the workspace
}
success {
echo 'Build, Docker image push, and deployment successful!'
Expand Down

0 comments on commit 16226d4

Please sign in to comment.