From 75f2e1c5d0efa101936bd33c686451a1961a3865 Mon Sep 17 00:00:00 2001 From: Lars Bilke Date: Mon, 25 Jan 2016 12:37:02 +0100 Subject: [PATCH] Package only on master branch. --- scripts/jenkins/linux.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jenkins/linux.groovy b/scripts/jenkins/linux.groovy index be6e4b31c..3eb708f25 100644 --- a/scripts/jenkins/linux.groovy +++ b/scripts/jenkins/linux.groovy @@ -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 } }