Correction bug lorsque le projet est privé
This commit is contained in:
parent
d7623132e5
commit
30d1bed8a5
|
@ -8,9 +8,6 @@ def buildPackageWithCPKG(
|
||||||
Boolean publishPackages = true
|
Boolean publishPackages = true
|
||||||
) {
|
) {
|
||||||
|
|
||||||
// Fetch tags from remote
|
|
||||||
sh 'git fetch --tags --force'
|
|
||||||
|
|
||||||
// Retrieve commit tags
|
// Retrieve commit tags
|
||||||
def commitTags = sh(script: 'git describe --exact-match --abbrev=0', returnStdout: true).split(' ')
|
def commitTags = sh(script: 'git describe --exact-match --abbrev=0', returnStdout: true).split(' ')
|
||||||
if (commitTags.length == 0) {
|
if (commitTags.length == 0) {
|
||||||
|
|
Loading…
Reference in New Issue