Comments on: How to install and Configure Jenkins on CentOS 7 and RHEL 7 https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/ Wed, 18 Nov 2020 02:29:38 +0000 hourly 1 By: Minh minh https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/#comment-22414 Wed, 18 Nov 2020 02:29:38 +0000 http://www.linuxtechi.com/?p=4441#comment-22414 In reply to Mel.

You can try as follow:
WARNING: The gpg key use to sign our packages has been updated on 16th of April 2020, therefore you need to reimport it if you imported before this date.

sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm –import https://pkg.jenkins.io/redhat-stable/jenkins.io.key

]]>
By: Mel https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/#comment-21980 Tue, 13 Oct 2020 04:39:31 +0000 http://www.linuxtechi.com/?p=4441#comment-21980 In reply to Mez.

Hi, Did you solve this issue, I too got same problem

]]>
By: Mez https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/#comment-21949 Fri, 09 Oct 2020 00:19:37 +0000 http://www.linuxtechi.com/?p=4441#comment-21949 I’m trying to install Jenkins on Redhat, but I get this output when I get to the step:

jenkins-2.249.2-1.1.noarch.rpm FAILED
‘http://pkg.jenkins.io/redhat-stable/jenkins-2.249.2-1.1.noarch.rpm’: [Errno 14] HTTPS Error 302 – Found] 0.0 B/s | 0 B –:–:– ETA
Trying other mirror.

Error downloading packages:
jenkins-2.249.2-1.1.noarch: [Errno 256] No more mirrors to try.

]]>
By: Soham Baijal https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/#comment-18551 Mon, 27 Jan 2020 10:49:39 +0000 http://www.linuxtechi.com/?p=4441#comment-18551 In reply to Pradeep Kumar.

go to yum repository and make gpgcheck=0 rather than gpgcheck=1

]]>
By: Andy https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/#comment-9106 Fri, 12 Apr 2019 11:26:19 +0000 http://www.linuxtechi.com/?p=4441#comment-9106 Hey my friend,

Excellent article – really helped me.

One very minor thing, “Jenkins is free and open source continues integration tool…”, that continues ought to be continuous.

Thanks again.

]]>
By: Franck Gros-Dubois https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/#comment-6791 Fri, 14 Dec 2018 02:58:14 +0000 http://www.linuxtechi.com/?p=4441#comment-6791 hi, the best way to know which port Jenkins is running is to read the jenkins.service
If you install Jenkins by yourself, by downloading the war, you need to write it yourself.
If you use the yum install, then you need to find that file.
A find | grep should help you. you need to find this line :

path_to_your_java/java -jar path_to_jenkins.war/jenkins.war –httpPort=your_port

With a yum install this line will be with variables. You need to track it.
Then, you’ll know what is your port for Jenkins.

Regards,

]]>
By: Siddhesh_Khedekar https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/#comment-5638 Thu, 23 Aug 2018 11:44:02 +0000 http://www.linuxtechi.com/?p=4441#comment-5638 Hi
I am facing same issue as Mohanish.
When I do : netstat -anp |grep 8080 , No output is coming.
However when I do : sudo service jenkins status, below output is coming –
jenkins.service – LSB: Jenkins Automation Server
Loaded: loaded (/etc/rc.d/init.d/jenkins; bad; vendor preset: disabled)
Active: active (exited) since Thu 2018-08-23 11:39:01 EDT; 1h 22min ago
Docs: man:systemd-sysv-generator(8)

Aug 23 11:39:00 l-156063904.wipro.com systemd[1]: Starting LSB: Jenkins Automation Server…
Aug 23 11:39:00 l-156063904.wipro.com runuser[1643]: pam_unix(runuser:session): session op…0)
Aug 23 11:39:01 l-156063904.wipro.com jenkins[1638]: Starting Jenkins Jenkins requires Jav…re
Aug 23 11:39:01 l-156063904.wipro.com jenkins[1638]: java.lang.UnsupportedClassVersionErro….0
Aug 23 11:39:01 l-156063904.wipro.com jenkins[1638]: at Main.main(Main.java:128)
Aug 23 11:39:01 l-156063904.wipro.com jenkins[1638]: [ OK ]
Aug 23 11:39:01 l-156063904.wipro.com systemd[1]: Started LSB: Jenkins Automation Server.

Any suggestions?

]]>
By: Siddhesh_Khedekar https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/#comment-5637 Thu, 23 Aug 2018 11:23:11 +0000 http://www.linuxtechi.com/?p=4441#comment-5637 In reply to nafish shahzad.

I have same issue as Mohanish. Tried Suggestions from Pradeep and Mohanish but no success.
Any suggestions? I am working on Virtual box Centos7 image.

]]>
By: Vineeth https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/#comment-3761 Tue, 20 Mar 2018 05:24:57 +0000 http://www.linuxtechi.com/?p=4441#comment-3761 Very nice explanation!

]]>
By: nafish shahzad https://www.linuxtechi.com/install-configure-jenkins-on-centos-7-rhel-7/#comment-1988 Wed, 08 Nov 2017 12:31:33 +0000 http://www.linuxtechi.com/?p=4441#comment-1988 check whether it is used by another process or not
netstat -anp |grep 8080

]]>