-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
macOS 10.13.4
jdk1.8.0_144
core 2.116
workflow-multibranch 2.18
For the sake of simplifying the reproduction steps, the simple Pipeline is used.
- Create an empty git repo
- Configure it as a implicitly loaded global shared library
- Create a Pipeline:
properties([disableConcurrentBuilds()])
node {
echo 'Hello World'
}
- Run the Pipeline and see it fail due to
ERROR: Library library expected to contain at least one of src or vars directories - Add a sayHello step to the shared library https://jenkins.io/doc/book/pipeline/shared-libraries/#defining-custom-steps
- Run the Pipeline again
Actual: Build fails with:
java.io.IOException: hello-world #1 did not yet start
Full stack trace is attached.
Expected: Either success or a more readable error.
- is related to
-
JENKINS-51290 Property step causes builds fail to start with: IOException: repo/branch #5 did not yet start if previous build failed without getting an execution
- Closed
- links to