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
#!/bin/bash | |
# High-performance, native SSH implementation for Jenkins SSH slaves. Jenkins' | |
# standard turn-key SSH slave implementation uses an embedded, "pure Java" | |
# implementation of SSH (https://github.com/jenkinsci/trilead-ssh2). | |
# That standard implementation combines all of the convenience of a pure Java | |
# implementation with all of the "performance" of a pure Java implementation :P | |
# If your distributed build process generates large build artifacts like ISOs, | |
# VM images, Vagrant boxes, etc, then you will see a substantial benefit from |
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
Param( | |
[Parameter(Mandatory=$true, Position=1)] | |
[string]$SvnFolderPath, | |
[Parameter(Mandatory=$true, Position=2)] | |
[string]$TargetFolder, | |
[Parameter(Mandatory=$true, Position=3)] | |
[string]$GitUrl | |
) | |
git svn clone --stdlayout --no-metadata -A users.txt $SvnFolderPath "$TargetFolder-tmp" |