From a457bcf6e63f1c8287b05d6320e245dd0a4e1139 Mon Sep 17 00:00:00 2001 From: Elvin Aslanov Date: Thu, 9 Nov 2023 23:58:21 +0100 Subject: [PATCH] README: Offer Correct Example for `expandAll` "node" is a constant string here hence should come before the macro value --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b80078d..6358a01 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ variables](http://ci.jenkins-ci.org/env-vars.html) using `TokenMacro.expandAll`. ```java String template = "My revision is ${SUBVERSION_REVISION} at #${BUILD_NUMBER} and was executed on node ${NODE_NAME}" String text = TokenMacro.expandAll( build, listener, template ); -System.out.println(text); // something like "My revision is 125 at #12 and was executed on controller node" +System.out.println(text); // something like "My revision is 125 at #12 and was executed on node Controller" ``` ## Databinding Token Macro