forked from opensearch-project/opensearch-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuildInfoYaml_Jenkinsfile
47 lines (46 loc) · 1.71 KB
/
BuildInfoYaml_Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
* 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.
*/
pipeline {
agent none
stages {
stage('Initialize the buildInfoYaml report') {
steps {
script {
buildInfoYaml(
componentName: "",
inputManifest: "tests/jenkins/data/opensearch-2.2.0.yml",
outputFile: "tests/jenkins/data/buildInfo.yml",
status: "NOT_STARTED",
stage: "INITIALIZE_STAGE"
)
buildInfoYaml(
componentName: "",
inputManifest: "tests/jenkins/data/buildInfo.yml",
outputFile: "tests/jenkins/data/buildInfo.yml",
status: "SUCCESS",
stage: "x64_tar"
)
buildInfoYaml(
componentName: "",
inputManifest: "tests/jenkins/data/buildInfo.yml",
outputFile: "tests/jenkins/data/buildInfo.yml",
status: "6",
stage: "integ_test_x64"
)
buildInfoYaml(
componentName: "",
inputManifest: "tests/jenkins/data/buildInfo.yml",
outputFile: "tests/jenkins/data/buildInfo.yml",
status: "SUCCESS",
stage: "FINALIZE_STAGE"
)
}
}
}
}
}