From 62b99228184a32fd5628976f41a2bb13fab7aee3 Mon Sep 17 00:00:00 2001 From: maggieneterval Date: Mon, 4 Mar 2019 12:48:52 -0500 Subject: [PATCH] docs(expressions): document new manifestLabelValue helper function --- reference/pipeline/expressions/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reference/pipeline/expressions/index.md b/reference/pipeline/expressions/index.md index 574276678a..f6ac072dbb 100644 --- a/reference/pipeline/expressions/index.md +++ b/reference/pipeline/expressions/index.md @@ -172,6 +172,12 @@ matches the input string. Note that `#judgment` is case sensitive: named _"My Manual Judgment Stage"_. Note that this function is aliased to the spelling `#judgement`. +### #manifestLabelValue(String stageName, String manifestKind, String labelKey) + +Returns the value of a label with key `labelKey` from a Kubernetes +Deployment or ReplicaSet manifest of kind `manifestKind`, deployed by a +stage of name `stageName`. + ### #propertiesFromUrl(String) Retrieves the contents of a [Java properties file](https://docs.oracle.com/javase/tutorial/essential/environment/properties.html)