Linux command in Go server for continuous integration -
i using go server continuous integration of our code. environment-deploy-template, wish set environment variables on stage , echo in property files application. linux command give in job so?
for example, thing :
echo "propname=#{env variable}\n">>prop files location
could please confirm this?
the syntax go.cd env variable ${env_var}
, full command is:
echo propname=${env_var} >> props.txt
more details on environment variables: using environment variables in go