Skip to content

Commit

Permalink
Package only on master branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
bilke committed Jan 25, 2016
1 parent 4982dfe commit 75f2e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/jenkins/linux.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def runLinux() {
def buildDir = 'build_' + configName
buildTasks[configName] = {
build buildDir, '-DOGS_' + configName + '=ON ' + cmakeOptions, target
if(artifacts)
if(artifacts && env.BRANCH_NAME == 'master')
archive buildDir + '/' + artifacts
}
}
Expand Down

0 comments on commit 75f2e1c

Please sign in to comment.