GIS-1621 - Use script prompting to obtain publishing info from user
This commit is contained in:
parent
10f8720581
commit
6b33cd97fd
2 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
gh = load("${autobuilder.commonscripts()}/versioncontrol/git.groovy")
|
||||
def List<String> releases = gh.gettaglist(SOURCEDIR)
|
||||
def releases = gh.gettaglist(SOURCEDIR)
|
||||
release = input(
|
||||
message: 'Please select the software version',
|
||||
ok: 'Ok',
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ String getGitInfo(String workingSetRootPath) {
|
|||
}
|
||||
}
|
||||
|
||||
List<String> gettaglist(String workingSetRootPath) {
|
||||
List<String> taglist = new List<String>()
|
||||
ArrayList<String> gettaglist(String workingSetRootPath) {
|
||||
ArrayList<String> taglist = new ArrayList<String>()
|
||||
dir(workingSetRootPath) {
|
||||
def tagliststring = clh.getCommandOutput('git tag --sort=-version:refname')
|
||||
taglist = tagliststring.split()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue