You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2025/06/23 07:32:20 UTC
(camel-quarkus) branch main updated: Remove SNAPSHOT builds for camel-main & quarkus-main branches
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 9893cea0dd Remove SNAPSHOT builds for camel-main & quarkus-main branches
9893cea0dd is described below
commit 9893cea0dda35a8e70612f61ac9c20c3c681bf4e
Author: James Netherton <ja...@gmail.com>
AuthorDate: Fri Jun 20 11:26:50 2025 +0100
Remove SNAPSHOT builds for camel-main & quarkus-main branches
---
Jenkinsfile | 29 -----------------------------
1 file changed, 29 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index bb592dcf5e..8bbabc4961 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,15 +17,6 @@
def AGENT_LABEL = env.AGENT_LABEL ?: 'ubuntu'
def JDK_NAME = env.JDK_NAME ?: 'jdk_17_latest'
def MAVEN_PARAMS = '-B -e -ntp'
-def VERSION_SUFFIX = "-${env.BRANCH_NAME.toUpperCase().replace('_','-')}-SNAPSHOT"
-
-if (env.BRANCH_NAME == 'camel-main') {
- MAVEN_PARAMS += ' -Papache-snapshots'
-}
-
-if (env.BRANCH_NAME == 'quarkus-main') {
- MAVEN_PARAMS += ' -Dforbiddenapis.skip=true'
-}
pipeline {
@@ -45,26 +36,6 @@ pipeline {
}
stages {
- stage('Set version') {
- when {
- expression { env.BRANCH_NAME ==~ /(.*-main)/ }
- }
-
- steps {
- script {
- if (env.BRANCH_NAME == "quarkus-main") {
- sh 'rm -rf /tmp/quarkus'
- sh "git clone --depth 1 --branch main https://github.com/quarkusio/quarkus.git /tmp/quarkus"
- sh "./mvnw ${MAVEN_PARAMS} -Dquickly clean install -f /tmp/quarkus/pom.xml"
- }
-
- def VERSION = sh script: "./mvnw ${MAVEN_PARAMS} help:evaluate -Dexpression=project.version -q -DforceStdout", returnStdout: true
- def NEW_SNAPSHOT_VERSION = VERSION.replace('-SNAPSHOT', '') + VERSION_SUFFIX
- sh "sed -i \"s/${VERSION}/${NEW_SNAPSHOT_VERSION}/g\" \$(find . -name pom.xml)"
- }
- }
- }
-
stage('Deploy') {
environment {
MAVEN_OPTS = "-Xmx4600m"