Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pipeline {
- agent any
- stages{
- stage ('Deploy Develop') {
- steps{
- sshagent(credentials : ['gavin_ssh_key']) {
- 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'
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement