diff options
Diffstat (limited to 'ick2/actions.py')
-rw-r--r-- | ick2/actions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ick2/actions.py b/ick2/actions.py index 0f73e7b..c0bf92a 100644 --- a/ick2/actions.py +++ b/ick2/actions.py @@ -288,6 +288,7 @@ class ArchiveBaseAction(Action): # pragma: no cover env.report(1, 'No artifact_name parameter\n') return 1 env.report(None, 'Creating new artifact named {}\n'.format(blob_name)) + env.report(None, 'Artifact will be created from {}\n'.format(dirname)) globs = step.get('globs') if globs is None: @@ -301,7 +302,7 @@ class ArchiveBaseAction(Action): # pragma: no cover self._env.report(None, 'Creating tarball\n') fd, tarball = tempfile.mkstemp() os.close(fd) - tar = ['sudo', 'tar', '-zcf', tarball, '-C', dirname] + names + tar = ['sudo', 'tar', '-zvcf', tarball, '-C', dirname] + names exit_code = self._env.host_runcmd(tar) if exit_code != 0: self._env.report(exit_code, 'Tarball generation failed\n') |