Merge pull request #230 from sgotti/run_export_also_pull_request_id_environment_variable_to_runs

run: export also pull request id environment variable to runs
This commit is contained in:
Simone Gotti 2020-03-09 10:46:11 +01:00 committed by GitHub
commit ebf1bdc940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

View File

@ -417,6 +417,7 @@ func (h *ActionHandler) CreateRuns(ctx context.Context, req *CreateRunRequest) e
"AGOLA_GIT_PORT": gitPort, "AGOLA_GIT_PORT": gitPort,
"AGOLA_GIT_BRANCH": req.Branch, "AGOLA_GIT_BRANCH": req.Branch,
"AGOLA_GIT_TAG": req.Tag, "AGOLA_GIT_TAG": req.Tag,
"AGOLA_PULL_REQUEST_ID": req.PullRequestID,
"AGOLA_GIT_REF": req.Ref, "AGOLA_GIT_REF": req.Ref,
"AGOLA_GIT_COMMITSHA": req.CommitSHA, "AGOLA_GIT_COMMITSHA": req.CommitSHA,
} }