forked from elastic/apm-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add jenkins release wrapper (elastic#1075)
- Loading branch information
1 parent
0250e8d
commit a8a5438
Showing
2 changed files
with
16 additions
and
0 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,15 @@ | ||
#!/usr/bin/env bash | ||
set -euox pipefail | ||
|
||
source ./_beats/dev-tools/common.bash && jenkins_setup | ||
|
||
cleanup() { | ||
rm -rf $TEMP_PYTHON_ENV | ||
} | ||
trap cleanup EXIT | ||
|
||
# Run the deploy script with the appropriate version in the environment. | ||
cd ${WORKSPACE}/src/github.com/elastic/apm-server | ||
make SNAPSHOT=yes clean update package | ||
|
||
ln -s ${WORKSPACE}/src/github.com/elastic/apm-server/build/upload ${WORKSPACE}/src/github.com/elastic/apm-server/build/distributions |
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