mirror of
https://github.com/corda/corda.git
synced 2024-12-30 01:39:04 +00:00
INFRA-541: Remove obsolete jenkins
prefix from Nexus AppID (#6585)
This commit is contained in:
parent
dbfea9015d
commit
d19c6dddaf
@ -53,7 +53,7 @@ pipeline {
|
|||||||
def version = sh (returnStdout: true, script: "grep ^version: version-properties | sed -e 's/^version: \\([0-9]\\+\\.[0-9]\\+\\).*\$/\\1/'").trim()
|
def version = sh (returnStdout: true, script: "grep ^version: version-properties | sed -e 's/^version: \\([0-9]\\+\\.[0-9]\\+\\).*\$/\\1/'").trim()
|
||||||
def groupId = sh (returnStdout: true, script: "grep ^group: version-properties | sed -e 's/^group: //'").trim()
|
def groupId = sh (returnStdout: true, script: "grep ^group: version-properties | sed -e 's/^group: //'").trim()
|
||||||
def artifactId = 'corda'
|
def artifactId = 'corda'
|
||||||
nexusAppId = "jenkins-${groupId}-${artifactId}-${version}"
|
nexusAppId = "${groupId}-${artifactId}-${version}"
|
||||||
}
|
}
|
||||||
nexusPolicyEvaluation (
|
nexusPolicyEvaluation (
|
||||||
failBuildOnNetworkError: false,
|
failBuildOnNetworkError: false,
|
||||||
|
2
.ci/dev/regression/Jenkinsfile
vendored
2
.ci/dev/regression/Jenkinsfile
vendored
@ -61,7 +61,7 @@ pipeline {
|
|||||||
def version = sh (returnStdout: true, script: "grep ^version: version-properties | sed -e 's/^version: \\([0-9]\\+\\.[0-9]\\+\\).*\$/\\1/'").trim()
|
def version = sh (returnStdout: true, script: "grep ^version: version-properties | sed -e 's/^version: \\([0-9]\\+\\.[0-9]\\+\\).*\$/\\1/'").trim()
|
||||||
def groupId = sh (returnStdout: true, script: "grep ^group: version-properties | sed -e 's/^group: //'").trim()
|
def groupId = sh (returnStdout: true, script: "grep ^group: version-properties | sed -e 's/^group: //'").trim()
|
||||||
def artifactId = 'corda'
|
def artifactId = 'corda'
|
||||||
nexusAppId = "jenkins-${groupId}-${artifactId}-${version}"
|
nexusAppId = "${groupId}-${artifactId}-${version}"
|
||||||
}
|
}
|
||||||
nexusPolicyEvaluation (
|
nexusPolicyEvaluation (
|
||||||
failBuildOnNetworkError: false,
|
failBuildOnNetworkError: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user