-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkins Setup on Linux
49 lines (29 loc) · 1.23 KB
/
Jenkins Setup on Linux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
https://www.youtube.com/watch?v=rgai3yzRsA0
-------------------------------------------
sestatus- it is a firwall and should be Disabled. If it's enable execute commands from below links:
https://www.cyberciti.biz/faq/disable-selinux-on-centos-7-rhel-7-fedora-linux/
systemctl stop firewalld
systemctl disable firewalld
-------------------------------------------
Jenkins:
https://pkg.jenkins.io/redhat-stable/
Commands:
3-systemctl start jenkins
4-netstat -lntp | grep 6444
Jenkins Slack Notification:
https://www.youtube.com/watch?v=TWwvxn2-J7E
Id:
creedential as Secret text (Secret field)
NOTE: Team subdomain is your workspace, integration token must be stored in credential. They've updated the plugin and remove/rename some options
cd /var/lib/jenkins
sudo service jenkins restart
sudo service jenkins stop
sudo service jenkins start
Uninstall jenkinns:
Go to the certain jenkins path and execute below commands:
1-sudo yum remove jenkins
2-sudo rm -r /var/lib/jenkins
if you are getting error in yum install command then download rpn and placed it on a path and execute below command.
cd /data/media/
rpm -Uvh jenkins-2.235.5-1.1.noarch.rpm
https://medium.com/appgambit/integrating-jenkins-with-slack-notifications-4f14d1ce9c7a