Skip to content

Commit 79d14a5

Browse files
committed
Fix missing tags
1 parent 113e62f commit 79d14a5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

vars/mavenCiPipeline.groovy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,10 @@ def call(Closure closure) {
3838
* Clone the repository and make sure that the pom.xml file is structurally valid and has a GAV
3939
*/
4040
stage("Checkout & Initialize Project") {
41-
scm.extensions.add([$class: 'CloneOption', noTags: false, shallow: false, depth: 0, reference: ''])
42-
echo scm.dump()
4341
checkout scm
4442
}
4543

4644
// Get Git Information
47-
sh "git fetch origin --tags"
4845
def gitSha1 = sh(returnStdout: true, script: 'git rev-parse HEAD').trim()
4946
def gitAuthor = env.CHANGE_AUTHOR ? env.CHANGE_AUTHOR : sh(returnStdout: true, script: 'git log -1 --format="%aN" HEAD').trim()
5047
def gitAuthorEmail = env.CHANGE_AUTHOR_EMAIL ? env.CHANGE_AUTHOR_EMAIL : sh(returnStdout: true, script: 'git log -1 --format="%aE" HEAD').trim()

0 commit comments

Comments
 (0)