Reference doc for Pipeline expressions?


#1

Other than https://www.spinnaker.io/guides/user/pipeline-expressions/ is there a page with the API documentation for pipeline expressions so we can see what the various properties are?

Specifically, I’m trying to test for the value of a previous webhook stage.


#2

Well, I resolved the “previous webhook” question, but my original question still stands: is there a page that lists all the parameters, or is the only way to look at the source of the object you’re trying to write an expression for?


#3

Currently there is no reference documentation – the best you can do is look at your pipeline’s execution source.

As we talked about in a separate thread, we’re working to codify & introduce proper types for a lot of the execution’s internal state, starting with the set of trigger classes.


#4

It might be interesting to look at this endpoint: https://github.com/spinnaker/gate/blob/master/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/PipelineController.groovy#L243-L254

It allows you to test the value of an expression for a given execution.