test
parent
07ed0dc3b4
commit
37eca535ea
|
|
@ -681,8 +681,8 @@ class SetupRemoteRepository {
|
|||
yield remote_client_system_1.RemoteClientSystem.Run(`git clone --depth 1 ${cloud_runner_state_1.CloudRunnerState.targetBuildRepoUrl} ${cloud_runner_state_1.CloudRunnerState.repoPathFull}`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`ls -lh`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`tree`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`${cloud_runner_state_1.CloudRunnerState.buildParams.gitSha}`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`git checkout ${cloud_runner_state_1.CloudRunnerState.buildParams.gitSha}`);
|
||||
cloud_runner_logger_1.default.logRemoteCli(`${cloud_runner_state_1.CloudRunnerState.buildParams.branch}`);
|
||||
yield remote_client_system_1.RemoteClientSystem.Run(`git checkout ${cloud_runner_state_1.CloudRunnerState.buildParams.branch}`);
|
||||
cloud_runner_logger_1.default.logRemoteCli(`Checked out ${process.env.GITHUB_SHA}`);
|
||||
}
|
||||
catch (error) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -153,8 +153,8 @@ export class SetupRemoteRepository {
|
|||
);
|
||||
await RemoteClientSystem.Run(`ls -lh`);
|
||||
await RemoteClientSystem.Run(`tree`);
|
||||
await RemoteClientSystem.Run(`${CloudRunnerState.buildParams.gitSha}`);
|
||||
await RemoteClientSystem.Run(`git checkout ${CloudRunnerState.buildParams.gitSha}`);
|
||||
CloudRunnerLogger.logRemoteCli(`${CloudRunnerState.buildParams.branch}`);
|
||||
await RemoteClientSystem.Run(`git checkout ${CloudRunnerState.buildParams.branch}`);
|
||||
CloudRunnerLogger.logRemoteCli(`Checked out ${process.env.GITHUB_SHA}`);
|
||||
} catch (error) {
|
||||
throw error;
|
||||
|
|
|
|||
Loading…
Reference in New Issue