Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/idempiere-devops/idempiere-jenkins-sandbox
Sanbox to learn CI/CD
https://github.com/idempiere-devops/idempiere-jenkins-sandbox
devops idempiere jenkins vagrant
Last synced: 30 days ago
JSON representation
Sanbox to learn CI/CD
- Host: GitHub
- URL: https://github.com/idempiere-devops/idempiere-jenkins-sandbox
- Owner: idempiere-devops
- Created: 2024-02-24T17:33:20.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-10T21:56:49.000Z (10 months ago)
- Last Synced: 2024-10-15T04:41:39.994Z (2 months ago)
- Topics: devops, idempiere, jenkins, vagrant
- Language: Shell
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iDempiere/Jenkins Sandbox
This repository aims to help you learn how to do CI/CD with iDempiere.
## Prerequisites
- [Vagrant](https://developer.hashicorp.com/vagrant/install#linux)
- [Virtual Box](https://www.virtualbox.org/wiki/Linux_Downloads)## Steps
1. [Configure Jenkins](doc/1_CONFIGURE_JENKINS.md)
2. [Configure iDempiere](doc/2_CONFIGURE_IDEMPIERE.md)
3. [Add an Additional Agent](doc/3_ADD_AGENT.md)
4. [Compile and Deploy Plugin](doc/4_COMPILE_AND_DEPLOY_A_PLUGIN.md)## Common Commands
Start virtual machines:
```shell
vagrant up
```Stop:
```shell
vagrant halt
```Restart:
```shell
vagrant reload jenkins
vagrant reload idempiere
```Show ports:
```shell
vagrant port jenkins
vagrant port idempiere
```Open terminal:
```shell
vagrant ssh jenkins
vagrant ssh idempiere
```Destroy virtual machines:
```shell
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:
```ruby
Vagrant.configure("2") do |config|
# ...
config.vm.define "jenkins" do |jenkins|
jenkins.vm.network "private_network", ip: "PUT A VALID IP"
# ...
endconfig.vm.define "idempiere" do |idempiere|
idempiere.vm.network "private_network", ip: "PUT A VALID IP"
# ...
end
end
```Or visit: for more information.
## References
- [Jenkinsfile](https://www.jenkins.io/doc/book/pipeline/jenkinsfile/)