In the API, given a GO_DEPENDENCY_LOCATOR_pipelinename, what's the easiest
way to discover the git hash used to build pipelinename?

Currently I'm outputting a "githash.txt" file, storing it as an artifact,
then retrieving it.

Here's the only API-driven way I see to do it:

call http://server/api/pipelines/pipelinename/history
navigate the JSON: build_cause->material_revisions[0]->(my material by
value)->modifications[0]

Am I missing an easier way? Basically, given the LOCATOR, I want the
GO_REVISION_reponame used.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to