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

Shared Library cache is broken when build is aborted during scm retrieve

XMLWordPrintable

      Steps to reproduce:

      1. start plugin
      2. configure Global pipeline libraries to use cache
      3. create a pipeline to use Shared library
      4. start the pipeline and aborted during scm retrieve process
      5. build logs displays an error
      6. start the same pipeline again

      Expected: shared library retrieved from scm and pipeline success

      Actual: pipeline fails with error: `Library global-pipeline-library expected to contain at least one of src or vars directories`

      because `global-libraries-cache` contain cache but it's empty.

        1. log-aborted-build
          6 kB
          Dmitry Platonov
        2. log-next-after-abort-build
          2 kB
          Dmitry Platonov

            Unassigned Unassigned
            pldi23 Dmitry Platonov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: