What do you mean by pushing ?
Global variables are stored in a file outside of your packages. So if you are pushing just packages then that won’t be enough.
You need to copy the file for global variables from
<SAG_HOME>/IntegrationServer/instances/default/config/globalVariables.cnf
<SAG_HOME>/IntegrationServer/config/globalVariables.cnf
You can also set global variables via configuration variables (application.properties) e.g.
globalvariable.myvar.value=value
if you have dots ‘.’ then you need to do it as
globalvariable.com..myvar.value=value
#API-Gateway#API-Management#Integration-Server-and-ESB#Developer-Portal#B2B-Integration#Service-Designer#API-Portal#webMethods