Skip to content

Commit

Permalink
Merge branch 'master' into gdoci-SNOW-928922-spans-mixed-tables-flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-xhuang committed Dec 12, 2023
2 parents fd77bb1 + 72c4004 commit 9b53126
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
pipeline {
agent { label 'parallelizable-c7' }
options { timestamps() }
environment {
ingest_sdk_dir = "${WORKSPACE}/snowflake-ingest-java"
ingest_sdk_tag = sh(returnStdout: true, script: "cd $ingest_sdk_dir && git describe --tags").trim()

}
stages {
stage('TriggerJobs') {
steps {
script {
def valid_db_name_tag = ingest_sdk_tag.split('\\.').join('_')
def deployments = [
"qa3": {
build job: "SFPerf-Other-Jobs/TPCDS_BDEC_Setup",
parameters: [
string(name: 'ingest_sdk_github_branch', value: ingest_sdk_tag),
string(name: 'database', value: "STREAMING_INGEST_BENCHMARK_DB_${valid_db_name_tag}"),
string(name: 'deployment', value: 'qa3.us-west-2.aws'),
string(name: 'tpcds_scale_factor', value: 'sf1000')
],
propagate: true
},
"preprod12": {
build job: "SFPerf-Other-Jobs/TPCDS_BDEC_Setup",
parameters: [
string(name: 'ingest_sdk_github_branch', value: ingest_sdk_tag),
string(name: 'database', value: "STREAMING_INGEST_BENCHMARK_DB_${valid_db_name_tag}"),
string(name: 'deployment', value: 'preprod12.us-west-2.aws'),
string(name: 'tpcds_scale_factor', value: 'sf1000')
],
propagate: true
}
]

parallel deployments
}
}
}
}
}

0 comments on commit 9b53126

Please sign in to comment.