Skip to content

Commit c5c46f8

Browse files
authored
Fix environment variable name
Update to use correct value from https://concourse-ci.org/implementing-resource-types.html#resource-metadata
1 parent c3a98e0 commit c5c46f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ empty commit to the PR*.
114114
| `context` | No | `unit-test` | A context to use for the status, which is prefixed by `base_context`. Defaults to `status`. |
115115
| `comment` | No | `hello world!` | A comment to add to the pull request. |
116116
| `comment_file` | No | `my-output/comment.txt` | Path to file containing a comment to add to the pull request (e.g. output of `terraform plan`). |
117-
| `target_url` | No | `$ATC_DEFAULT_URL/builds/$BUILD_ID` | The target URL for the status, where users are sent when clicking details (defaults to the Concourse build page). |
117+
| `target_url` | No | `$ATC_EXTERNAL_URL/builds/$BUILD_ID` | The target URL for the status, where users are sent when clicking details (defaults to the Concourse build page). |
118118
| `description` | No | `Concourse CI build failed` | The description status on the specified pull request. |
119119
| `description_file` | No | `my-output/description.txt` | Path to file containing the description status to add to the pull request |
120120
| `delete_previous_comments` | No | `true` | Boolean. Previous comments made on the pull request by this resource will be deleted before making the new comment. Useful for removing outdated information. |
121121

122-
Note that `comment`, `comment_file` and `target_url` will all expand environment variables, so in the examples above `$ATC_DEFAULT_URL` will be replaced by the public URL of the Concourse ATCs.
122+
Note that `comment`, `comment_file` and `target_url` will all expand environment variables, so in the examples above `$ATC_EXTERNAL_URL` will be replaced by the public URL of the Concourse ATCs.
123123
See https://concourse-ci.org/implementing-resource-types.html#resource-metadata for more details about metadata that is available via environment variables.
124124

125125
## Example

0 commit comments

Comments
 (0)