Lab -Jenkins installation Q7

installing jenkins failed error was
Public key for jenkins-2.387.2-1.1.noarch.rpm is not installed
Error: GPG check FAILED
i followed the steps given in solution

Hi @shashwatshah101293,

Please import the key mention on the official website :

sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key

To install Jenkins, you’ve to follow the instructions :

sudo yum install yum-utils epel-release -y
sudo yum install java wget -y
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo --no-check-certificate
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
sudo yum install jenkins -y

We’ll update the solution accordingly

Regard

1 Like

Hi @shashwatshah101293,
Thanks for highlighting this. We have updated the question’s solution.

Regards,