Code Review
/
releng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
c109c27
)
add the ssh_key info if the key_file is exist
65/60465/2
author
dongwenjuan
<dong.wenjuan@zte.com.cn>
Wed, 1 Aug 2018 06:50:46 +0000
(14:50 +0800)
committer
dongwenjuan
<dong.wenjuan@zte.com.cn>
Wed, 1 Aug 2018 07:02:33 +0000
(15:02 +0800)
Change-Id: I7a95933e254b35fc7b26d649226192b8e4c407bb
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
jjb/doctor/doctor-env-presetup.sh
patch
|
blob
|
history
diff --git
a/jjb/doctor/doctor-env-presetup.sh
b/jjb/doctor/doctor-env-presetup.sh
index
8c7c12e
..
61e65c7
100755
(executable)
--- a/
jjb/doctor/doctor-env-presetup.sh
+++ b/
jjb/doctor/doctor-env-presetup.sh
@@
-57,4
+57,6
@@
fi
# Write the installer info to the file
echo export INSTALLER_TYPE=${INSTALLER_TYPE} > $opnfv_installer
echo export INSTALLER_IP=${INSTALLER_IP} >> $opnfv_installer
-echo export SSH_KEY=${installer_key_file} >> $opnfv_installer
+if [ -e ${installer_key_file} ]; then
+ echo export SSH_KEY=${installer_key_file} >> $opnfv_installer
+fi