typo
This commit is contained in:
parent
66bc9782ce
commit
4574485e15
@ -24,7 +24,7 @@ Map call(Map config = [:]) {
|
||||
def defaults = [
|
||||
nexusBase: 'https://repo.thejimnicholson.com',
|
||||
searchAPI: 'service/rest/v1/search',
|
||||
build_flag: BuildNumFlags.IS_FROM_QUERY,
|
||||
buildFlag: BuildNumFlags.IS_FROM_QUERY,
|
||||
queryParams: [
|
||||
repository: 'tools',
|
||||
sort: 'name',
|
||||
@ -50,7 +50,7 @@ Map call(Map config = [:]) {
|
||||
version = matches[1]
|
||||
query_build = matches[2]
|
||||
}
|
||||
switch (build_flag) {
|
||||
switch (runConfig.buildFlag) {
|
||||
case BuildNumFlags.IS_COMMITS_SINCE_TAG:
|
||||
build = sh(
|
||||
script: 'git rev-list $(git tag | tail -1).. --count',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user