You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2022/07/05 20:22:34 UTC
[cxf] branch main updated: Updating Jenkins files to use main instead of master
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/main by this push:
new c2a879df66 Updating Jenkins files to use main instead of master
c2a879df66 is described below
commit c2a879df66b70c02e4196ea11861c43fe92ac7c3
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Tue Jul 5 21:22:16 2022 +0100
Updating Jenkins files to use main instead of master
---
Jenkinsfile | 6 +++---
tck/Jenkinsfile | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 135e208955..9cd1a4da6f 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -63,7 +63,7 @@ pipeline {
}
/* stage('Build Source & JavaDoc') {
when {
- branch 'master'
+ branch 'main'
}
steps {
dir("local-snapshots-dir/") {
@@ -74,7 +74,7 @@ pipeline {
}
stage('Deploy Snapshot') {
when {
- branch 'master'
+ branch 'main'
}
steps {
withCredentials([file(credentialsId: 'lukaszlenart-repository-access-token', variable: 'CUSTOM_SETTINGS')]) {
@@ -84,7 +84,7 @@ pipeline {
}
stage('Code Quality') {
when {
- branch 'master'
+ branch 'main'
}
steps {
withCredentials([string(credentialsId: 'asf-cxf-sonarcloud', variable: 'SONARCLOUD_TOKEN')]) {
diff --git a/tck/Jenkinsfile b/tck/Jenkinsfile
index 525098c9f7..05ec0b5b03 100644
--- a/tck/Jenkinsfile
+++ b/tck/Jenkinsfile
@@ -87,7 +87,7 @@ pipeline {
stage('Prepare JAX-RS TCK build configuration') {
steps {
withEnv(["WORKSPACE = ${PWD}"]) {
- sh "wget https://raw.githubusercontent.com/apache/cxf/master/tck/ts.jte.template"
+ sh "wget https://raw.githubusercontent.com/apache/cxf/main/tck/ts.jte.template"
sh "sed -i '" + 's/${version}/' + params.Version + "/g' ts.jte.template"
sh "sed -i '" + 's/${woodstox_version}/' + woodstox_version + "/g' ts.jte.template"
sh "sed -i '" + 's/${staxapi_version}/' + staxapi_version + "/g' ts.jte.template"
@@ -181,4 +181,4 @@ pipeline {
cleanWs()
}
}
-}
\ No newline at end of file
+}