code: def setupEnvironment(self, cmd):
          
          shell.ShellCommand.setupEnvironment(self, cmd)
          env = {}
          for k, v in self.build.getProperties().properties.items():
              env[str(k)] = str(v[0])
          if cmd.args['env'] is None:
              cmd.args['env'] = {}
          cmd.args['env'].update(env)
docs: Turn all build properties into environment variables