-
The project_path will just return the path as is. To convert to lowercase, define a groovy script with below content:
return build.project.path.toLowerCase()Then reference that script in your build spec.
-
Previous Value Current Value Open
Closed
-
Thanks, worked like a charm. Didn't realize how easily I could drop groovy scripts in, had been using bash!
| Type |
Improvement
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
The @project_path@ substitution resolves into a properly cased path, like /MyProject/Trite
However, I want to use it to help make more standardized build steps. I can't guarantee none of the projects have capital letters. I would like either @project_path@ to always resolve lowercase, or some kind of helper I can use in templating so I can just do @[email protected] and not have to worry about the case without a full blown script.