CICD pipeline in Jenkins for Django web application

117 views
Skip to first unread message

Ram

unread,
Aug 16, 2021, 10:45:41 PM8/16/21
to django...@googlegroups.com
Hi,

We have installed Jenkins tool on our development server for setting up CICD pipeline and our requirements are like this to automate the CICD process.

1. Django application with unit tests written in Pytest
2. We are going to add  BDD tests using Behave tool
3. Our code is in GIT repository
4. We have to run all the above automated tests from 1 & 2 on development repository
5. Once all the tests are passed we have to deploy the code onto development server first
6. Run another round of testing on development server
7. Deploy the build onto production server
8. All the above tests have to be automated in Groovy script because Jenkins has Groovy as default scripting

So we are wondering if anyone is using similar software stack and doing continuous integration in Jenkins? If you are doing this, is there any pointer that can show us a sample groovy or someother script so that we could simulate similar way to achieve about requirements. I appreciate if someone could share expert advice or pointers on this.

Best regards,
~Ram
Reply all
Reply to author
Forward
0 new messages