When trying to upgrade "Jenkins" on CentOS 7, the following error may occur: Public key for jenkins-2.289.3-1.1.noarch.rpm is not installed To fix it, just import the repository key:
To select a Python version in the pipeline, you need to have the required versions installed on the system. Further actions were performed on CentOS 7 and the installation of binaries took place in the "/usr/bin/" directory for convenience, since the system already has versions "2.7" and "3.6" installed from the repository along this …
Continue reading " Jenkins – Python VirtualEnv with version selection"
For a parameterized assembly with an image tag selection, you will need the Active Choices plugin Go to "Manage Jenkins" Section "Manage Plugins" Go to the "Available" tab and select "Active Choices" in the search. Install it. Create a "New Item" – "Pipeline", indicate that it will be a parameterized assembly, and …
Continue reading " Jenkins – Active Choice: SSH – Return remote command values"
For a parameterized assembly with an image tag selection, you will need the Active Choices plugin Go to "Manage Jenkins" Section "Manage Plugins" Go to the "Available" tab and select "Active Choices" in the search. Install it. Create a "New Item" – "Pipeline", indicate that it will be a parameterized assembly, and …
Continue reading " Jenkins – Active Choice: S3 – Return necessary key value from JSON file"
For a parameterized assembly with an image tag selection, you will need the Active Choices plugin Go to "Manage Jenkins" Section "Manage Plugins" Go to the "Available" tab and select "Active Choices" in the search. Install it. You also need plugins: Database PostgreSQL Database Create a "New Item" – "Pipeline", indicate that it …
Continue reading " Jenkins – Active Choice: PostgreSQL – Return result of SELECT query"
For a parameterized assembly with an image tag selection, you will need the Active Choices plugin Go to "Manage Jenkins" Section "Manage Plugins" Go to the "Available" tab and select "Active Choices" in the search. Install it. Create a "New Item" – "Pipeline", indicate that it will be a parameterized assembly, and …
Continue reading "Jenkins – Active Choice: GitHub – Commit"
After we installed Docker on the Jenkins server and started it, when we try to build, we get the following error: Solution: Add the user "jenkins" to the "docker" group: After that, the user "jenkins" will be able to work with Docker if he connects via SSH, but with Jenkins job there will …
Continue reading "FIX ERROR – Jenkins: dial unix /var/run/docker.sock: connect: permission denied"
For a parameterized assembly with an image tag selection, you will need the Active Choices plugin Go to "Manage Jenkins" Section "Manage Plugins" Go to the "Available" tab and select "Active Choices" in the search. Install it. Create a "New Item" – "Pipeline", indicate that it will be a parameterized assembly, and …
Continue reading "Jenkins – Active Choice: Harbor – Images tag"
When running Nginx as a reverse proxy to Jenkins on CentOS, a 502 error may occur. Nginx error log will be as follows: 2020/05/07 13:32:33 [crit] 9665#9665: *1 connect() to 127.0.0.1:8080 failed (13: Permission denied) while connecting to upstream, client: 1.2.3.4, server: jenkins.artem.services, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "jenkins.artem.services" Solution: Reason SELinux. …
Continue reading "FIX ERROR – CentOS+Nginx+Jenkins: 502 Bad Gateway"
For a parameterized assembly with an image tag selection, you will need the Active Choices plugin Go to "Manage Jenkins" Section "Manage Plugins" Go to the "Available" tab and select "Active Choices" in the search. Install it. Create a "New Item" – "Pipeline", indicate that it will be a parameterized assembly, and …
Continue reading "Jenkins – Active Choice: AWS ECR Images tag (AWS SDK)"