You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-7Lines changed: 2 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,12 @@ resources:
34
34
35
35
### `check`: Produce a single dummy key
36
36
37
-
The resource uses the `version` identifier of the resource as a way to pass the data between jobs.
38
-
Check returns a single `dummy` key that will be discarded and only used to satisfy the `check` behavior.
37
+
This is a version-less resource so `check` behavior is no-op
39
38
40
39
### `in`: Report the given time.
41
40
42
41
Fetches the given key values and stores them in the `keyval.properties` file.
43
42
The format is of a `.properties` file, e.g. `"<key>=<value>"`.
44
-
Key values are also reported as the metadata.
45
43
46
44
#### Parameters
47
45
@@ -60,7 +58,6 @@ Reads the given properties file and sets them for the next job.
60
58
#### Parameters
61
59
- file - the properties file to read the key values from
62
60
63
-
64
61
## Examples
65
62
66
63
```YAML
@@ -78,8 +75,6 @@ jobs:
78
75
79
76
- name: build
80
77
plan:
81
-
- aggregate:
82
-
- get: keyval
83
78
- task: build
84
79
file: tools/tasks/build/task.yml
85
80
- put: keyval
@@ -96,7 +91,7 @@ jobs:
96
91
file: tools/tasks/task.yml
97
92
```
98
93
99
-
The build job gets an empty file in `keyval/keyval.properties`. It then writes all the key values it needs to pass along (e.g. artifact id) in the `keyvalout/keyval.properties` file.
94
+
The build job writes all the key values it needs to pass along (e.g. artifact id) in the `keyvalout/keyval.properties` file.
100
95
The test-deploy can read the data from the `keyval/keyval.properties` file and use them as it pleases.
0 commit comments