Try script
This commit is contained in:
parent
fa97c7087e
commit
42cb75bc83
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
|
@ -62,10 +62,10 @@ pipeline {
|
||||||
git branch: 'master',
|
git branch: 'master',
|
||||||
credentialsId: 'devops-mycroft',
|
credentialsId: 'devops-mycroft',
|
||||||
url: 'https://github.com/mycroftAI/plugin-tts-mimic3'
|
url: 'https://github.com/mycroftAI/plugin-tts-mimic3'
|
||||||
}
|
|
||||||
|
|
||||||
dir('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: "git tag --sort=-creatordate | head -n 1").trim()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue