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

Pull/checkout of a specific tag/revision

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It would be very helpful if there was an option in Bazaar checkout specifying a tag/revision to check out into workspace (-r option of bzr checkout, bzr pull and bzr update commands). This would be especially helpful if it could accept a parameter value.

      Example settings:

      • Parametrized build with parameter rev
      • In the new revision option, the text "$rev" would be given
      • In the build process, the command executed would be:
        • bzr pull -r $rev --overwrite <dir> if a nonempty revision was given
        • bzr pull --overwrite <dir> if a an empty revision was given (ie. the current behaviour)

      Thanks

        Attachments

          Activity

          Hide
          stewart Stewart Smith added a comment -

          A workaround is to do something like the following:

          bzr branch -r1234 lp:foo foo-1234
          cd foo-1234
          bzr push lp:~user/foo/foo-1234

          and ask Jenkins to build lp:~user/foo/foo-1234 in a parameterised build.

          Show
          stewart Stewart Smith added a comment - A workaround is to do something like the following: bzr branch -r1234 lp:foo foo-1234 cd foo-1234 bzr push lp:~user/foo/foo-1234 and ask Jenkins to build lp:~user/foo/foo-1234 in a parameterised build.

            People

            • Assignee:
              sdirector Monty Taylor
              Reporter:
              hmlnarik H Mlnarik
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: