java -jar jenkins-cli.jar ... help create-group
java -jar jenkins-cli.jar create-group CONTAINER GROUP
Creates a groups
CONTAINER : root | path/to/job-or-folder | path/to/folder/view-name |
slave-name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!groovy | |
docker.image('cloudbees/java-build-tools:0.0.6').inside { | |
checkout scm | |
def mavenSettingsFile = "${pwd()}/.m2/settings.xml" | |
stage 'Build' | |
wrap([$class: 'ConfigFileBuildWrapper', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker.withRegistry('', 'dockerhub-credentials-cleclerc') { | |
writeFile file: "${pwd()}/.m2/settings.xml", text: "<settings><localRepository>${pwd()}/.m2/repo</localRepository></settings>" | |
stage 'Build Web App' | |
docker.image('cloudbees/java-build-tools:0.0.5').inside { | |
git 'https://github.com/cyrille-leclerc/game-of-life.git' | |
sh "mvn -B -V -s ${pwd()}/.m2/settings.xml clean package" | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
file-system-maven-settings | |
--> | |
<!-- | |
| This is the configuration file for Maven. It can be specified at two levels: | |
| | |
| 1. User Level. This settings.xml file provides configuration for a single user, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metric": "traces_service_graph_request_client_seconds_bucket", | |
"drop_labels": [ | |
"__metrics_gen_instance" | |
], | |
"aggregations": [ | |
"sum:counter" | |
] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!groovy | |
docker.image('cloudbees/java-build-tools:0.0.6').inside { | |
checkout([$class: 'GitSCM', | |
branches: [[name: '*/master']], | |
extensions: [ | |
/* [$class: 'UserIdentity', email: 'cleclerc@cloudbees.com', name: 'Jenkins as a Service'], */ | |
[$class: 'WipeWorkspace'], | |
[$class: 'LocalBranch', localBranch: 'master']], | |
userRemoteConfigs: [[credentialsId: 'github-credentials', url: 'https://github.com/cyrille-leclerc/my-spring-boot-app.git']]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew tap grafana/grafana | |
==> Tapping grafana/grafana | |
Cloning into '/opt/homebrew/Library/Taps/grafana/homebrew-grafana'... | |
remote: Enumerating objects: 269, done. | |
remote: Counting objects: 100% (49/49), done. | |
remote: Compressing objects: 100% (26/26), done. | |
remote: Total 269 (delta 37), reused 23 (delta 23), pack-reused 220 | |
Receiving objects: 100% (269/269), 64.21 KiB | 2.92 MiB/s, done. | |
Resolving deltas: 100% (148/148), done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
otelcol.receiver.otlp "default" { | |
grpc { | |
endpoint = "0.0.0.0:4317" | |
} | |
output { | |
metrics = [otelcol.processor.batch.default.input] | |
logs = [otelcol.processor.batch.default.input] | |
traces = [otelcol.processor.batch.default.input] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"traces": [ | |
{ | |
"traceID": "111f5594ff52b1f917f4deca8e38243a", | |
"rootServiceName": "frontend", | |
"rootTraceName": "GET /api/products/{id}", | |
"startTimeUnixNano": "1680118368360666000", | |
"durationMs": 1, | |
"spanSet": { | |
"spans": [ |
NewerOlder