This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch enable_0.11_snapshot
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/enable_0.11_snapshot by this
push:
new b7c7ca1 pack rel/0.11 nightly
b7c7ca1 is described below
commit b7c7ca1113b2a7ae2a4ad0d9aa8bf210c51529e7
Author: xiangdong huang <[email protected]>
AuthorDate: Thu Feb 25 21:43:52 2021 +0800
pack rel/0.11 nightly
---
Jenkinsfile | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index c883763..019d4b4 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -78,7 +78,10 @@ pipeline {
stage('Build') {
when {
- branch 'master'
+ anyOf {
+ branch 'master';
+ branch 'rel/0.11'
+ }
}
steps {
echo 'Building'
@@ -115,7 +118,10 @@ pipeline {
stage('Deploy') {
when {
- branch 'master'
+ anyOf {
+ branch 'master';
+ branch 'rel/0.11'
+ }
}
steps {
echo 'Deploying'
@@ -158,7 +164,7 @@ pipeline {
// If this build failed, send an email to the list.
failure {
script {
- if(env.BRANCH_NAME == "master") {
+ if(env.BRANCH_NAME == "master" || env.BRANCH_NAME ==
"rel/0.11" ) {
emailext(
subject: "[BUILD-FAILURE]: Job '${env.JOB_NAME}
[${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
body: """
@@ -175,7 +181,7 @@ Check console output at "<a
href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANC
// If this build didn't fail, but there were failing tests, send an
email to the list.
unstable {
script {
- if(env.BRANCH_NAME == "master") {
+ if(env.BRANCH_NAME == "master" || env.BRANCH_NAME ==
"rel/0.11" ) {
emailext(
subject: "[BUILD-UNSTABLE]: Job '${env.JOB_NAME}
[${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
body: """
@@ -192,7 +198,7 @@ Check console output at "<a
href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANC
// Send an email, if the last build was not successful and this one is.
success {
script {
- if ((env.BRANCH_NAME == "master") &&
(currentBuild.previousBuild != null) && (currentBuild.previousBuild.result !=
'SUCCESS')) {
+ if ((env.BRANCH_NAME == "master" || env.BRANCH_NAME ==
"rel/0.11") && (currentBuild.previousBuild != null) &&
(currentBuild.previousBuild.result != 'SUCCESS')) {
emailext (
subject: "[BUILD-STABLE]: Job '${env.JOB_NAME}
[${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
body: """