How to modify variables in Jenkins within a batch file.
To modify variables in a BAT script in Jenkins, you can use the following command:
set 变量名=新值
For example, to change the value of a variable named myVariable to a new value, you can use the following command:
set myVariable=new value
Then, the modified variable value can be used in other parts of the script. It is important to note that the modification of the variable is only valid within the current script and will not affect other scripts or jobs in the Jenkins runtime environment.