• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • bazaar-plugin
    • None

      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

          [JENKINS-10004] Pull/checkout of a specific tag/revision

          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.

          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.

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

              Created:
              Updated: