Thank you for your reply.
I did try what you had suggested, but it did not work. But i could be doing
something wrong as well.
Here is my step.
pipeline {
agent any
stages {
stage('Checkout') {
steps {
script {
git(url: 'ssh://my.git', branch: 'testing', changel
Hi,
I have the following steps in my jenkinsfile that work pretty well with
$GIT_VER=some number in the following step only.
stage('Git Checkout') {
steps {
git(url: 'ssh://mygit/my.git', branch: 'develop')
sh '''export GIT_VER=$(git tag -l [0-9].* --points-at
origin/de