Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
WFH

Kohsuke Kawaguchi kohsuke

🏠
WFH
View GitHub Profile
View gist:ec9d18825806f51202c586134cfd3bf0
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="foo.FooTest" time="0" tests="3" errors="0" skipped="0" failures="1">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="/usr/local/jdk1.8.0_144/jre/lib/amd64"/>
<property name="java.vm.version" value="25.144-b01"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="maven.multiModuleProjectDirectory" value="/home/kohsuke/ws/launchable/test"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=":"/>
@kohsuke
kohsuke / git-children-of
Created Nov 21, 2013
Given a commit, find immediate children of that commit.
View git-children-of
#!/bin/bash -e
# given a commit, find immediate children of that commit.
for arg in "$@"; do
for commit in $(git rev-parse $arg^0); do
for child in $(git log --format='%H %P' --all | grep -F " $commit" | cut -f1 -d' '); do
git describe $child
done
done
done
View 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
View gist:63eeddb3d0c3fce47e8454abe6422654
[2019-11-20T20:24:13.550Z] + groovy -Dgrape.config=./grapeConfig.xml ./lib/runner.groovy jdk.groovy
[2019-11-20T20:24:16.390Z] loading dependencies...done
[2019-11-20T20:24:18.920Z] Nov 20, 2019 8:14:59 PM com.gargoylesoftware.htmlunit.html.HtmlScript isExecutionNeeded
[2019-11-20T20:24:18.920Z] WARNING: Script is not JavaScript (type: text/xml, language: ). Skipping execution.
[2019-11-20T20:24:19.179Z] Nov 20, 2019 8:14:59 PM com.gargoylesoftware.htmlunit.javascript.host.Document jsxFunction_createElement
[2019-11-20T20:24:19.179Z] SEVERE: Unexpected exception occurred while parsing HTML snippet
[2019-11-20T20:24:19.179Z] Nov 20, 2019 8:14:59 PM com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError
[2019-11-20T20:24:19.179Z] SEVERE: runtimeError: message=[Unexpected exception occurred while parsing HTML snippet: input name="x"] sourceName=[https://www.oracle.com/us/assets/prototype-1.7.2.0.js] line=[2092] lineSource=[null] lineOffset=[0]
[2019-11-20T20:24:19.438Z] Nov 20, 2019 8:14:59 PM
@kohsuke
kohsuke / stuck.log
Last active Aug 6, 2019
With surefire 2.20.1
View stuck.log
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] 'servers.server.id' must be unique but found duplicate server with id jenkinsci-cert-snapshot @ /home/kohsuke/.m2/settings.xml
[WARNING]
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] 'servers.server.id' must be unique but found duplicate server with id jenkinsci-cert-snapshot @ /home/kohsuke/.m2/settings.xml
[WARNING]
[INFO] Scanning for projects...
[INFO]
View release.log
% mvn test -Dtest=jenkins.triggers.TriggerTest
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] 'servers.server.id' must be unique but found duplicate server with id jenkinsci-cert-snapshot @ /home/kohsuke/.m2/settings.xml
[WARNING]
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] 'servers.server.id' must be unique but found duplicate server with id jenkinsci-cert-snapshot @ /home/kohsuke/.m2/settings.xml
[WARNING]
[INFO] Scanning for projects...
View diff.patch
diff --git a/distribution/client/package-lock.json b/distribution/client/package-lock.json
index d6222a0..d45aeee 100644
--- a/distribution/client/package-lock.json
+++ b/distribution/client/package-lock.json
@@ -6756,27 +6756,11 @@
}
},
"original": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/original/-/original-1.0.0.tgz",
View gist:573cb5620fcc25c9e5c0

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.
@kohsuke
kohsuke / tree
Last active May 21, 2018
failure-0521.log
View tree
[INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] [INFO] Forking Jenkins cli 2.123
[INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[INFO] [INFO]
[INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:display-info (display-info) @ cli ---
[INFO] [INFO] Maven Version: 3.5.3
[INFO] [INFO] JDK Version: 1.8.0_144 normalized as: 1.8.0-144
[INFO] [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 4.4.0-121-generic
[INFO] [INFO]
[INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (display-info) @ cli ---
You can’t perform that action at this time.