Hi,

Is there a way to query gocd for the scheduled date/time of a pipeline, 
while that pipeline is still in progress? I've found that the Properties 
described under https://docs.go.cd/current/advanced_usage/properties.html 
are only available after a job/stage has completed and these usually only 
apply to the job and not the pipeline run. I've found that querying the 
current pipeline instance using the "Get pipeline instance" 
https://api.go.cd/current/#get-pipeline-instance API call also does not 
show any pipeline scheduled date information. For now we are finding this 
information based on the stages[0]/jobs[0]/scheduled_data JSON data 
returned by the API. Is there a better way to query for this information 
while a pipeline is still in progress. The goal here is to query and 
capture the scheduled start date/time as a first step within the first 
stage of a pipeline run. The scheduled time in this case would be different 
from the actual start time because there might be some delay in between.

Jay

-- 
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