In this series I explain how to install Jenkins, GitLab and Docker on three separate virtual machines in Proxmox and connect them together to run the job in Jenkins, that is using Jenkins pipeline located at GitLab server and run a docker container from predefined configuration in a docker file to perform a test. Scroll down to read the tutorial, please.
If you will see the error about missing file or directory during enabling the Jenkins, you have to edit the file /usr/lib/systemd/systemd-sysv-install and change the line that contains S50 and change the line to the below one:
symlink="$(pwd)/$1"
After that enable and start Jenkins once again.
Add port 8080 in firewalld, reload the configuration and check the firewall configuration status
Copy the URL and paste it into the address bar in your browser and continue the installation
Display and copy the password from the file and paste it into the admin’s password field. Use combination ctrl+shift+c to copy the displayed password from the command line.
Go to Manage Jenkins, then click Plugins, click available plugins, in search field type locale and hit Enter. Click on the button install without restart. Then click one more time on Manage Jenkins, Click System and scroll down to locale section. Set en_us language in Default language field and select Ignore browser preference and force this language to all users. Click Apply and Save buttons. Install the Restart plugin the same way and restart Jenkins.