Skip to content

Instantly share code, notes, and snippets.

View Tibor17's full-sized avatar

Tibor Digana Tibor17

  • IT architect in a commercial bank
View GitHub Profile
Branch indexing
> git rev-parse --is-inside-work-tree # timeout=10
Setting origin to http://git.ads.local/phfa-entervonextgen/audit
> git config remote.origin.url http://git.ads.local/phfa-entervonextgen/audit # timeout=10
Fetching origin...
Fetching upstream changes from origin
> git --version # timeout=10
using GIT_ASKPASS to set credentials git private new rsa
> git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/*
Seen branch in repository origin/master
#!/usr/bin/env groovy
class Constants {
static final MAVEN_LOCAL_REPO_DIR = 'repository'
static final WORKSPACE_DIR = 'build'
}
/**
* https://jenkins.io/doc/book/pipeline-as-code/
* http://javadoc.jenkins.io/plugin/workflow-basic-steps/
@Tibor17
Tibor17 / Jenkins threadDump
Created November 27, 2017 19:10
Jenkins threadDump
Thread Dump
DestroyJavaVM
"DestroyJavaVM" Id=22 Group=main RUNNABLE
FilePath.localPool [#5]
"FilePath.localPool [#5]" Id=625 Group=main RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:454)