We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b44aae1 commit 934d335Copy full SHA for 934d335
README.md
@@ -66,8 +66,10 @@ For example:
66
out.println params
67
out.println 'Build Object Properties:'
68
build.properties.each { out.println "$it.key -> $it.value" }
69
-
70
+
+ // output git commit info (git plugin)
71
+ out.println build.environment.get('GIT_COMMIT')
72
73
// use it in the flow
74
build("job1", parent_param1: params["param1"])
75
build("job2", parent_workspace:build.workspace)
0 commit comments