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
| apiVersion: v1 | |
| kind: PersistentVolumeClaim | |
| metadata: | |
| # This name uniquely identifies the PVC. Will be used in deployment below. | |
| name: minio-pv-claim | |
| labels: | |
| app: minio-storage-claim | |
| spec: | |
| # Read more about access modes here: http://kubernetes.io/docs/user-guide/persistent-volumes/#access-modes | |
| accessModes: |
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
| import jenkins.model.* | |
| import com.cloudbees.plugins.credentials.* | |
| import com.cloudbees.plugins.credentials.common.* | |
| import com.cloudbees.plugins.credentials.domains.* | |
| import com.cloudbees.plugins.credentials.impl.* | |
| import com.cloudbees.jenkins.plugins.sshcredentials.impl.* | |
| import hudson.plugins.sshslaves.*; | |
| domain = Domain.global() | |
| store = Jenkins.instance.getExtensionList('com.cloudbees.plugins.credentials.SystemCredentialsProvider')[0].getStore() |
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
| import hudson.util.RemotingDiagnostics; | |
| def node = 'node-name' | |
| def command = 'uname -a' | |
| println RemotingDiagnostics.executeGroovy(""" | |
| def p = '$command'.execute() | |
| p.waitFor() | |
| println p.in.text |
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
| @echo off | |
| @rem init script for git pre-hook ( run findbugs ) | |
| @rem writer xxx@xxx.com | |
| @rem check git hook available ( for eclipse ) | |
| set CYG_FILE=cygpath.exe | |
| set HOOK_FILE=".git\hooks\pre-push" | |
| @for %%i in (%CYG_FILE%) do @if NOT "%%~$PATH:i"=="" GOTO WRITE_HOOK | |
NewerOlder