I want to pass variable value from one build step that is from 'execute shell' to 'send files or execute commands over SSH" my script in Execute shell* is:
if [ "$var" == "1"]; then
package="newpackage"
fi
if [ "$var" == "2"]; then
package="oldpackage"
fi
Given_order=${package}
send files or execute commands over SSH
echo "$Given_order"
but the value is not passed from execute shell build step to other.
Please suggest
Thanks