@@ -97,15 +97,46 @@ echo $CDS_PARENT_APPLICATION
9797
9898Here is the list of git variables:
9999
100- - ` {{.git.hash}} `
101- - ` {{.git.hash.short}} `
102- - ` {{.git.url}} `
103- - ` {{.git.http_url}} `
104- - ` {{.git.branch}} `
105- - ` {{.git.tag}} `
106- - ` {{.git.author}} `
107- - ` {{.git.message}} `
108- - ` {{.git.server}} `
100+ - ` {{.git.hash.before}} ` : SHA of the most recent commit before the push
101+ - ` {{.git.hash}} ` : SHA of the most recent commit after the push
102+ - ` {{.git.hash.short}} ` : Short version of git.hash
103+ - ` {{.git.hook}} ` : Name of the event that trigger the run
104+ - ` {{.git.url}} ` : Git ssh URL used to clone
105+ - ` {{.git.http_url}} ` : Git http url used to clone
106+ - ` {{.git.branch}} ` :
107+ - Push event: Name of the branch where the push occured
108+ - PullRequest event: Name of the source branch
109+ - ` {{.git.tag}} ` : Name of the tag that triggered the run
110+ - ` {{.git.author}} ` : Name of the most recent commit author
111+ - ` {{.git.author.email}} ` : Email of the most recent commit author
112+ - ` {{.git.message}} ` : Git message of the most recent commit
113+ - ` {{.git.server}} ` : Name of the repository manager
114+ - ` {{.git.repository}} ` :
115+ - Push event: Name of the repository
116+ - PullRequest event: Name of the source repository
117+
118+ Here is the list of git variables available only for Bitbucket server
119+
120+ - ` {{.git.hash.dest}} ` : SHA of the most rcent commit on destination branch ( PullRequest event )
121+ - ` {{.git.branch.dest}} ` : Name of the destination branch on a pull request event
122+ - ` {{.git.repository.dest}} ` : Name of the target repository on a pull request event
123+ - ` {{.git.pr.id}} ` : Identifier of the pullrequest
124+ - ` {{.git.pr.title}} ` : Title of the pullrequest
125+ - ` {{.git.pr.state}} ` : Status of the pullrequest
126+ - ` {{.git.pr.previous.title}} ` : Previous title of the pullrequest
127+ - ` {{.git.pr.previous.branch}} ` : Previous target branch of the pullrequest
128+ - ` {{.git.pr.previous.hash}} ` : Previous target hash of the pullrequest
129+ - ` {{.git.pr.previous.state}} ` : Previous status of the pullrequest
130+ - ` {{.git.pr.reviewer}} ` : Name of the reviewer
131+ - ` {{.git.pr.reviewer.email}} ` : Email of the reviewer
132+ - ` {{.git.pr.reviewer.status}} ` : Status of the review
133+ - ` {{.git.pr.reviewer.role}} ` : Role of the reviewer
134+ - ` {{.git.pr.comment}} ` : Comment written by the reviewer
135+ - ` {{.git.pr.comment.before}} ` : Previous comment
136+ - ` {{.git.pr.comment.author}} ` : Author name of the comment
137+ - ` {{.git.pr.comment.author.email}} ` Author email of the comment
138+
139+
109140
110141## Pipeline parameters
111142
0 commit comments