From bde721a1dd4209deeede2e57ad2f91ea7fca2c07 Mon Sep 17 00:00:00 2001 From: Joel Wembo Date: Wed, 17 Apr 2024 17:58:40 +0800 Subject: [PATCH] added new jenkinsfiles --- deployments/Jenkins/Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/deployments/Jenkins/Jenkinsfile b/deployments/Jenkins/Jenkinsfile index b944ddc..e61a1d7 100644 --- a/deployments/Jenkins/Jenkinsfile +++ b/deployments/Jenkins/Jenkinsfile @@ -63,13 +63,13 @@ pipeline{ steps { sh 'docker images' sh 'docker images --filter "reference=cloudapp-django-web*"' - // sh 'docker push joelwembo/cloudapp-django-web:latest' + sh 'docker push joelwembo/cloudapp-django-web:latest' } } stage('Run the Application'){ steps { sh 'docker images' - // sh 'docker-compose up -d' + sh 'docker-compose up -d' } } // stage('Execute Manuel Tests'){ @@ -115,6 +115,7 @@ pipeline{ stage('Deploy to AWS') { steps { + // ec2 deploymnet code goes here sh 'docker ps' } }