Skip to content

Instantly share code, notes, and snippets.

View f0ssel's full-sized avatar

Garrett Delfosse f0ssel

View GitHub Profile
goroutine 836372 [running]:
runtime/pprof.writeGoroutineStacks(0x274ce80, 0xc003ec6460, 0xc0079aede0, 0x0)
/usr/local/go/src/runtime/pprof/pprof.go:693 +0x9f
runtime/pprof.writeGoroutine(0x274ce80, 0xc003ec6460, 0x2, 0x3618300, 0xc00501ac60)
/usr/local/go/src/runtime/pprof/pprof.go:682 +0x45
runtime/pprof.(*Profile).WriteTo(0x3622020, 0x274ce80, 0xc003ec6460, 0x2, 0xc003ec6460, 0xc004dcf9d8)
/usr/local/go/src/runtime/pprof/pprof.go:331 +0x3f2
net/http/pprof.handler.ServeHTTP(0xc00628cf11, 0x9, 0x278fa20, 0xc003ec6460, 0xc005020200)
/usr/local/go/src/net/http/pprof/pprof.go:256 +0x385
net/http/pprof.Index(0x278fa20, 0xc003ec6460, 0xc005020200)
@f0ssel
f0ssel / pass-parameters.groovy
Created April 5, 2018 14:29
Build Jenkins job and pass parent's parameters to child job
// In jenkins pipeline
def myparams = currentBuild.rawBuild.getAction(ParametersAction).getAllParameters()
build(job: 'child', parameters: myparams)