mirror of
https://github.com/SAP/jenkins-library.git
synced 2026-06-19 22:58:55 +02:00
enhance commonPipelineEnvironment with additional information (#344)
* enhance commonPipelineEnvironment with additional information add additional git information to `commonPipelineEnvironment`: * https url * git branch * github organization * github repository * rename github-related variables * rename github-related variables
This commit is contained in:
committed by
Christopher Fenner
parent
c3d8ad7926
commit
b83222726a
@@ -7,6 +7,12 @@ class commonPipelineEnvironment implements Serializable {
|
||||
//stores the gitCommitId as well as additional git information for the build during pipeline run
|
||||
String gitCommitId
|
||||
String gitSshUrl
|
||||
String gitHttpsUrl
|
||||
String gitBranch
|
||||
|
||||
//GiutHub specific information
|
||||
String githubOrg
|
||||
String githubRepo
|
||||
|
||||
//stores properties for a pipeline which build an artifact and then bundles it into a container
|
||||
private Map appContainerProperties = [:]
|
||||
@@ -30,6 +36,11 @@ class commonPipelineEnvironment implements Serializable {
|
||||
|
||||
gitCommitId = null
|
||||
gitSshUrl = null
|
||||
gitHttpsUrl = null
|
||||
gitBranch = null
|
||||
|
||||
githubOrg = null
|
||||
githubRepo = null
|
||||
|
||||
influxCustomData = [:]
|
||||
influxCustomDataMap = [pipeline_data: [:], step_data: [:]]
|
||||
|
||||
Reference in New Issue
Block a user