resource script (/opt/resource/out /tmp/build/put) output a null version #6239
Replies: 1 comment
-
|
tl;dr - please provide more details, as there's very little information to help with. Converting to a discussion as we have no reproducible. It sounds like you're looking for advice on how to write a custom resource type, but to get meaningful help you're probably going to need to share:
I'll mention https://concourse-ci.org/implementing-resource-types.html, but it seems like you've probably read that. The error you're getting is from concourse/atc/resource/resource_put.go Line 36 in 248606d which suggests that your {
"version": { "ref": "61cebf" },
"metadata": [
{ "name": "commit", "value": "61cebf" },
{ "name": "author", "value": "Mick Foley" }
]
}In your case, when the output is parsed, the result has a null value for EDIT: I just tried which suggests pretty strongly that your script needs to be printing JSON with a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Custom Resource Not Working
Steps to reproduce
when trying to run a pipeline with below content out executable is not working
Expected results
Actual results
Additional context
Triaging info
Beta Was this translation helpful? Give feedback.
All reactions