-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
16 changed files
with
213 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
JDKW_RELEASE=latest | ||
JDKW_DIST=zulu | ||
JDKW_BUILD=8.38.0.13 | ||
JDKW_VERSION=8.0.212 | ||
JDKW_VERBOSE=true | ||
JDKW_BUILD=17.36.13-ca | ||
JDKW_VERSION=17.0.4 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
pipeline { | ||
agent { | ||
kubernetes { | ||
defaultContainer 'ubuntu' | ||
activeDeadlineSeconds 3600 | ||
idleMinutes 15 | ||
} | ||
} | ||
stages { | ||
stage('Init') { | ||
steps { | ||
checkout scm | ||
script { | ||
def m = (env.GIT_URL =~ /(\/|:)(([^\/]+)\/)?(([^\/]+?)(\.git)?)$/) | ||
if (m) { | ||
org = m.group(3) | ||
repo = m.group(5) | ||
} | ||
} | ||
} | ||
} | ||
stage('Setup build') { | ||
when { not { buildingTag() } } | ||
steps { | ||
script { | ||
target = "verify" | ||
} | ||
} | ||
} | ||
stage('Setup release') { | ||
when { buildingTag(); not { changeRequest() } } | ||
steps { | ||
script { | ||
target = "deploy -P release --settings settings.xml" | ||
} | ||
sh 'gpg --batch --import arpnetworking.key' | ||
} | ||
} | ||
stage('Build') { | ||
steps { | ||
withCredentials([usernamePassword(credentialsId: 'jenkins-dockerhub', usernameVariable: 'DOCKER_USERNAME', passwordVariable: 'DOCKER_PASSWORD'), | ||
usernamePassword(credentialsId: 'jenkins-ossrh', usernameVariable: 'OSSRH_USER', passwordVariable: 'OSSRH_PASS'), | ||
string(credentialsId: 'jenkins-gpg', variable: 'GPG_PASS')]) { | ||
withMaven { | ||
sh "./jdk-wrapper.sh ./mvnw $target -U -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Ddocker.verbose=true" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
post('Analysis') { | ||
always { | ||
recordIssues( | ||
enabledForFailure: true, aggregatingResults: true, | ||
tools: [java(), checkStyle(reportEncoding: 'UTF-8'), spotBugs()]) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#Maven download properties | ||
#Wed Sep 11 15:35:48 PDT 2019 | ||
checksumAlgorithm=SHA1 | ||
#Wed Jan 19 23:16:22 PST 2022 | ||
distributionUrl=https\://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip | ||
verifyDownload=true | ||
distributionUrl=https\://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip | ||
checksumAlgorithm=SHA1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.