Updated sync method for deployment

nginx_conf
Nicolas Arenas 2024-09-30 19:29:58 +02:00 committed by Nicolas Arenas
parent eccf5863e1
commit 228244ac16
2 changed files with 5 additions and 3 deletions

View File

@ -31,9 +31,11 @@ pipeline {
} }
stage('Clean up') { stage('Clean up') {
steps { steps {
dir ('tests/API-dhcp') {
echo "Destroy API server for DHCP with Vagrant" echo "Destroy API server for DHCP with Vagrant"
sh 'vagrant destroy -f' sh 'vagrant destroy -f'
} }
} }
} }
} }
}

View File

@ -14,7 +14,7 @@ Vagrant.configure('2') do |config|
# Use rsync and NFS synced folders. (or use the option to disable them) # Use rsync and NFS synced folders. (or use the option to disable them)
# https://www.vagrantup.com/docs/synced-folders/ # https://www.vagrantup.com/docs/synced-folders/
#config.vm.synced_folder('.', '/vagrant', type: 'rsync') #config.vm.synced_folder('.', '/vagrant', type: 'rsync')
config.vm.synced_folder('../../', '/vagrant', type: 'nfs', disabled: false) config.vm.synced_folder('../../', '/vagrant', type: 'rsync'))
# Vagrant can configure additional network interfaces using a static IP or # Vagrant can configure additional network interfaces using a static IP or
# DHCP. Use public_network or private_network to manually set a static IP and # DHCP. Use public_network or private_network to manually set a static IP and