From 18f0e218f23bcf1e8a56684289210face52f1307 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Wed, 4 May 2022 16:12:43 -0400 Subject: [PATCH] Try something else --- Jenkinsfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 11df052..e5dc6d5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -62,11 +62,9 @@ pipeline { git branch: 'master', credentialsId: 'devops-mycroft', url: 'https://github.com/mycroftAI/plugin-tts-mimic3' - - script { - env.PLUGIN_TAG_NAME = sh(returnStdout: true, script: "git tag --sort=-creatordate | head -n 1").trim() - } } + + env.PLUGIN_TAG_NAME = sh(returnStdout: true, script: "cd plugin-tts-mimic3 && git tag --sort=-creatordate | head -n 1").trim() } }