From 7338dcc01a3cee16512ee8d3cc9382f75c04c9b1 Mon Sep 17 00:00:00 2001 From: gcummings Date: Fri, 15 Feb 2013 13:03:19 +0000 Subject: [PATCH] [JENKINS-15918] Adding some detail of the Environment variables created --- war/src/main/webapp/help/parameter/run-project.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/war/src/main/webapp/help/parameter/run-project.html b/war/src/main/webapp/help/parameter/run-project.html index 6104ddbcab..13663423f5 100755 --- a/war/src/main/webapp/help/parameter/run-project.html +++ b/war/src/main/webapp/help/parameter/run-project.html @@ -1,3 +1,13 @@
- Defines the job from which the user can pick runs. The last run will be the default. + Defines the job from which the user can pick runs. The last run will be the default.
+
+ These parameters are exposed to build as environment variables:
+
+ PARAMETER_NAME=<jenkins_url>/job/<job_name>/<run_number/
+
+ PARAMETER_NAME.jobName=<job_name>
+ PARAMETER_NAME_jobName=<job_name>
+
+ PARAMETER_NAME.number=<run_number>
+ PARAMETER_NAME_number=<run_number>
\ No newline at end of file -- GitLab