Skip to content

kartik695/jenkins-svn-git-jobs-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2b80540 · Mar 29, 2024

History

8 Commits
Mar 29, 2024
Mar 28, 2024

Repository files navigation

jenkins-job.sh

Basic Jenkins Job with SVN using Freestyle Project

This repository serves as a guide for beginners to set up a basic Jenkins job using a Freestyle Project with SVN (Subversion) as the version control system. Note that Jenkins and SVN are set up in separate Docker containers. Steps:

Create a Local Working Copy from Trunk:
    Set up your Jenkins job to pull the source code from the SVN trunk.
    Configure the Jenkins job to perform a checkout operation, creating a local working copy of the code from the trunk.

Merge Code from Branch to Local Working Copy:
    Implement a build step in your Jenkins job to merge code changes from a specific SVN branch into the local working copy.
    Ensure that Jenkins has the necessary permissions to access the SVN repository and perform merge operations.

Create a Backup for Successful Merges:
    Configure Jenkins to create a backup of the successfully merged code after each successful build.
    This backup can serve as a snapshot of the codebase at a particular point in time and can be useful for reverting changes if necessary.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages