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