-
Notifications
You must be signed in to change notification settings - Fork 70
Expose artefact revision to Build Commands #4
Comments
Hi Brian, Thank you for the feedback. We are working this (the |
I'm affected as well. Our healthcheck used to contain the current commit hash and message, now it doesn't :( |
Thank you for the feedback. The revisionId (Git SHA of GitHub or CodeCommit) is now returned in Artifact instance for all input artifacts in JobData of the Build or Deployment action. If your source action is of type Amazon S3, the revisionId is going to be Amazon S3 object VersionId. Thanks, |
Now that
For jobs with a single input artifact (most common use case), it might be convenient to use a fixed variable name:
|
Hi, |
Hi,
I've just started using CodePipeline with Github as source and Jenkins to build. However I find it impossible to get the git commit id from within the jenkins builder. I have a few uses for this:
It would be great if I could access in the job, as an environment variable, the git commit id (or revision as it is called here: http://docs.aws.amazon.com/codepipeline/latest/APIReference/API_Artifact.html)
The text was updated successfully, but these errors were encountered: