I create my Jenkins Pipeline using the blue ocean and select the git option.It works fine.But Pipeline job could not get new commit after restart Jenkins. I got an error in the log "ERROR: Could not determine exact tip revision of develop; falling back to nondeterministic checkout Checking out git https://**/**.git into **".

      I found this Multibranch Pipepine job to skip the checkout scm stage.

      A few logs are as follow:

      ...
      [Pipeline] node
      Running on sonar in /home/jenkins/jenkins-slave/workspace/pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ
      [Pipeline] {
      [Pipeline] stage
      [Pipeline] { (Declarative: Tool Install)
      [Pipeline] tool
      [Pipeline] envVarsForTool
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] withEnv
      [Pipeline] {
      [Pipeline] stage
      [Pipeline] { (Build)
      [Pipeline] tool
      [Pipeline] envVarsForTool
      [Pipeline] withEnv
      [Pipeline] {
      [Pipeline] tool
      [Pipeline] sh
      [pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ] Running shell script
      ...
      

      A normal job log is as follow:

      ...
      [Pipeline] node
      Running on trump in /var/lib/jenkins-slave/workspace/delivery-sample_master-Z6SYQRMHVVGZHWBCPIZ7AZIJBRXIERO5JR3DYIM6NRLMBYQ62XXQ
      [Pipeline] {
      [Pipeline] stage
      [Pipeline] { (Declarative: Checkout SCM)
      [Pipeline] checkout
       > git rev-parse --is-inside-work-tree # timeout=10
      Fetching changes from the remote Git repository
       > git config remote.origin.url https://git.rajax.me/houlong.yang/delivery-sample.git # timeout=10
      Fetching without tags
      Fetching upstream changes from https://**/*.git
       > git --version # timeout=10
      using GIT_ASKPASS to set credentials 
       > git fetch --no-tags --progress https://**/*.git +refs/heads/*:refs/remotes/origin/*
      Checking out Revision b3bf2b26981caab316fe55ae5b44c634a25af733 (master)
      Commit message: "trigger pipeline test"
       > git config core.sparsecheckout # timeout=10
       > git checkout -f b3bf2b26981caab316fe55ae5b44c634a25af733
       > git rev-list b3bf2b26981caab316fe55ae5b44c634a25af733 # timeout=10
      [Pipeline] }
      [Pipeline] // stage
      [Pipeline] stage
      [Pipeline] { (Declarative: Tool Install)
      ...
      

          [JENKINS-46643] Pipeline could not get new commit

          Alan Yang created issue -
          Alan Yang made changes -
          Description New: I create my Jenkins Pipeline using the blue ocean and select the git option.It works fine.But Pipeline job could not get new commit after restart Jenkins. I got an error in the log "ERROR: Could not determine exact tip revision of develop; falling back to nondeterministic checkout Checking out git https://**/**.git into **".

          I found this Multibranch Pipepine job to skip the checkout scm stage.

          A few logs are as follow:
          {code:java}
          ...
          [Pipeline] node
          Running on sonar in /home/jenkins/jenkins-slave/workspace/pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Declarative: Tool Install)
          [Pipeline] tool
          [Pipeline] envVarsForTool
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Build)
          [Pipeline] tool
          [Pipeline] envVarsForTool
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] tool
          [Pipeline] sh
          [pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ] Running shell script
          ...
          {code}

          A normal job log is as follow:

          {code:java}
          // Some comments here
          public String getFoo()
          {
              return foo;
          }
          {code}

          Alan Yang made changes -
          Description Original: I create my Jenkins Pipeline using the blue ocean and select the git option.It works fine.But Pipeline job could not get new commit after restart Jenkins. I got an error in the log "ERROR: Could not determine exact tip revision of develop; falling back to nondeterministic checkout Checking out git https://**/**.git into **".

          I found this Multibranch Pipepine job to skip the checkout scm stage.

          A few logs are as follow:
          {code:java}
          ...
          [Pipeline] node
          Running on sonar in /home/jenkins/jenkins-slave/workspace/pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Declarative: Tool Install)
          [Pipeline] tool
          [Pipeline] envVarsForTool
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Build)
          [Pipeline] tool
          [Pipeline] envVarsForTool
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] tool
          [Pipeline] sh
          [pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ] Running shell script
          ...
          {code}

          A normal job log is as follow:

          {code:java}
          // Some comments here
          public String getFoo()
          {
              return foo;
          }
          {code}

          New: I create my Jenkins Pipeline using the blue ocean and select the git option.It works fine.But Pipeline job could not get new commit after restart Jenkins. I got an error in the log "ERROR: Could not determine exact tip revision of develop; falling back to nondeterministic checkout Checking out git https://**/**.git into **".

          I found this Multibranch Pipepine job to skip the checkout scm stage.

          A few logs are as follow:
          {code:java}
          ...
          [Pipeline] node
          Running on sonar in /home/jenkins/jenkins-slave/workspace/pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Declarative: Tool Install)
          [Pipeline] tool
          [Pipeline] envVarsForTool
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Build)
          [Pipeline] tool
          [Pipeline] envVarsForTool
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] tool
          [Pipeline] sh
          [pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ] Running shell script
          ...
          {code}

          A normal job log is as follow:

          {code:java}
          [Pipeline] node
          Running on trump in /var/lib/jenkins-slave/workspace/delivery-sample_master-Z6SYQRMHVVGZHWBCPIZ7AZIJBRXIERO5JR3DYIM6NRLMBYQ62XXQ
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Declarative: Checkout SCM)
          [Pipeline] checkout
           > git rev-parse --is-inside-work-tree # timeout=10
          Fetching changes from the remote Git repository
           > git config remote.origin.url https://git.rajax.me/houlong.yang/delivery-sample.git # timeout=10
          Fetching without tags
          Fetching upstream changes from https://**/*.git
           > git --version # timeout=10
          using GIT_ASKPASS to set credentials
           > git fetch --no-tags --progress https:/**/*.git +refs/heads/*:refs/remotes/origin/*
          Checking out Revision b3bf2b26981caab316fe55ae5b44c634a25af733 (master)
          Commit message: "trigger pipeline test"
           > git config core.sparsecheckout # timeout=10
           > git checkout -f b3bf2b26981caab316fe55ae5b44c634a25af733
           > git rev-list b3bf2b26981caab316fe55ae5b44c634a25af733 # timeout=10
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] stage
          [Pipeline] { (Declarative: Tool Install)
          {code}

          Alan Yang made changes -
          Description Original: I create my Jenkins Pipeline using the blue ocean and select the git option.It works fine.But Pipeline job could not get new commit after restart Jenkins. I got an error in the log "ERROR: Could not determine exact tip revision of develop; falling back to nondeterministic checkout Checking out git https://**/**.git into **".

          I found this Multibranch Pipepine job to skip the checkout scm stage.

          A few logs are as follow:
          {code:java}
          ...
          [Pipeline] node
          Running on sonar in /home/jenkins/jenkins-slave/workspace/pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Declarative: Tool Install)
          [Pipeline] tool
          [Pipeline] envVarsForTool
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Build)
          [Pipeline] tool
          [Pipeline] envVarsForTool
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] tool
          [Pipeline] sh
          [pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ] Running shell script
          ...
          {code}

          A normal job log is as follow:

          {code:java}
          [Pipeline] node
          Running on trump in /var/lib/jenkins-slave/workspace/delivery-sample_master-Z6SYQRMHVVGZHWBCPIZ7AZIJBRXIERO5JR3DYIM6NRLMBYQ62XXQ
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Declarative: Checkout SCM)
          [Pipeline] checkout
           > git rev-parse --is-inside-work-tree # timeout=10
          Fetching changes from the remote Git repository
           > git config remote.origin.url https://git.rajax.me/houlong.yang/delivery-sample.git # timeout=10
          Fetching without tags
          Fetching upstream changes from https://**/*.git
           > git --version # timeout=10
          using GIT_ASKPASS to set credentials
           > git fetch --no-tags --progress https:/**/*.git +refs/heads/*:refs/remotes/origin/*
          Checking out Revision b3bf2b26981caab316fe55ae5b44c634a25af733 (master)
          Commit message: "trigger pipeline test"
           > git config core.sparsecheckout # timeout=10
           > git checkout -f b3bf2b26981caab316fe55ae5b44c634a25af733
           > git rev-list b3bf2b26981caab316fe55ae5b44c634a25af733 # timeout=10
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] stage
          [Pipeline] { (Declarative: Tool Install)
          {code}

          New: I create my Jenkins Pipeline using the blue ocean and select the git option.It works fine.But Pipeline job could not get new commit after restart Jenkins. I got an error in the log "ERROR: Could not determine exact tip revision of develop; falling back to nondeterministic checkout Checking out git https://**/**.git into **".

          I found this Multibranch Pipepine job to skip the checkout scm stage.

          A few logs are as follow:
          {code:java}
          ...
          [Pipeline] node
          Running on sonar in /home/jenkins/jenkins-slave/workspace/pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Declarative: Tool Install)
          [Pipeline] tool
          [Pipeline] envVarsForTool
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Build)
          [Pipeline] tool
          [Pipeline] envVarsForTool
          [Pipeline] withEnv
          [Pipeline] {
          [Pipeline] tool
          [Pipeline] sh
          [pipeline-gitlab_develop-KUWDRGYI4UNFRAXPOOJVU2S62X3PAAWEEAD3LJI3SA7M4ZBPMAQQ] Running shell script
          ...
          {code}

          A normal job log is as follow:

          {code:java}
          ...
          [Pipeline] node
          Running on trump in /var/lib/jenkins-slave/workspace/delivery-sample_master-Z6SYQRMHVVGZHWBCPIZ7AZIJBRXIERO5JR3DYIM6NRLMBYQ62XXQ
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Declarative: Checkout SCM)
          [Pipeline] checkout
           > git rev-parse --is-inside-work-tree # timeout=10
          Fetching changes from the remote Git repository
           > git config remote.origin.url https://git.rajax.me/houlong.yang/delivery-sample.git # timeout=10
          Fetching without tags
          Fetching upstream changes from https://**/*.git
           > git --version # timeout=10
          using GIT_ASKPASS to set credentials
           > git fetch --no-tags --progress https://**/*.git +refs/heads/*:refs/remotes/origin/*
          Checking out Revision b3bf2b26981caab316fe55ae5b44c634a25af733 (master)
          Commit message: "trigger pipeline test"
           > git config core.sparsecheckout # timeout=10
           > git checkout -f b3bf2b26981caab316fe55ae5b44c634a25af733
           > git rev-list b3bf2b26981caab316fe55ae5b44c634a25af733 # timeout=10
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] stage
          [Pipeline] { (Declarative: Tool Install)
          ...
          {code}

          Andrew Bayer made changes -
          Link New: This issue duplicates JENKINS-48571 [ JENKINS-48571 ]
          Andrew Bayer made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Alan Yang made changes -
          Summary Original:  Pipeline could not get new commit commit New:  Pipeline could not get new commit

            xy_alan Alan Yang
            xy_alan Alan Yang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: