Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
scmhelpers.Options
File string
RepositoryName string
RepositoryURL string
ConfigMapName string
Namespace string
VersionFile string
BuildNumber string
BuildID string
GitCommitUsername string
GitCommitUserEmail string
Commit bool
KubeClient kubernetes.Interface
JXClient jxc.Interface
Requirements *jxcore.RequirementsConfig
ConfigMapData map[string]string
// contains filtered or unexported fields
}
Options the options for the command
func NewCmdVariables ¶
NewCmdVariables creates a command object for the command
func (*Options) FindBuildNumber ¶
FindBuildNumber finds the build number for the given build ID
func (*Options) FindDockerfilePath ¶
FindDockerfilePath finds the dockerfile path to use relative to the current directory
func (*Options) GetBuildID ¶
GetBuildID returns the current build ID
func (*Options) GetBuildNumber ¶
GetBuildNumber returns the build number from BUILD_NUMBER or uses PipelineActivities to create/find it
Click to show internal directories.
Click to hide internal directories.