-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove warning for not being able to link scaladoc from marathon project migrated over ci infra from marathon for consistency * fixing flake8 failed tests * play requires 2.4.20 lets go with it * # This is a combination of 10 commits. # This is the 1st commit message: adding jenkins release pipeline # This is the commit message #2: release process for metronome. needs jenkins testing # This is the commit message #3: need protobuf installed and in path to build # This is the commit message #4: tagging is not useful right now # This is the commit message #5: need to be super apparently # This is the commit message #6: unable to get the cached protoc compiler # This is the commit message #7: last attempt. it appears that the shell out that ammonite does loses the path # This is the commit message #8: going around ammonite for now # This is the commit message #9: my aliases do not work on jenkins # This is the commit message #10: crazy unable to build on the node * adding jenkins release pipeline * updated based on pr feedback * scapegoat to be added in on a separate pr * retest
- Loading branch information
Showing
9 changed files
with
282 additions
and
112 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env groovy | ||
|
||
ansiColor('xterm') { | ||
node('JenkinsMarathonCI-Debian8-2017-10-23') { | ||
|
||
properties([ | ||
parameters([ | ||
string(name: 'gitsha', | ||
defaultValue: '', | ||
description: 'Git Commit SHA to Build and Release (ex. 167d7fb86 or 167)' | ||
), | ||
string(name: 'version', | ||
defaultValue: '', | ||
description: 'Community Release Version (ex. v1.5.2). This is a verification of the version.' | ||
)] | ||
) | ||
]) | ||
|
||
stage("Run Pipeline") { | ||
try { | ||
checkout scm | ||
withCredentials([ | ||
usernamePassword(credentialsId: 'a7ac7f84-64ea-4483-8e66-bb204484e58f', passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USER'), | ||
string(credentialsId: '3f0dbb48-de33-431f-b91c-2366d2f0e1cf',variable: 'AWS_ACCESS_KEY_ID'), | ||
string(credentialsId: 'f585ec9a-3c38-4f67-8bdb-79e5d4761937',variable: 'AWS_SECRET_ACCESS_KEY'), | ||
]) { | ||
sshagent (credentials: ['0f7ec9c9-99b2-4797-9ed5-625572d5931d']) { | ||
sh "bin/install-protobuf.sh" | ||
sh """PATH=\$PATH:\$HOME/protobuf/bin ci/pipeline release $params.version $params.gitsha""" | ||
} | ||
} | ||
} finally { | ||
junit(allowEmptyResults: true, testResults: '*/target/test-reports/*.xml') | ||
archive includes: "sandboxes.tar.gz" | ||
archive includes: "ci-${env.BUILD_TAG}.log.tar.gz" | ||
archive includes: "ci-${env.BUILD_TAG}.log" // Only in case the build was aborted and the logs weren't zipped | ||
} | ||
} | ||
} | ||
} |
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
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
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
Oops, something went wrong.