• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • pipeline
    • None

      Running Jenkins pipeline while using shared libraries under vars folder.
      Calling a function that exists in the shared libraries under the vars folder. It crashes at this point and the only error I can see is:
      ERROR: No build record <path to job>#<build number> could be located

      Couldn't find anything in Jenkins system log.
      I'm running using a docker container version jenkins/jenkins:2.289.2-lts
      On top of docker host ubuntu 18.04

          [JENKINS-67026] ERROR: No build record could be located

          I am having this same issue.

          Jenkins Version = 2.303.3

          Plugins
          Pipeline = 2.6
          Pipeline: Job = 2.42

          Running on Windows Server 2019

           

          Pipeline Script:

          pipeline {
             agent any
             stages {
                stage('Example Build') {
                   steps {
                      echo 'Example Build Message'
                   }
                }
                stage('Example Test') {
                   steps {
                      echo 'Example Test Message'
                   }
                }
             }
          }

           

           

          Console Output:

           

          Started by user XXX
          Running as xxx
          [Pipeline] Start of Pipeline
          [Pipeline] node
          Running on NODE1 in ....\workspace\jobName
          [Pipeline] {
          [Pipeline] stage
          [Pipeline] { (Example Build)
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] stage
          [Pipeline] { (Example Test)
          Stage "Example Test" skipped due to earlier failure(s)
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] }
          [Pipeline] // node
          [Pipeline] End of Pipeline
          ERROR: No build record jobName#10 could be located.
          Finished: FAILURE

           

          Blayne Christensen added a comment - I am having this same issue. Jenkins Version = 2.303.3 Plugins Pipeline = 2.6 Pipeline: Job = 2.42 Running on Windows Server 2019   Pipeline Script: pipeline {    agent any    stages {       stage('Example Build') {          steps {             echo 'Example Build Message'          }       }       stage('Example Test') {          steps {             echo 'Example Test Message'          }       }    } }     Console Output:   Started by user XXX Running as xxx [Pipeline] Start of Pipeline [Pipeline] node Running on NODE1 in ....\workspace\jobName [Pipeline] { [Pipeline] stage [Pipeline] { (Example Build) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Example Test) Stage "Example Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: No build record jobName#10 could be located. Finished: FAILURE  

            Unassigned Unassigned
            gils Gil Shinar
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: