Skip to content

Instantly share code, notes, and snippets.

View michaelneale's full-sized avatar
😀
Not updating github status

Michael Neale michaelneale

😀
Not updating github status
View GitHub Profile

This is more complex than necessary probably.

There appears to be no way in the web UI to set up webhooks for other events. And so we go to the API.

{
0:00:00.769,0:00:01.670
look a little
0:00:01.670,0:00:04.310
and ivory or agrees goes
0:00:04.310,0:00:06.049
and uh...
0:00:06.049,0:00:10.990
[root@jenkins-cloudbees ~]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 32740 3296 ? Ss May08 0:00 /sbin/init systemd.unit=container.target
root 8 0.0 0.1 290952 13244 ? Ss May08 0:09 /usr/lib/systemd/systemd-journald
root 20 0.0 0.0 4096 352 ? Ss May08 0:00 /sbin/runsv /var/service/jenkins
cloudbe+ 22 0.0 0.0 4240 540 ? S May08 0:05 svlogd -tt ./main
cloudbe+ 23 0.9 3.2 1836540 247764 ? Sl May08 93:03 /usr/bin/java -Djava.util.logging.config.file=/opt/jenkins/logging.properties -Djava.util.loggi
nobody 66 0.0 0.0 44852 2152 ? Ss May08 0:25 /sbin/mount.davfs https://repository-cloudbees.forge.beescloud.com/private/ /private/cloudbees
dbus 18167 0.0 0.0 17312 1468 ? Ss 10:42 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 18168 0.0 0.0 26104 1448 ? Ss 1
[root@jenkins-cloudbees ~]# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
[root@ip-10-116-195-128 ~]# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.116.195.128 netmask 255.255.254.0 broadcast 10.116.195.255
[root@jenkins-cloudbees ~]# netstat -atn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:9081 0.0.0.0:* LISTEN
tcp6 0 0 :::8081 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::25 :::* LISTEN
tcp6 0 0 :::7081 :::* LISTEN
[root@jenkins-cloudbees ~]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 32740 3296 ? Ss May08 0:00 /sbin/init systemd.unit=container.target
root 8 0.0 0.1 290952 13244 ? Ss May08 0:09 /usr/lib/systemd/systemd-journald
root 20 0.0 0.0 4096 352 ? Ss May08 0:00 /sbin/runsv /var/service/jenkins
cloudbe+ 22 0.0 0.0 4240 540 ? S May08 0:05 svlogd -tt ./main
cloudbe+ 23 0.9 3.2 1836540 247764 ? Sl May08 93:03 /usr/bin/java -Djava.util.logging.config.file=/opt/jenkins/logging.properties -Djava.util.loggi
nobody 66 0.0 0.0 44852 2152 ? Ss May08 0:25 /sbin/mount.davfs https://repository-cloudbees.forge.beescloud.com/private/ /private/cloudbees
dbus 18167 0.0 0.0 17312 1468 ? Ss 10:42 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 18168 0.0 0.0 26104 1448 ? Ss 1
@michaelneale
michaelneale / gist:5610607
Created May 20, 2013 05:48
outside container processes
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 6917 0.0 0.0 32740 3296 ? Ss May08 0:00 /sbin/init systemd.unit=container.target
root 6941 0.0 0.1 290952 13256 ? Ss May08 0:09 /usr/lib/systemd/systemd-journald
root 6970 0.0 0.0 4096 352 ? Ss May08 0:00 /sbin/runsv /var/service/jenkins
cloudbe+ 6973 0.0 0.0 4240 540 ? S May08 0:05 svlogd -tt ./main
cloudbe+ 6974 0.9 3.2 1836540 247772 ? Sl May08 93:04 /usr/bin/java -Djava.util.logging.config.file=/opt/jenkins/logging.properties -Djava.util.loggi
nobody 7142 0.0 0.0 44852 2152 ? Ss May08 0:25 /sbin/mount.davfs https://repository-cloudbees.forge.beescloud.com/private/ /private/cloudbees
dbus 22065 0.0 0.0 17312 1468 ? Ss 10:42 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 22068 0.0 0.0 26104 1448 ? Ss 10:42 0:00 /usr/lib/systemd/system
[root@ip-10-116-195-128 etc]# ls /etc
adjtime cron.weekly gshadow kernel mercurial os-release rpc sysctl.conf
aliases crypttab gshadow- krb5.conf mke2fs.conf pacman.conf rsyncd.conf sysctl.d
arch-release cups gssapi_mech.conf ld.so.cache mkinitcpio.conf pacman.conf.pacnew runit syslog-ng
avahi davfs2 healthd.conf ld.so.conf mkinitcpio.d pacman.d screenrc systemd
bash.bash_logout dbus-1 host.conf ld.so.conf.d modprobe.d pam.d securetty tmpfiles.d
bash.bashrc default hostid libnl modules-load.d pango security trusted-key.key
binfmt.d depmod.d hostname locale.conf motd passwd sensors3.conf udev
ca-certificates
@michaelneale
michaelneale / gist:5610635
Created May 20, 2013 05:59
FS within container
[root@jenkins-cloudbees ~]# ls /etc
bash.bash_logout environment hosts iptables ld.so.conf.d machine-id os-release protocols services ssl sysctl.d
bash.bashrc fstab idnalias.conf issue locale.conf man_db.conf pam.d resolv.conf shadow sudoers syslog-ng
ca-certificates.conf group idn.conf jenkins-public-ipv4 locale.gen motd passwd runit shells sudoers.d systemd
davfs2 gshadow inputrc ld.so.cache localtime mtab profile securetty skel swarm.conf udev
dbus-1 hostid iproute2 ld.so.conf login.defs nsswitch.conf profile.d security ssh sysctl.conf