elif GIT_BRANCH_NAME.startswith('hotfix/') or options.distribution in ('stable', 'stable-proposed-updates', 'production', 'production-proposed-updates'):
pb_suite='production-proposed-updates'
- cmd = ['toilet', '-E', 'caca', '-t', 'dist: %s' %(pb_suite)]
+ cmd = ['toilet', '-f', 'ascii9', '-t', 'dist: %s' %(pb_suite)]
subprocess.check_call(cmd)
- cmd = ['toilet', '-E', 'caca', '-t', 'version: %s' %(version)]
+ cmd = ['toilet', '-f', 'ascii9', '-t', 'version: %s' %(version)]
subprocess.check_call(cmd)
gbp = git_buildpackage.GitBuildPackage(
else:
logger.debug('value of NO_UPLOAD: %s' % NO_UPLOAD)
except Exception, error:
- cmd = ['toilet', '-E', 'caca', '-t', 'upload to reprepro failed:']
+ cmd = ['toilet', '-f', 'ascii9', '-t', 'upload to reprepro failed:']
subprocess.check_call(cmd)
logger.exception(error)
exit_error()
job_prefix=''
# choose distribution based on branch
- if git_branch_name == 'master' or git_branch_name.startswith('release/') or git_branch_name.startswith('hotfix/'):
+ if git_branch_name == 'master' or git_branch_name.startswith('hotfix/'):
distribution='production-proposed-updates'
elif git_branch_name == 'experimental' or git_branch_name.startswith('feature/') or git_branch_name.startswith('poc/') or git_branch_name.startswith('bugfix/') :
#distribution='dev_'+ git_branch_name.replace("/","_")