Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. pipeline {
  2. agent any
  3. stages{
  4. stage ('Deploy Develop') {
  5. steps{
  6. sshagent(credentials : ['gavin_ssh_key']) {
  7. sh 'ssh -o StrictHostKeyChecking=no gt-gavin@147.139.135.7 -p 2324 cd /var/www/html/dev/dev-pf-bo && git checkout develop && git pull origin develop && docker run --rm --tty --volume /var/www/html/dev/dev-pf-bo/:/app composer install && exit'
  8. }
  9. }
  10. }
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement