- Get the
url
of the distribution archive for the new release - Get the
url
of the blog post about the new release
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
corporateProject(name: 'myproject') |
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
#!/usr/bin/env groovy | |
pipeline { | |
agent any | |
options { | |
// Basic options | |
timestamps() | |
disableConcurrentBuilds() | |
buildDiscarder(logRotator(numToKeepStr: '4')) | |
} |
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
#!/usr/bin/env bash | |
set -e | |
listSwarms() { | |
ls ~/.horde | |
} | |
initSwarm() { | |
mkdir -p ~/.horde/$1 |
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
node { | |
repositoryAccess = 'https://' | |
repositoryAccessSeparator = '/' | |
echo "repository host: ${repositoryHost}" // github.com | |
echo "repository path: ${repositoryPath}" // <user>/<repository>.git | |
echo "repository jenkins credentials id: ${credentialsId}" // jenkins credentials for the jenkins git account who have commit access | |
echo "repository branch: ${branch}" // master or another branch | |
echo "repository commiter username: ${repositoryCommiterUsername}" // Jenkins account email | |
echo "repository commiter name: ${repositoryCommiterEmail}" // Jenkins |
- Get the
url
of the distribution archive for the new release - Get the
sha256
of this archive (likeshasum -a 256 {archive}
)
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
# untrack all files and folders | |
/* | |
# Except the jenkins configuration | |
!/config.xml | |
# Except the jenkins plugin configurations | |
!/hudson*.xml | |
# Except this file |
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
module substring | |
augment java.lang.String { | |
function substring = |this, separator| { | |
return this: substring(0, this: indexOf(separator) + separator: length()) | |
} | |
} | |
function main = |args| { | |
println("abcdefgh": substring(0, 5)) // abcde |
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
all: testAndCover | |
testAndCover: | |
@go test -coverprofile=cover.out . | |
@go tool cover -html=cover.out |
I hereby claim:
- I am rlespinasse on github.
- I am rlespinasse (https://keybase.io/rlespinasse) on keybase.
- I have a public key whose fingerprint is 871E 61C6 7483 438C B38F C050 9753 B4DB 701F 1EE9
To claim this, I am signing this object: