Verified Commit 066cff95 authored by Johannes Visintini's avatar Johannes Visintini
Browse files

Jenkinsfile minor fix

parent a4f213cb
......@@ -16,10 +16,10 @@ pipeline {
script {
env.MAVEN_HOME = '/usr/share/maven'
author = sh(returnStdout: true, script: 'git show -s --pretty=%an')
author = sh(returnStdout: true, script: 'git show -s --pretty=%an').trim()
echo author
commiti= sh(returnStdout: true, script: 'git log -1')
commiti= sh(returnStdout: true, script: 'git log -1').trim()
echo commiti
reponame=sh(returnStdout: true, script: 'basename `git remote get-url origin` .git').trim()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment