Skip to content

Commit

Permalink
Merge pull request #165 from contiv/master
Browse files Browse the repository at this point in the history
Merge master into release-1.1
  • Loading branch information
dseevr authored Oct 16, 2017
2 parents 33e196d + 6340df9 commit b2e944e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!groovy
pipeline {
agent { label 'public' }
options {
timeout(time: 30, unit: 'MINUTES')
}
stages {
stage('CI') {
steps {
sh '''
set -euo pipefail
make ci
'''
}
}
}
}
1 change: 1 addition & 0 deletions Jenkinsfile-onmerge
24 changes: 24 additions & 0 deletions Jenkinsfile-ontag
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!groovy
pipeline {
agent { label 'public' }
options {
timeout(time: 30, unit: 'MINUTES')
}
stages {
stage('Release') {
steps {
sh '''
set -euo pipefail
export BUILD_VERSION=$(git describe --tags --always)
mkdir -p gopath
export GOPATH="$PWD/gopath"
export PATH="$PWD/gopath/bin:$PATH"
go get github.com/aktau/github-release
./scripts/release.sh
'''
}
}
}
}

0 comments on commit b2e944e

Please sign in to comment.