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:
Oliver Nocon
2018-10-17 09:54:04 +02:00
committed by Christopher Fenner
parent c3d8ad7926
commit b83222726a
+11
View File
@@ -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: [:]]