For instance below shell command will set build version:
version=6.0.0
echo "## Begin QuickBuild Script"
echo "groovy:build.setVersion('$version')"
echo "## End QuickBuild Script"
And below shell command will set variable value:
echo "## Begin QuickBuild Script"
echo "groovy:vars.get('somevar').setValue('some value')"
echo "## End QuickBuild Script"
Description
For instance below shell command will set build version:
version=6.0.0
echo "## Begin QuickBuild Script"
echo "groovy:build.setVersion('$version')"
echo "## End QuickBuild Script"
And below shell command will set variable value:
echo "## Begin QuickBuild Script"
echo "groovy:vars.get('somevar').setValue('some value')"
echo "## End QuickBuild Script"