1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

Fix descriptor default name

This commit is contained in:
Sven Merk 2019-03-25 14:01:49 +01:00
parent cbc81acaa5
commit b305039f27

View File

@ -88,7 +88,7 @@ def getPipGAV(file = 'setup.py') {
return result
}
def getGoGAV(file = './glide.yaml') {
def getGoGAV(file = './Gopkg.toml') {
def descriptor = readYaml(file: file)
def path = file.substring(0, file.lastIndexOf('/') + 1)
def module = path?.replaceAll(/\./, '')?.replaceAll('/', '')