How do I make a file available to TeamCity Build Step

aws s3api put-bucket-notification-configuration --bucket some-bucket-name --notification-configuration file://notification.json

The above command expects a local file notification.json

How do I make the file available for TeamCity Build Stel shell enviromnment?

0
1 comment

Hello,

You can add your file to the repository and then you can find under the configured working directory in the build step. As an example, if I add a file to the repository (that you need to configure under Version Control Settings), i can use it in a command as in the simple example below.

You can also configure the file path to use in the build step configuration using parameters, as in the link below: 

https://www.jetbrains.com/help/teamcity/configuring-build-parameters.html

Thank you,

Guilherme

 

0

Please sign in to leave a comment.