File contents resolver

The file contents resolver reads a file and uses the file contents as a parameter value.

Properties

Here are the properties of the file contents resolver:

Examples

Use contents of the /tmp/commit.txt file as parameter value:

parameters:
  CommitHash:
    resolver: file-contents
    file: /tmp/commit.txt

Use a relative file path:

parameters:
  Code:
    resolver: file-contents
    file: code.txt

Last updated