mkobit / jenkins-pipeline-shared-library-example

Basic template example of a Jenkins Pipelines Shared Library that is tested using https://github.com/mkobit/jenkins-pipeline-shared-libraries-gradle-plugin
MIT License
70 stars 34 forks source link

Example test showing usage of JenkinsPipelineUsage #3

Open mkobit opened 6 years ago

mkobit commented 6 years ago

Sort of depends on one of:

Related to https://github.com/jenkinsci/JenkinsPipelineUnit/issues/70

mkobit commented 6 years ago

Codegen in plugin might be a better option for now until the issue is released in JenkinsPipelineUnit

a com.lesfurets.jenkins.unit.global.lib.SourceRetriever (like from https://github.com/SAP/jenkins-library/blob/master/test/groovy/ProjectSource.groovy) could be implemented as part of the codegen