Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28207

Using varibale as branch name

    XMLWordPrintable

Details

    Description

      Hi,

      I have a master project which calls a slave project from it.
      Now i want to define a CVS branch as variable from master project and this VARIABLE should be used by slave project as branch name and checkout using same.

      How to do this?

      Thanks,
      VIkram

      Attachments

        Activity

          mmaker1234 Monique Maker added a comment -

          In the slave project define a parameter (say its name is "CVS_BRANCH"). Then in the CVS plugin field "Branch name" just provide the parameter: "${CVS_BRANCH}"

          mmaker1234 Monique Maker added a comment - In the slave project define a parameter (say its name is "CVS_BRANCH"). Then in the CVS plugin field "Branch name" just provide the parameter: "${CVS_BRANCH}"

          People

            mc1arke Michael Clarke
            vikrambhimbar vikram bhimbar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: