This repository was archived by the owner on Mar 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 66 env.MAVEN_HOME="${mvnHome}"
77 env.PATH="${env.JAVA_HOME}/bin:${env.MAVEN_HOME}/bin:${env.PATH}"
88 }
9+ stage('Checkout SCM') {
10+ checkout scm
11+ }
912 stage('Set Version to $VERSION') {
10- sh 'ls -al'
1113 dir('webtester-build-tools') {
12- sh 'ls -al'
1314 sh 'mvn versions:set versions:commit -DnewVersion=$VERSION'
1415 }
1516 sh 'mvn versions:set versions:commit -DnewVersion=$VERSION'
1617 }
1718 stage('Build & Deploy to Sonatype OSS') {
1819 withCredentials([string(credentialsId: 'webtester-gpg-passphrase', variable: 'GPG_PASSPHRASE')]) {
19- sh 'ls -al'
2020 def skipTests = "-DskipUnitTests=true -DskipIntegrationTests=true"
2121 def gpgPassphrase = "-Dgpg.passphrase=$GPG_PASSPHRASE"
2222 def profiles = "-P documentation,release,maven-central"
Original file line number Diff line number Diff line change 66 env.MAVEN_HOME="${mvnHome}"
77 env.PATH="${env.JAVA_HOME}/bin:${env.MAVEN_HOME}/bin:${env.PATH}"
88 }
9+ stage('Checkout SCM') {
10+ checkout scm
11+ }
912 stage('Build & Deploy to Sonatype OSS') {
10- sh 'ls -al'
1113 def skipTests = "-DskipUnitTests=true -DskipIntegrationTests=true"
1214 def targetRepository = "-DaltDeploymentRepository=ossrh::default::https://oss.sonatype.org/content/repositories/snapshots"
1315 def profiles = "-P documentation"
You can’t perform that action at this time.
0 commit comments