mirror of
https://github.com/corda/corda.git
synced 2025-06-12 04:08:26 +00:00
Merge pull request #7182 from corda/wz/merge-os-44-45-2022-05-24
NOTICK: Merging forward updates from OS 4.4 to OS 4.5
This commit is contained in:
67
.ci/dev/regression/Jenkinsfile
vendored
67
.ci/dev/regression/Jenkinsfile
vendored
@ -121,6 +121,73 @@ pipeline {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('Generate Wiki Report') {
|
||||||
|
when {
|
||||||
|
expression { isReleaseTag && !isInternalRelease && !isReleaseCandidate && !isReleasePatch }
|
||||||
|
beforeAgent true
|
||||||
|
}
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'nexusiq-sonatype-cli:latest'
|
||||||
|
reuseNode true
|
||||||
|
registryUrl 'https://engineering-docker.software.r3.com/'
|
||||||
|
registryCredentialsId 'artifactory-credentials'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
options {
|
||||||
|
retry(3)
|
||||||
|
}
|
||||||
|
environment {
|
||||||
|
NEXUS_APP_ID="${nexusAppId}"
|
||||||
|
NEXUS_APP_STAGE="${params.nexusIqStage}"
|
||||||
|
NEXUSIQ_CREDENTIALS = credentials('jenkins-nexusiq-credentials')
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh '''
|
||||||
|
rm -f wiki-report.md
|
||||||
|
env NEXUSIQ_USERNAME="${NEXUSIQ_CREDENTIALS_USR}" \
|
||||||
|
NEXUSIQ_PASSWORD="${NEXUSIQ_CREDENTIALS_PSW}" \
|
||||||
|
/opt/app/wrapper wiki-report \
|
||||||
|
--app "${NEXUS_APP_ID}" \
|
||||||
|
--stage "${NEXUS_APP_STAGE}" >wiki-report.md
|
||||||
|
'''.stripIndent()
|
||||||
|
archiveArtifacts 'wiki-report.md'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Generate Licence Report') {
|
||||||
|
when {
|
||||||
|
expression { isReleaseTag && !isInternalRelease && !isReleaseCandidate && !isReleasePatch }
|
||||||
|
beforeAgent true
|
||||||
|
}
|
||||||
|
agent {
|
||||||
|
docker {
|
||||||
|
image 'nexusiq-licence-report:latest'
|
||||||
|
reuseNode true
|
||||||
|
registryUrl 'https://engineering-docker.software.r3.com/'
|
||||||
|
registryCredentialsId 'artifactory-credentials'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
options {
|
||||||
|
retry(3)
|
||||||
|
}
|
||||||
|
environment {
|
||||||
|
NEXUS_APP_ID="${nexusAppId}"
|
||||||
|
NEXUS_APP_STAGE="${params.nexusIqStage}"
|
||||||
|
NEXUSIQ_CREDENTIALS = credentials('jenkins-nexusiq-credentials')
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh '''\
|
||||||
|
rm -rf report
|
||||||
|
env NEXUSIQ_USERNAME="${NEXUSIQ_CREDENTIALS_USR}" \
|
||||||
|
NEXUSIQ_PASSWORD="${NEXUSIQ_CREDENTIALS_PSW}" \
|
||||||
|
/opt/app/wrapper --write --outdir report \
|
||||||
|
--force \
|
||||||
|
--app "${NEXUS_APP_ID}" \
|
||||||
|
--stage "${NEXUS_APP_STAGE}"
|
||||||
|
'''.stripIndent()
|
||||||
|
archiveArtifacts 'report/*.md'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('All Tests') {
|
stage('All Tests') {
|
||||||
when {
|
when {
|
||||||
|
Reference in New Issue
Block a user