'how to pass inbuilt timestamp in gradle command on unix

if [ "$SIMULATION" == "all" ]; then ./gradlew clean build gatlingRun ; else ./gradlew :$MODULE:clean :$MODULE:gatlingRun-simulation.$SIMULATION -Dgatling.data.graphite.rootPathPrefix=""gatling.$MODULE"."$BUILD_TIMESTAMP""

IN Above command $BUILD_TIMESTAMP is something I want from inbuilt timestamp functions either unix or gradle.Right now only $BUILD_TIMESTAMP giving me issue in above command.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source