new_log = 'Generated by jenkins build of %s' % git_helper.git_get_commit_id()
+ if GIT_BRANCH_NAME == 'experimental' or GIT_BRANCH_NAME.startswith('feature/') or GIT_BRANCH_NAME.startswith('poc/') or GIT_BRANCH_NAME.startswith('bugfix/'):
+ changelog_distro ='dev_'+ GIT_BRANCH_NAME.replace("/","_")
+ else:
+ changelog_distro = options.distribution
+
cmd = [
'/usr/bin/dch',
'--newversion',
'%s' %(version),
'--force-bad-version',
'--distribution',
- '%s' %(options.distribution),
+ '%s' %(changelog_distro),
'--preserve',
'--no-auto-nmu',
'--',