I am working on a web project with 7 developers. I am installing a beta version (debian) so that we can test the new code before passing it on to the stage.
In the beta block, I configure Jenkins and would like to automate the merge / test process. We also have a test suite that I would like to somehow relate.
How to check and run python web projects using SVN / Jenkins?
I am trying to formulate a good workflow. Now every developer works on a function branch, I run the code in the branch, if it looks good, we combine it.
I would really like the developers to go to beta-jenkins and tell what needs to be built from their branch of functions. Here is my plan for Jenkins:
- Make sure the function branch is reinstalled from the trunk
- Make sure the beta branch is identical to the trunk (overwrites any branches of the combined function)
- Merge function branch into beta branch
- Kill a running server
- Launch the
nohup python app.py & server - Run
python test.py test suite python test.py - Bring test data to developer view in Jenkins
- If any of the tests failed, return to the state before merging the branch.
I am not sure how to handle merge conflicts. In addition, the above is probably bad and wrong. Any advice would be appreciated!
source share