padv.pipeline.GitHubOptions
Options for generating pipeline configuration file for GitHub
Description
Use the padv.pipeline.GitHubOptions
object to represent the
desired options for generating a GitHub® pipeline configuration file. To generate a GitHub pipeline configuration file, use padv.pipeline.GitHubOptions
as
an input argument to the padv.pipeline.generatePipeline
function.
There are two versions of the pipeline generator for GitHub:
Pipeline Generator Version 1 is provided for compatibility with the original pipeline generator functionality. For more information, see Integrate Process into GitHub.
Pipeline Generator Version 2 contains several improvements to pipeline file propagation, generated pipeline file size, and integration with JFrog Artifactory for artifact management. For more information, see Enhanced Process Integration and Artifact Management for GitHub.
Note
Pipeline generator version 2 is recommended for enhanced file propagation and artifact management capabilities, but requires you to update your GitHub setup and workflow.
Creation
Syntax
Description
Pipeline Generator Version 1
returns configuration options for generating a GitHub pipeline with pipeline generator version 1.options
= padv.pipeline.GitHubOptions(GeneratorVersion=1)
sets properties using one or more name-value arguments.options
= padv.pipeline.GitHubOptions(___,PropertyName=Value
)
Pipeline generator version 2 is recommended for enhanced file propagation and artifact management capabilities, but requires you to update your GitHub setup and workflow.
Pipeline Generator Version 2
returns configuration options for generating a GitHub pipeline with pipeline generator version 2.options
= padv.pipeline.GitHubOptions(GeneratorVersion=2)
Version 2 includes enhanced features like external artifact management with JFrog Artifactory but requires a different setup than version 1. For more information, see Enhanced Process Integration and Artifact Management for GitHub.
sets properties using one or more name-value arguments.options
= padv.pipeline.GitHubOptions(___,PropertyName=Value
)
Note that pipeline generator version 2 ignores the properties
RetentionDays
, ShellEnvironment
, and
EnablePipelineCaching
.