Try dir?
This commit is contained in:
parent
837e22685a
commit
949e765c97
1 changed files with 6 additions and 4 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
|
@ -70,10 +70,12 @@ pipeline {
|
|||
script: "git tag --contains --sort=-creatordate | head -n 1"
|
||||
).trim()
|
||||
|
||||
env.PLUGIN_TAG_NAME = sh(
|
||||
returnStdout: true,
|
||||
script: "cd plugin-tts-mimic3 && git tag --contains --sort=-creatordate | head -n 1"
|
||||
).trim()
|
||||
dir('plugin-tts-mimic3') {
|
||||
env.PLUGIN_TAG_NAME = sh(
|
||||
returnStdout: true,
|
||||
script: "git tag --contains --sort=-creatordate | head -n 1"
|
||||
).trim()
|
||||
}
|
||||
}
|
||||
|
||||
echo "Mimic 3 tag: ${env.MIMIC3_TAG_NAME}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue