summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-11-26 15:52:21 +0100
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-11-26 15:52:21 +0100
commit04f760a6a1cf10d40b39d07429ead1b205f020ff (patch)
tree215804c1fb0fb0d48bf76110544202f89a8a996c
parentfb1827faf5a431a896cded2dce945651a0e84aed (diff)
Fix chown in jenkins slave connection script
Change-Id: Ib5e317f17f3ba2eef3c4f0948739f83a13968c6a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
-rwxr-xr-xutils/jenkins-jnlp-connect.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/jenkins-jnlp-connect.sh b/utils/jenkins-jnlp-connect.sh
index d263b198a..00c19971f 100755
--- a/utils/jenkins-jnlp-connect.sh
+++ b/utils/jenkins-jnlp-connect.sh
@@ -100,7 +100,7 @@ fi
if [[ $started_monit == "true" ]]; then
wget --timestamping https://build.opnfv.org/ci/jnlpJars/slave.jar && true
-chown $jenkinsuser $jenkinsuser slave.jar
+chown $jenkinsuser:$jenkinsuser slave.jar
if [[ -f /var/run/$jenkinsuser/jenkins_jnlp_pid ]];
then echo "pid file found"