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 7994925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:15:31+00:00 2026-06-04T14:15:31+00:00

I am maintaining the source control for my organization and I want to run

  • 0

I am maintaining the source control for my organization and I want to run some automated tests on every checkin before it reaches the central store. Which means that when users submit their changes, I will build all the code and start the test suites.

What do I need to setup for this – assuming I have perforce as my source control?

This should be a very common problem but I probably not have the right vocabulary.

  • 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-04T14:15:33+00:00Added an answer on June 4, 2026 at 2:15 pm

    I assume you’re using Perforce from your tags. There are a couple of ways you could do this:

    1. Using branches – have the developers check into a “test” branch and make Jenkins monitor that branch for changes to build your code and run tests. You can then integrate the test code into a separate “main” branch for everyone else to pull from.
    2. If you have a recent version of Perforce, you can use the shelving feature. Have the developers create shelved changelists and get Jenkins to unshelve the changes to build and run the tests. If the tests pass, the changelist can be submitted to the central depot.

    We use option 2 at my work, so I can give you more details if needed – just post a comment back here.

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

Sidebar

Related Questions

I am maintaining some legacy Visual Basic ASP code and I keep seeing <%
I'm currently maintaining an "old" system written in C# .NET, removing some obsolete features
I'm currently maintaining some web server software and I need to perform a lot
I'm currently maintaining a project I've inherited from some one else and the SVN
In short: I want to generate two different source trees from the current one,
I'm maintaining an open-source document asset management application called NotreDAM , which is written
I am developing / maintaining a tool that allows users to run queries against
I'm maintaining and publishing an open source package which needs to be built for
I'm maintaining a plugin (implemented as a dll) for a big closed source application.
What is the best-practice for maintaining a source code repository that automatically (or, at

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.