Skip to content

Commit

Permalink
Different configuration of vmx in Vagrantfile and removal of lnk files"
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidcliqz authored and alver-cliqz committed May 16, 2018
1 parent a684c35 commit 7ded0bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Jenkinsfile.win
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ node(WIN_BUILD_NODE) {
def helpers = load "artifacts/build-helpers.groovy"
sh "find .vagrant/machines/ -type d -name '*.vmx.lck' -print0 | xargs -0 rm -rf"
helpers.withVagrant("artifacts/${VAGRANTFILE}", "c:\\jenkins", NODE_CPU_COUNT.toInteger(), NODE_MEMORY.toInteger(), NODE_VNC_PORT.toInteger(), WIN_REBUILD_IMAGE.toBoolean()) { nodeId ->
node(nodeId) {
stage("Checkout") {
Expand Down
2 changes: 2 additions & 0 deletions win.Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Vagrant.configure(2) do |config|
v.memory = ENV["NODE_MEMORY"]

v.vmx["numvcpus"] = "#{ENV['NODE_CPU_COUNT']}"
v.vmx["memsize"] = ENV["NODE_MEMORY"]
v.vmx["cpuid.corespersocket"] = "#{ENV['NODE_CPU_COUNT']}"
v.vmx["RemoteDisplay.vnc.enabled"] = "true"
v.vmx["RemoteDisplay.vnc.port"] = ENV["NODE_VNC_PORT"]
end
Expand Down

0 comments on commit 7ded0bf

Please sign in to comment.