Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nook24 authored Aug 26, 2020
1 parent e9d1045 commit c245dcb
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,8 @@ pipeline {
changeRequest()
}
}
agent {
docker {
image 'srvitsmdrone01.master.dns:5000/alpine-rsync'
registryUrl 'http://srvitsmdrone01.master.dns:5000'
}
}
environment {
SSH_KEY = credentials('JENKINS_SSH_KEY')
}
steps {
sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i $SSH_KEY" --progress ./ [email protected]:/var/www/openitcockpit_io/api'
sh 'rsync -avz -e "ssh -o StrictHostKeyChecking=no -i /var/lib/jenkins/.ssh/id_rsa" --progress ./ [email protected]:/var/www/openitcockpit_io/api'
}
}
}
Expand Down

0 comments on commit c245dcb

Please sign in to comment.