Skip to content

idempiere-devops/idempiere-jenkins-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iDempiere/Jenkins Sandbox

This repository aims to help you learn how to do CI/CD with iDempiere.

Prerequisites

Steps

  1. Configure Jenkins
  2. Configure iDempiere
  3. Add an Additional Agent
  4. Compile and Deploy Plugin

Common Commands

Start virtual machines:

vagrant up

Stop:

vagrant halt

Restart:

vagrant reload jenkins
vagrant reload idempiere

Show ports:

vagrant port jenkins
vagrant port idempiere

Open terminal:

vagrant ssh jenkins
vagrant ssh idempiere

Destroy virtual machines:

vagrant destroy

Troubleshooting

IP Range Not Allowed

If you've received this error when running vagrant up:

The IP address configured for the host-only network is not within the allowed ranges. Please update the address used to be within the allowed ranges and run the command again.

Yo can change the ips here:

Vagrant.configure("2") do |config|
  # ...
  config.vm.define "jenkins" do |jenkins|
    jenkins.vm.network "private_network", ip: "PUT A VALID IP"
    # ...
  end

  config.vm.define "idempiere" do |idempiere|
    idempiere.vm.network "private_network", ip: "PUT A VALID IP"
    # ...
  end
end

Or visit: https://www.virtualbox.org/manual/ch06.html#network_hostonly for more information.

References