I have set a few environment variables for Bitbucket pipelines
I am trying to pass them to my ANT build script through the bitbucket-pipelines.yml
ant -buildfile Repository/build/build.xml deployEmptyCheckOnly -Dsf.username=$SB_USERNAME -Dsf.password=$SB_PASSWORD -Dsf.serverUrl=$SF_SERVERURL
But when I try to echo the same in my build script file it prints
$SB_USERNAME rather than the value it has been set.