Skip to content

Commit 49a8e59

Browse files
committed
release fix
1 parent 9b839a0 commit 49a8e59

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pipeline {
4343
usernamePassword(credentialsId: 'jenkins-ossrh', usernameVariable: 'OSSRH_USER', passwordVariable: 'OSSRH_PASS'),
4444
string(credentialsId: 'jenkins-gpg', variable: 'GPG_PASS')]) {
4545
withMaven {
46-
sh "./jdk-wrapper.sh ./mvnw $target -P rpm -U -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Ddocker.verbose=true"
46+
sh "./jdk-wrapper.sh ./mvnw $target -U -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Ddocker.verbose=true"
4747
}
4848
}
4949
}
@@ -54,7 +54,6 @@ pipeline {
5454
withCredentials([usernamePassword(credentialsId: 'brandonarp-github-token', usernameVariable: 'GITHUB_USERNAME', passwordVariable: 'GITHUB_TOKEN')]) {
5555
sh "github-release release --user ${org} --repo ${repo} --tag ${TAG_NAME}"
5656
sh "github-release upload --user ${org} --repo ${repo} --tag ${TAG_NAME} --name ${TAG_NAME}.tgz --file target/*.tgz"
57-
sh "github-release upload --user ${org} --repo ${repo} --tag ${TAG_NAME} --name ${TAG_NAME}.rpm --file target/rpm/*/RPMS/*/*.rpm"
5857
}
5958
}
6059
}

0 commit comments

Comments
 (0)