Changeset View
Changeset View
Standalone View
Standalone View
jobs/templates/incoming-tag.groovy
Show All 29 Lines | stage('Build and upload PyPI package') {{ | ||||
job: '/{name}/pypi-upload', | job: '/{name}/pypi-upload', | ||||
parameters: [ | parameters: [ | ||||
string(name: 'GIT_TAG', value: params.GIT_TAG), | string(name: 'GIT_TAG', value: params.GIT_TAG), | ||||
string(name: 'PYPI_HOST', value: '{incoming-tag-auto-pypi-host}'), | string(name: 'PYPI_HOST', value: '{incoming-tag-auto-pypi-host}'), | ||||
], | ], | ||||
) | ) | ||||
}} | }} | ||||
}} | }} | ||||
stage('Debian packaging for new release') {{ | stage('Update Debian packaging for new release') {{ | ||||
when {{ | when {{ | ||||
expression {{ params.GIT_TAG ==~ /v\d+(.\d+)+/ }} | expression {{ params.GIT_TAG ==~ /v\d+(.\d+)+/ }} | ||||
expression {{ jobExists('/debian/packages/{name}/update-for-release') }} | expression {{ jobExists('/debian/packages/{name}/update-for-release') }} | ||||
}} | }} | ||||
steps {{ | steps {{ | ||||
build( | build( | ||||
job: '/debian/packages/{name}/update-for-release', | job: '/debian/packages/{name}/update-for-release', | ||||
parameters: [ | parameters: [ | ||||
Show All 25 Lines |