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,8 +31,10 @@ pipeline {
}
stage('Clean up') {
steps {
echo "Destroy API server for DHCP with Vagrant"
sh 'vagrant destroy -f'
dir ('tests/API-dhcp') {
echo "Destroy API server for DHCP with Vagrant"
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)
# https://www.vagrantup.com/docs/synced-folders/
#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
# DHCP. Use public_network or private_network to manually set a static IP and