Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9266933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:25:56+00:00 2026-06-18T14:25:56+00:00

I am working on a web project with 7 developers. I setup a beta

  • 0

I am working on a web project with 7 developers. I setup a beta box (debian) so that we can do testing of new code before passing it to staging.

On the beta box, I setup Jenkins and would like to automate the merge/testing process. We also have a test suite which I would like to tie-in somehow.

How should I test and run python web projects with SVN / Jenkins?

I’m trying to formulate a good workflow. Right now each developer works on a feature branch, I run the code in the branch, if it looks good we merge it.

I would love to have developers login to the beta jenkins, and tell it to build from their feature branch. Here is my plan for what Jenkins would do:

  1. Make sure the feature branch is rebased from trunk
  2. Make sure the beta branch is identical to trunk (overwriting any merged-in feature branches)
  3. Merge the feature branch into the beta branch
  4. Kill the running server
  5. Start the server nohup python app.py &
  6. Run the test suite python test.py
  7. Output the test data to the developer’s view in Jenkins
  8. If any of the tests fail, revert to the state before the branch was merged

I’m not sure how to handle merge conflicts. Also, the above is probably bad and wrong. Any advice would be appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T14:25:57+00:00Added an answer on June 18, 2026 at 2:25 pm

    The question is a bit too big to be answered in a simple post, I will therefore try to give a few hints and references as far as I see from my personal view:

    A few quick tips:

    • I like the idea of separating the developers into branches, but I would do the testing on the feature-branch and only merge to the beta branch if the feature passes tests, this way nothing enters beta until it is tested!
    • I would put the integration steps into a script outside of Jenkins. Make it part of the source code. This way you can test the script itself quickly outside of Jenkins
    • Use the build-system or scripting language you feel most comfortable with, most of the steps can easily done with any programming language
    • Make the script return success or failure, so Jenkins can flag the build as failed
    • For the merge-issues, you have two possibilities
      • Require the branch to be manually rebased before a developer can submit it for integration, check in the script and fail it if a rebase is necssary. This way merge-errors cannot happen, the build simply fails if the branch is not rebased
      • If you rather allow non-rebased merges, you need to fail the build on merge errors so the developer can manually resolve the problem (by rebasing his/her branch before submitting again)

    Here some books that I found useful in this area:

    • How Google Tests Software, by James A. Whittaker, Jason Arbon, Jeff Carollo
    • Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation by Jez Humble

    Let me know via comments what additional content you would like to have.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello Ruby/Rails/Merb developers! Im currently working on a web project that will have a
We have multiple developers working on a single Web Application/Project. For that purposes we
I am new to JSF, I am working on web project. I want to
I'm working on a web project that takes the results from a survey type
I am working on a web project that contains three web services and a
I'm a web developer who's working in a new shop with developers from a
We are 4 developers working on a maven-based java web project . We each
I'm working with a project that is setup using the standard Maven directory structure
I'm working on a project where we have several SOAP Web Services developed on
I am working in a Web Project in Visual Studio 2008. When I hit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.