You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2025/02/13 15:23:56 UTC
(hbase) branch HBASE-29078 created (now 6ba3e38527f)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a change to branch HBASE-29078
in repository https://gitbox.apache.org/repos/asf/hbase.git
at 6ba3e38527f HBASE-29078 Make 'checkout scm' faster in hbase site build jenkins file
This branch includes the following new commits:
new 6ba3e38527f HBASE-29078 Make 'checkout scm' faster in hbase site build jenkins file
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(hbase) 01/01: HBASE-29078 Make 'checkout scm' faster in hbase site build jenkins file
Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch HBASE-29078
in repository https://gitbox.apache.org/repos/asf/hbase.git
commit 6ba3e38527f17a9db0460af292d6de4fa8461408
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Thu Feb 13 23:21:36 2025 +0800
HBASE-29078 Make 'checkout scm' faster in hbase site build jenkins file
---
.../jenkins-scripts/generate-hbase-website.Jenkinsfile | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/dev-support/jenkins-scripts/generate-hbase-website.Jenkinsfile b/dev-support/jenkins-scripts/generate-hbase-website.Jenkinsfile
index c5531296a5f..5b47b78f76a 100644
--- a/dev-support/jenkins-scripts/generate-hbase-website.Jenkinsfile
+++ b/dev-support/jenkins-scripts/generate-hbase-website.Jenkinsfile
@@ -43,7 +43,22 @@ pipeline {
}
steps {
dir('hbase') {
- checkout scm
+ script {
+ checkout([
+ $class: 'GitSCM',
+ branches: [[name: '*/master']], // 指定分支
+ doGenerateSubmoduleConfigurations: false,
+ extensions: [
+ [$class: 'CloneOption',
+ noTags: true,
+ shallow: true,
+ depth: 1
+ ],
+ [$class: 'CheckoutOption', timeout: 20]
+ ],
+ userRemoteConfigs: [[url: 'https://github.com/apache/hbase']]
+ ])
+ }
}
sh '''#!/usr/bin/env bash
set -e