Updated sync method for deployment
parent
eccf5863e1
commit
228244ac16
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue