diff options
| author | 2016-09-21 12:25:26 +0200 | |
|---|---|---|
| committer | 2016-09-21 12:25:26 +0200 | |
| commit | 4f5c97eaaa40e65274c692662559bd26a7d591f3 (patch) | |
| tree | 23353f86eff0b7c4cb1ce8a96766861f3d3a554e /Jenkinsfile | |
| parent | Comment debug openDeclaration (diff) | |
| download | enigma-4f5c97eaaa40e65274c692662559bd26a7d591f3.tar.gz enigma-4f5c97eaaa40e65274c692662559bd26a7d591f3.tar.xz enigma-4f5c97eaaa40e65274c692662559bd26a7d591f3.zip | |
add Jenkinsfile and new Maven
Diffstat (limited to 'Jenkinsfile')
| -rw-r--r-- | Jenkinsfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 00000000..655deb3f --- /dev/null +++ b/Jenkinsfile | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | node { | ||
| 2 | stage 'Checkout' | ||
| 3 | |||
| 4 | checkout scm | ||
| 5 | |||
| 6 | stage 'Build' | ||
| 7 | |||
| 8 | sh "rm -rf build/libs/" | ||
| 9 | sh "chmod +x gradlew" | ||
| 10 | sh "./gradlew build" | ||
| 11 | |||
| 12 | stage "Archive artifacts" | ||
| 13 | |||
| 14 | sh "./gradlew upload" | ||
| 15 | } | ||