jenkinsci / templating-engine-plugin

create tool-agnostic, templated pipelines to be shared by multiple teams
https://jenkinsci.github.io/templating-engine-plugin/latest/
Apache License 2.0
171 stars 58 forks source link

Resolve bug in plugin-provided library sources requiring a `src` directory. #276

Closed steven-terrana closed 2 years ago

steven-terrana commented 2 years ago

PR Details

fixes #268

all credit goes to @connorh23 for finding the fix!

Description

The PluginLibraryProvider was mistaking checking if a library didn't have a src directory or a steps directory instead of checking that both don't exist.

How Has This Been Tested

error reproduced and fix validated manually.

Types of Changes

Checklist