navicore / teams-notification-resource

for Concourse CI notifications on Microsoft Teams
MIT License
32 stars 33 forks source link

need to provide workdir to get text_file to work #15

Closed cah-tyler-rasor closed 3 years ago

cah-tyler-rasor commented 3 years ago

The out script is passed a path to the directory containing the build's full set of sources as command line argument $1

https://concourse-ci.org/implementing-resource-types.html#resource-out

since outputs get persisted in the temp build directory, we need to prepend the text_file input with the path to the working directory

fixes #14