Configure Jenkins to work with SVN branches

前端 未结 3 1584
慢半拍i
慢半拍i 2021-02-01 06:58

I am currently setting up Jenkins to work with SVN repository. Currently it works fine for the trunk. Now I want to set up Jenkins to take care of newly created branches. I don\

3条回答
  •  温柔的废话
    2021-02-01 07:01

    Also check my extend answer if you are not very familiar with jenkins.

    It provides a step by step solution with screenshots.

    The subversion plugin is installed by default in recent versions(as for Sep 2015).

    Then you should configure your project as following:

    1. check "This build is parameterized"
    2. choose "List subverion tags (and more)"
    3. in the name field, set a varaiable name which can be referenced later in the svn url. I choose svnbranch here.
    4. in the Repository URL field, give it your project URL (which needs to contain trunk, branches, and tags)
    5. fill other field as your needs
    6. in source code management, reference the variable defined before in your repository url.

    check following screenshots:

提交回复
热议问题