Skip to content

Instantly share code, notes, and snippets.

globe trotter

Kohsuke Kawaguchi kohsuke

globe trotter
Block or report user

Report or block kohsuke

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:2e181af21ff50e419c8570e0d827c965
gcgs2_1 | 2017-05-09 16:37:52.886:WARN:oejs.HttpChannel:qtp1226204845-15: /uploadSpool
gcgs2_1 | Request GET http://proxy:9200//heads/head/repo0 HTTP/1.1 yielded text/html, should be json: HTTP/1.0 503 Service Unavailable
gcgs2_1 | at io.searchbox.client.http.JestHttpClient.deserializeResponse(
gcgs2_1 | at io.searchbox.client.http.JestHttpClient.execute(
gcgs2_1 | at$1.get(
gcgs2_1 | at
gcgs2_1 | at
gcgs2_1 | at java.lang.invoke.MethodHandle.invokeWithArguments(
gcgs2_1 | at org.kohsuke.stapler.Function$MethodFunction.invoke(
gcgs2_1 | at org.
View gist:51d52039173697e6f97a26118f07ed14
"date" : "Jan 16, 2017",
"releases" : [
"latestRelease" : true,
"timestamp" : 1484589666000,
"version" : "0.7.7",
"title" : "Jenkins Accurev plugin",
"gav" : "org.jenkins-ci.plugins:accurev:0.7.7",
"wiki" : ""
View gist:74f8a22b0a82472903f92f46db4d2c58
"run" : {
"number": null,
"displayName": null,
"action": [
"testResult" : null
View gist:9e4a502f168ee72996bad946cf1912ca
+ /srv/releases/
--2016-11-15 19:48:46--
Resolving (
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2279 (2.2K) [text/plain]
Saving to: ‘release-blob-sync’
0K .. 100% 57.4M=0s
View cucumber.crt
% openssl x509 -in cucumber.crt -text
Version: 3 (0x2)
Serial Number: 16760861739832129757 (0xe89a8af3142138dd)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C=US, ST=Arizona, L=Scottsdale,, Inc., OU=, CN=Go Daddy Secure Certificate Authority - G2
Not Before: Nov 10 23:47:00 2016 GMT
Not After : Feb 9 03:41:22 2018 GMT
kohsuke /
Created Nov 7, 2016
New jenkins signing key
Version: GnuPG v1
View gist:c712ce347d92070bdf92f90d1b300df6
I'm the maintainer of the Jenkins debian package repository at
My repository is listed in and so I'm trying to fix it. And I have a question.
According to the said Wiki page, "Repositories with DSA keys need to be migrated to RSA first", but as far as I can tell, this is not strictly speaking necessary. I was able to generate a SHA256 signature like this, using my existing DSA/1024 key:
Command line:
$ gpg --detach-sign --armor --digest-algo sha256 < Release
Generated signature:
kohsuke / gist:1ec15ab87a16d52125d4de5bad317e46
Created Sep 18, 2016
Possible suggested syntax for android emulator
View gist:1ec15ab87a16d52125d4de5bad317e46
android.emulator(platform:'android-23') {
sh './gradlew ...'
android.emulator(platform:'android-6.0', resolution:'800x600', locale:'en_GB', async:true) {
sh './gradlew someLengthyTask'
android.installApk '**/*.apk'
sh './run-tests-on-emulator'
// src/main/java/acme/
ppackage acme;
class RetryStep extends GroovyStep {
private int times;
public RetryStep(int times) {
this.times = times;
View gist:2cd0fb5f93c40f9fc078f21693f16c62
curl --verbose
* Trying
* Connected to ( port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 704 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* server certificate verification OK
* server certificate status verification SKIPPED
* SSL: certificate subject name ( does not match target host name ''
You can’t perform that action at this time.