Related Post: Jenkins Set Environment Variable From Bash Script Jenkins Pipeline Set Environment Variable From Shell Script