# add deb_package (if not exist)
# add deb_package_instance
# must not add development builds... or maybe?
+ # cidb wise, we only care about builds from master
+ #if GIT_BRANCH_NAME == 'master' or GIT_BRANCH_NAME.startswith('hotfix/'):
def dput_package_upload(changes_path):
try:
# upload (if NO_UPLOAD is not set)
if NO_UPLOAD not in ('true', 'True'):
dput_package_upload(changes_file)
- # cidb wise, we only care about builds from master
- if GIT_BRANCH_NAME == 'master' or GIT_BRANCH_NAME.startswith('hotfix/'):
- add_package_instance("profitbricks", BUILD_JOBNAME, BUILD_NUMBER, changes_file, version)
+ add_package_instance("profitbricks", BUILD_JOBNAME, BUILD_NUMBER, changes_file, version)
else:
logger.debug('value of NO_UPLOAD: %s' % NO_UPLOAD)
logger.info('dist: %s' %(pb_suite))