Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

fix(hooks): run multiple events on a single push event from bitbucket#3915

Merged
bnjjj merged 2 commits intomasterfrom
fix_3907
Feb 6, 2019
Merged

fix(hooks): run multiple events on a single push event from bitbucket#3915
bnjjj merged 2 commits intomasterfrom
fix_3907

Conversation

@bnjjj
Copy link
Contributor

@bnjjj bnjjj commented Feb 5, 2019

Signed-off-by: Benjamin Coenen [email protected]

  1. Description
  2. Related issues
    close fix(hooks): run multiple events on a single push event from bitbucket #3907
  3. About tests
  4. Mentions

@ovh/cds

payload["git.hash"] = pushEvent.Changes[0].ToHash
payload["git.repository"] = fmt.Sprintf("%s/%s", pushEvent.Repository.Project.Key, pushEvent.Repository.Slug)
for _, pushChange := range pushEvent.Changes {
if pushChange.Type == "DELETE" {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty branch (from staticcheck)

@bnjjj bnjjj merged commit 444cf46 into master Feb 6, 2019
@fsamin fsamin deleted the fix_3907 branch March 11, 2019 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(hooks): run multiple events on a single push event from bitbucket

6 participants