This issue is archived. You can view it, but you can't modify it. Learn more

ExportXMLWordPrintable

      1 def scmVars = checkout([$class: "GitSCM", branches: [[name: "${BRANCH}"]], doGenerateSubmoduleConfigurations: false, extensions: [[$class: "CleanBeforeCheckout", deleteUntrackedNestedRepositories: true]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: "${CERT_ID}", url: "$CODE"]]])
      2 def scmVars = checkout scmGit(branches: [[name: "${BRANCH}"]], extensions: [[$class: "CleanBeforeCheckout", deleteUntrackedNestedRepositories: true]], userRemoteConfigs: [[credentialsId: "${CERT_ID}", url: "$CODE"]])

      Neither method can correctly identify the tag.

       

       

      The dramatic thing is that after I pulled the 5.2.0 hpi from the official version and deployed it again, it worked, but currently I am still using the 5.2.0 version.

      Another interesting thing is that the commit id I pulled cannot be found in the latest commits of all branches and tags.

       

      Another point is that I first created a branch and tag with the same name, and then deleted the branch.

        1. Jenkinsfile111.txt
          4 kB
          bobo200128
        2. 企业微信截图_17017743931135.png
          13 kB
          bobo200128
        3. 企业微信截图_17017745593110.png
          76 kB
          bobo200128
        4. 企业微信截图_17017745958764.png
          35 kB
          bobo200128
        5. 企业微信截图_17018324165070.png
          23 kB
          bobo200128
        6. 企业微信截图_17018324851358.png
          3 kB
          bobo200128
        7. 企业微信截图_17018325311910.png
          55 kB
          bobo200128

            Assignee:
            Unassigned
            Reporter:
            bobo200128
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: