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
@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)
#!/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/
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
[Pipeline] {
[Pipeline] emailextrecipients
14:43:53 Collecting change authors...
14:43:53 build: 46
14:43:53 testResultAction was null
[Pipeline] emailext
14:43:53 messageContentType = text/html; charset=UTF-8
14:43:53 Adding recipients from project recipient list
14:43:53 Adding recipients from trigger recipient list
14:43:53 Successfully created MimeMessage
Apr 11, 2018 2:54:04 PM INFO jenkins.branch.MultiBranchProject$BranchIndexing run
CAM Multibranch Pipeline #20180411.145400 branch indexing action completed: SUCCESS in 4 sec
Apr 11, 2018 2:56:02 PM INFO jenkins.branch.MultiBranchProject$BranchIndexing run
Audit Multibranch Pipeline #20180411.145600 branch indexing action completed: SUCCESS in 1.7 sec
Apr 11, 2018 2:56:05 PM INFO jenkins.branch.MultiBranchProject$BranchIndexing run
Git plugin
Global Config user.name Value: digana.tibor@sb-sk.local
Global Config user.email Value: digana.tibor@scheidt-bachmann.sk
Create new accounts based on author/committer's email: OK
Extended E-mail Notification
SMTP server: 10.180.1.18
@Tibor17
Tibor17 / gist:d6374d162c2d1d024cd704f5c9b6d51a
Created December 16, 2018 16:09
Working example with ayoy-license-verifier-maven-plugin
<plugin>
<groupId>org.commonjava.maven.plugins</groupId>
<artifactId>directory-maven-plugin</artifactId>
<version>0.3.1</version>
<executions>
<execution>
<id>license-directory</id>
<phase>initialize</phase>
<goals>
<goal>directory-of</goal>
@Tibor17
Tibor17 / gist:2953fe918b023e01a70bb1ec44021012
Created July 4, 2019 14:14
[ARCHETYPE-569] Update to latest version of plexus utils
F:\short\jenkins-maven-box-maven-archetype-ARCHETYPE-569-2@2\j11m3.6.xb>mvn -P+run-its -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false -e clean verify
----- withMaven Wrapper script -----
Picked up JAVA_TOOL_OPTIONS: -Dmaven.ext.class.path="F:\short\jenkins-maven-box-maven-archetype-ARCHETYPE-569-2@2@tmp\withMaven2064be4c\pipeline-maven-spy.jar" -Dorg.jenkinsci.plugins.pipeline.maven.reportsFolder="F:\short\jenkins-maven-box-maven-archetype-ARCHETYPE-569-2@2@tmp\withMaven2064be4c"
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T11:41:47-07:00)
Maven home: F:\jenkins\tools\maven\apache-maven-3.6.0\bin\..
Java version: 11, vendor: Oracle Corporation, runtime: f:\jenkins\tools\java\latest11
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2016", version: "10.0", arch: "amd64", family: "windows"
[INFO] [jenkins-event-spy] Generate F:\short\jenkins-maven-box-maven-archetype-ARCHETYPE-569-2@2@tmp\withMaven2064be4c\maven-spy-20190704-064855-851249434
@Tibor17
Tibor17 / discoveryRequest
Created October 31, 2019 19:53
junit5 debugging
s
@Tibor17
Tibor17 / discoveryRequest.jpg
Last active March 27, 2020 11:30
discoveryRequest.jpg
discoveryRequest.jpg