[CI] Disable running ES Snapshots pipelines in Jenkins for everything above 6.8 (#111554)

This commit is contained in:
Brian Seeders 2021-09-08 14:47:08 -04:00 committed by GitHub
parent 7971283bbe
commit 3e1e90fd47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,7 @@
#!/bin/groovy #!/bin/groovy
if (!params.branches_yaml) { // Only run this pipeline for 6.8. Higher branches are now running in Buildkite.
error "'branches_yaml' parameter must be specified" def branches = ['6.8']
}
def branches = readYaml text: params.branches_yaml
branches.each { branch -> branches.each { branch ->
build( build(