Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit d380a4a

Browse files
committed
fixed build scripts
1 parent b5e5233 commit d380a4a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

build-release.jenkins

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ node {
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"

build-snapshot.jenkins

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ node {
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"

0 commit comments

Comments
 (0)