Skip to content
Snippets Groups Projects
Commit d0f30e20 authored by juanf's avatar juanf
Browse files

fixing jenkins build after pybis update

parent 42381d61
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -488,7 +488,7 @@ task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip, ...@@ -488,7 +488,7 @@ task clientsAndApis(type: Zip, dependsOn: [dssClientZip, queryApiZip, apiV3Zip,
from ('dist/client/readme.txt') from ('dist/client/readme.txt')
rename { filename -> rename { filename ->
if (filename.startsWith('pybis-')) { if (filename.startsWith('pybis-')) {
def contentOfSetUpFile = zipTree(pybisZip.archivePath).getFiles().findAll {it.path.endsWith('src/python/setup.py') }.iterator().next().text def contentOfSetUpFile = zipTree(pybisZip.archivePath).getFiles().findAll {it.path.endsWith('src/python/setup.cfg') }.iterator().next().text
def pybisVersion = ( contentOfSetUpFile =~ /version.*=.*"(.*)"/)[0][1] def pybisVersion = ( contentOfSetUpFile =~ /version.*=.*"(.*)"/)[0][1]
'pybis-' + pybisVersion + '.zip' 'pybis-' + pybisVersion + '.zip'
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment