Skip to content

Instantly share code, notes, and snippets.

View kohsuke's full-sized avatar
🏠
WFH

Kohsuke Kawaguchi kohsuke

🏠
WFH
View GitHub Profile

Proposal: to approve CloudBees request to use the Jenkins mark for the following usages: CloudBees Jenkins Enterprise, CloudBees Jenkins Operations Center, CloudBees Jenkins Analytics, with the stipulation that:

  • The full names must always be used in CloudBees material, and that it is CloudBees’ responsibility to ensure that 3rd party references to their products go by their full names.
  • The abbreviations CJE, CJOC, and CJA are allowable
  • This is not a blanket approval for Acme Jenkins Foo for arbitrary Acme and Foo (including Acme=CloudBees). Each case still needs to be approved.
  • Due credit to the Jenkins project be given wherever such credit normally appears, such as in documentation, website, and so on.
Started by user anonymous
Running: Allocate node : Start
Running on master in /files/kohsuke/ws/jenkins/workflow/aggregator/work/jobs/trello-116/workspace
Running: Allocate node : Body : Start
Running: Shell Script
[workspace] Running shell script
+ sleep 60
Running: Allocate node : Body : End
Running: Allocate node : End
Running: End of Workflow
#!/usr/bin/env python
import os,sys
if len(sys.argv)<2:
sys.exit("No arguments")
if os.getpgrp() == os.getpid() :
f = os.fork()
if f == -1:
sys.exit("fork")
/*
* setsid.c -- execute a command in a new session
* Rick Sladkey <jrs@world.std.com>
* In the public domain.
*
* 1999-02-22 Arkadiusz Mi�kiewicz <misiek@pld.ORG.PL>
* - added Native Language Support
*
* 2001-01-18 John Fremlin <vii@penguinpowered.com>
* - fork in case we are process group leader
@kohsuke
kohsuke / nohup.c
Created November 7, 2014 23:21
nohup.c
/* nohup -- run a command immune to hangups, with output to a non-tty
Copyright (C) 2003-2005, 2007-2011 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
notice: /Stage[main]/Mirrorbrain::Repos/File[/root/mirrorbrain.key]/ensure: current_value absent, should be file (noop)
notice: /Stage[main]/Mirrorbrain::Repos/File[/etc/apt/sources.list.d/mirrorbrain.list]/ensure: current_value absent, should be file (noop)
notice: /Stage[main]/Mirrorbrain::Repos/Exec[install-key]: Would have triggered 'refresh' from 1 events
notice: /Stage[main]/Mirrorbrain::Repos/Exec[refresh-apt]: Would have triggered 'refresh' from 2 events
notice: Class[Mirrorbrain::Repos]: Would have triggered 'refresh' from 4 events
notice: /Stage[main]/Mirrorbrain::Packages/Package[postgresql-server-dev-8.4]/ensure: current_value purged, should be present (noop)
notice: /Stage[main]/Mirrorbrain::Packages/Package[python-dev]/ensure: current_value purged, should be present (noop)
notice: Class[Mirrorbrain::Packages]: Would have triggered 'refresh' from 2 events
"Computer.threadPoolForRemoting [#1661] : IO ID=752809 : seq#=752808" Id=60820 Group=main BLOCKED on java.lang.Object@18c04f6f owned by "Computer.threadPoolForRemoting [#1667] for Channel to Maven [/home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51/bin/java, -Xmx768m, -Xms768m, -client, -cp, /home/jenkins/jenkins-slave/maven3-agent.jar:/home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.5/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /home/jenkins/jenkins-slave/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.0.5, /home/hudson/jenkins-slave/slave.jar, /home/jenkins/jenkins-slave/maven3-interceptor.jar, /home/jenkins/jenkins-slave/maven3-interceptor-commons.jar, 58881]" Id=61049
at hudson.maven.SplittableBuildListener$2.onMarkFound(SplittableBuildListener.java:120)
- blocked on java.lang.Object@18c04f6f
at jenkins.util.MarkFindingOutputStream.write(MarkFindingOutputStream.java:59)
at java.io.PrintStream.write(PrintStream.java:480)
-
kohsuke@cucumber:~$ vnstat -d
eth0 / daily
day rx | tx | total | avg. rate
------------------------+-------------+-------------+---------------
05/04/14 11.61 GiB | 151.50 GiB | 163.11 GiB | 15.84 Mbit/s
05/05/14 18.37 GiB | 167.82 GiB | 186.18 GiB | 18.08 Mbit/s
05/06/14 12.54 GiB | 176.53 GiB | 189.07 GiB | 18.36 Mbit/s
05/07/14 13.07 GiB | 169.65 GiB | 182.73 GiB | 17.74 Mbit/s
% cat =mvnd
#!/bin/sh
export MAVEN_OPTS="$MAVEN_OPTS $JAVA_DEBUG_OPTS"
exec mvn "$@"

Keybase proof

I hereby claim:

  • I am kohsuke on github.
  • I am kohsuke (https://keybase.io/kohsuke) on keybase.
  • I have a public key whose fingerprint is 150F DE3F 7787 E7D1 1EF4 E12A 9B7D 32F2 D505 82E6

To claim this, I am signing this object: