Skip to content

Instantly share code, notes, and snippets.

Avatar

Robin Björklin rbjorklin

  • Vancouver
View GitHub Profile
@rbjorklin
rbjorklin / gelf-log.stacktrace
Last active Jan 29, 2018
Java stacktrace from GELF-appender in infinite loop.
View gelf-log.stacktrace
"qtp1958402562-67368037" #67368037 prio=5 os_prio=0 tid=0x00007f0188ae0800 nid=0x4d5b runnable [0x00007f01c2ff1000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
@rbjorklin
rbjorklin / Jenkinsfile
Created Apr 6, 2017
Jenkinsfile without mailing on ABORTED status
View Jenkinsfile
post {
failure {
echo "${currentBuild.currentResult}" // Always contains FAILURE
script {
try {
exec = currentBuild.rawBuild.getOneOffExecutor()
result = exec.abortResult().toString()
} catch (e) {
echo "${e.message}" // "Scripts not permitted to use method hudson.model.Executor abortResult"
}
View keybase.md

Keybase proof

I hereby claim:

  • I am rbjorklin on github.
  • I am rbjorklin (https://keybase.io/rbjorklin) on keybase.
  • I have a public key whose fingerprint is 4FFE A26B 3963 4762 AD27 DF62 2AA7 170A 069C EE65

To claim this, I am signing this object:

You can’t perform that action at this time.