-
In commands field of the step, you may input '@' to bring up the variable prompt. For build number, it is @build_number@.
As to search by artibrary text, please surround with
~, as suggested in the auto completion dropdown. And you can press tab to have OneDev adding~automatically. -
In commands field of the step, you may input '@' to bring up the variable prompt. For build number, it is @build_number@.
As to search by artibrary text, please surround with
~, as suggested in the auto completion dropdown. And you can press tab to have OneDev adding~automatically.build_number=@build_number@ echo "build_number is $build_number"thank you, it works, How to get all built-in variables like @build_number@?
-
As mentioned, just input @ and OneDev will prompt all available variables.
-
As mentioned, just input @ and OneDev will prompt all available variables.
very thank you! my English not good. 😟

-
Previous Value Current Value Open
Closed
-
very thank you
-
No problem. Thx for using OneDev.
| Type |
Question
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
question1: in jenkins, I use BUILD_NUMBER to generate my version file: xxx.$BUILD_NUMBER.tar but in onedev, how to get BUILD_NUMBER value?
in jenkins like this:
question 2: how to search issues in onedev?