src/Commands/DeployCommand.php
public function handle()
    {
        $builderName = $this->option('builder');
        if (is_null($builderName)) {
            if (class_exists(Process::class)) {
                $process = new Process('whoami');
                $process->run();
                if ($process->isSuccessful()) {
                    $builderName = trim($process->getOutput());
                }
            } else {
                $builderName = Utils::getBuilderName();
            }
        }
        Bugsnag::build($this->option('repository'), $this->option('revision'), $this->option('provider'), $builderName);

        $this->info('Notified Bugsnag of the build!');
    }
public function handle()
    {
        $builderName = $this->option('builder');
        if (is_null($builderName)) {
            if (class_exists(Process::class)) {
                $process = new Process('whoami');
                $process->run();
                if ($process->isSuccessful()) {
                    $builderName = trim($process->getOutput());
                }
            } else {
                $builderName = Utils::getBuilderName();
            }
        }
        Bugsnag::build($this->option('repository'), $this->option('revision'), $this->option('provider'), $builderName);

        $this->info('Notified Bugsnag of the build!');
    }
Execute the console command.

@return void