summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-17 16:48:12 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-08-17 14:53:19 +0000
commit7b217895f7b379d396a9bac9a87590be832dc1cf (patch)
tree31405f054217c7e3ec9086e0f77e45d557465b5d /deploy
parent9720ddf955b76d678a08dc7ea53684400c659ce3 (diff)
lib.sh: Fix mcp key owner for OPNFV Jenkins jobs
In case of non-root deploys (i.e. running `ci/deploy.sh` without sudo), the OPNFV Jenkins slave executes it under a user shell, under a root shell, e.g.: $ sudo sudo -u jenkins bash $ echo $USER jenkins $ echo $SUDO_USER root Adjust lib.sh to only use SUDO_USER when it is not "root". Change-Id: I6dd1c8a5dd3a3b02cfb760818d66e99f49709a5b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'deploy')
0 files changed, 0 insertions, 0 deletions