Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| # jenkins | |
| docker run -d -p 8081:8080 \ | |
| -p 50000:50000 \ | |
| --name jenkins \ | |
| -v jenkins-vol:/var/jenkins_home \ | |
| jenkins/jenkins:lts |
This file contains hidden or 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
| pipeline { | |
| agent any | |
| parameters { | |
| string(name: "myStringParam", description: "String Parameter") | |
| choice(choices: ["Choice 1", "Choice 2"], name: "myChoiceParam", description: "Choice Parameter") | |
| booleanParam(defaultValue: false, name: "myBooleanParam", description: "Boolean Parameter") | |
| } | |
| environment { |
This file contains hidden or 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
| -- Get the execution plan for the last command | |
| SELECT * FROM dbms_xplan.display_cursor(); | |
| -- Get the hinted plan for the last command | |
| SELECT * FROM dbms_xplan.display_cursor(format=>'+outline')); |
This file contains hidden or 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
| { | |
| "cSpell.userWords": [ | |
| "awssdk", | |
| "jacoco", | |
| "jasperreports", | |
| "javadocs", | |
| "javax", | |
| "jaxb", | |
| "jdbc", | |
| "lmax", |
This file contains hidden or 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
| #!/usr/bin/bash | |
| properties=$(git diff --cached --name-only | grep -E '.*\.properties') | |
| # make git hook can read user input | |
| exec < /dev/tty | |
| if [[ -n "$properties" ]];then | |
| while IFS= read -r f;do | |
| printf ' - %s\n' "$f" | |
| done <<< "$properties" | |
| echo |
OlderNewer