-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sayali Gaikawad <[email protected]>
- Loading branch information
Showing
9 changed files
with
56 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
*/ | ||
|
||
lib = library(identifier: '[email protected]', retriever: modernSCM([ | ||
$class: 'GitSCMSource', | ||
remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', | ||
])) | ||
|
||
|
||
pipeline { | ||
agent { label 'Jenkins-Agent-Ubuntu2004-X64-M58xlarge-Single-Host' } | ||
options { | ||
timeout(time: 1, unit: 'HOURS') | ||
buildDiscarder(logRotator(daysToKeepStr: '90')) | ||
} | ||
triggers { | ||
parameterizedCron(''' | ||
H */6 * * * %INPUT_MANIFEST=2.17.2/opensearch-2.17.2.yml | ||
H */6 * * * %INPUT_MANIFEST=2.18.0/opensearch-2.18.0.yml | ||
H */6 * * * %INPUT_MANIFEST=3.0.0/opensearch-3.0.0.yml | ||
''') | ||
} | ||
parameters { | ||
string( | ||
name: 'INPUT_MANIFEST', | ||
description: 'Input manifest under the manifests folder, e.g. 2.0.0/opensearch-2.0.0.yml.', | ||
trim: true | ||
) | ||
} | ||
stages { | ||
stage('Update integ tests failure issues') { | ||
steps { | ||
script { | ||
updateIntegTestFailureIssues( | ||
inputManifestPath: "manifests/${INPUT_MANIFEST}" | ||
) | ||
} | ||
} | ||
} | ||
} | ||
post() { | ||
always { | ||
script { | ||
postCleanup() | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.