Polishing.

This commit is contained in:
Greg L. Turnquist
2021-02-26 15:12:56 -06:00
parent 75e0809ab2
commit c574c3d463
2 changed files with 3 additions and 19 deletions

18
Jenkinsfile vendored
View File

@@ -11,22 +11,6 @@ pipeline {
}
stages {
stage('Publish OpenJDK 8 + jq docker image') {
when {
changeset "ci/Dockerfile"
}
agent any
steps {
script {
def image = docker.build("springci/spring-ws-openjdk8-with-jq", "ci/")
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
image.push()
}
}
}
}
stage("Test: baseline (jdk8)") {
agent {
docker {
@@ -199,7 +183,7 @@ pipeline {
}
if (RELEASE_TYPE == 'release') {
sh "PROFILE=distribute,central USERNAME=${SONATYPE_USR} PASSWORD=${SONATYPE_PSW} ci/build-and-deploy-to-maven-central.sh ${PROJECT_VERSION}"
sh "PROFILE=distribute,central ci/build-and-deploy-to-maven-central.sh ${PROJECT_VERSION}"
slackSend(
color: (currentBuild.currentResult == 'SUCCESS') ? 'good' : 'danger',

View File

@@ -6,8 +6,8 @@
<servers>
<server>
<id>sonatype</id>
<username>${env.USERNAME}</username>
<password>${env.PASSWORD}</password>
<username>${env.SONATYPE_USR}</username>
<password>${env.SONATYPE_PSW}</password>
</server>
</servers>