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

Checkout problem on a branch

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: _unsorted
    • Labels:
      None
    • Environment:
      Linux
    • Similar Issues:

      Description

      Hi !

      I can't checkout on a branch, I'm always detached and I can't find any documentation on how to do it, so I'm wondering if it's possible ^^'

      steps {
       checkout scm

      And I would like full tag like:

      v5.2.1-66-ga026dc4

      and not like:

      a026dc4

      So I end up with an incomplete tag.

       

      Would you have a solution? Thank you  

       

        Attachments

          Activity

          Hide
          markewaite Mark Waite added a comment -

          Please don' t use the Jenkins issue tracker as a question and answer site. The Jenkins.io site provides links to mailing lists and chat channels that can answer your questions.

          In this specific case, if you're using Git as the SCM, then refer to https://plugins.jenkins.io/git/#checkout-to-specific-local-branch as one way of handling your request.

          Show
          markewaite Mark Waite added a comment - Please don' t use the Jenkins issue tracker as a question and answer site. The Jenkins.io site provides links to mailing lists and chat channels that can answer your questions. In this specific case, if you're using Git as the SCM, then refer to https://plugins.jenkins.io/git/#checkout-to-specific-local-branch as one way of handling your request.

            People

            Assignee:
            omegabionic Omega Bionic
            Reporter:
            omegabionic Omega Bionic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: