Update Jenkinsfile

This commit is contained in:
Gunnsteinn Hall 2018-11-06 10:29:34 +00:00
parent fa2408db9e
commit b38c378897

3
Jenkinsfile vendored
View File

@ -67,6 +67,9 @@ node {
dir("${GOPATH}/src/github.com/unidoc/unidoc-examples") {
stage('Build examples') {
// Debug.
sh("printenv")
// Pull unidoc-examples from connected branch, or master otherwise.
def examplesBranch = "master"
if (env.BRANCH_NAME.take(2) == "v3") {