w: show who is logged on and what they are doingwho: show who is logged ontty: show current users pseudo terminalps -ft pts/1: get process id for the pseudo terminalpkill: signal process based on name and other attributes
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
| # Testing process to expand k8s PVCs without losing data | |
| #region Install | |
| # Check the current cluster | |
| kubectl config current-context | |
| # Add bitnami repo | |
| helm repo list | |
| helm repo add bitnami https://charts.bitnami.com/bitnami |
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
| node { | |
| stage('Test') { | |
| //... test execution steps | |
| } | |
| stage('Build report'){ | |
| allure includeProperties: false, jdk: '', results: [[path: 'target/allure-results']] | |
| } | |
| stage('Send Summary'){ | |
| emailext body: '''${SCRIPT, template="allure-report.groovy"}''', | |
| subject: "[Jenkins] Test Execution Summary", |
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
| # New repository | |
| mkdir <repo> && cd <repo> | |
| git init | |
| git remote add –f <name> <url> | |
| git config core.sparsecheckout true | |
| echo some/dir/ >> .git/info/sparse-checkout | |
| echo another/sub/tree >> .git/info/sparse-checkout | |
| git pull <remote> <branch> | |
| # Existing repository |