Using the solution.properties

One convenient way for your assemblylines to make decisions differently between test and prod is to put the production tier in your solution.properties file on the server, and access it like so:

var tier = system.getTDIProperty("org.gattis.tier");
if ( tier.equals("PROD") ) {
    do something
}



Comments