(source: string)
| 1379 | } |
| 1380 | |
| 1381 | copyIn (source: string) { |
| 1382 | const safeJobName = this.safeJobName; |
| 1383 | if (!this.imageName(this._variables) && this.argv.shellIsolation) { |
| 1384 | return Utils.spawn(["rsync", "-a", `${source}/.`, `${this.argv.cwd}/${this.argv.stateDir}/builds/${safeJobName}`]); |
| 1385 | } |
| 1386 | return Utils.spawn([this.argv.containerExecutable, "cp", `${source}/.`, `${this._containerId}:${this.ciProjectDir}`]); |
| 1387 | } |
| 1388 | |
| 1389 | private async copyCacheOut (writeStreams: WriteStreams, expanded: {[key: string]: string}) { |
| 1390 | if (this.argv.mountCache && this.imageName(expanded)) return; |
no test coverage detected