From 20324b2b3a9ef2562fa5bb81a8520b6e639dbff7 Mon Sep 17 00:00:00 2001 From: Naveenraj M Date: Sun, 29 Mar 2020 23:37:05 +0530 Subject: [PATCH] echo $HOME in run container --- lib/main.js | 1 + src/main.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/main.js b/lib/main.js index 10b5dc5..a2b01cf 100644 --- a/lib/main.js +++ b/lib/main.js @@ -36,6 +36,7 @@ function run() { console.log(error); }); //console.log(`Tar Path for copy : ${tarBallPath}`); + yield exec.exec('echo $HOME'); // Get repo files from /github/workspace/ yield exec.exec('ls -la '); yield io.cp(`${repo}-1.0.tar.gz`, '/root/rpmbuild/SOURCES/'); diff --git a/src/main.ts b/src/main.ts index 3d29492..7fb8792 100644 --- a/src/main.ts +++ b/src/main.ts @@ -38,6 +38,7 @@ async function run() { }); //console.log(`Tar Path for copy : ${tarBallPath}`); + await exec.exec('echo $HOME'); // Get repo files from /github/workspace/ await exec.exec('ls -la ');