forked from opensearch-project/opensearch-build-libraries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuildYumRepo_Jenkinsfile.txt
19 lines (19 loc) · 1.21 KB
/
BuildYumRepo_Jenkinsfile.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BuildYumRepo_Jenkinsfile.run()
BuildYumRepo_Jenkinsfile.pipeline(groovy.lang.Closure)
BuildYumRepo_Jenkinsfile.echo(Executing on agent [label:none])
BuildYumRepo_Jenkinsfile.stage(buildYumRepo, groovy.lang.Closure)
BuildYumRepo_Jenkinsfile.script(groovy.lang.Closure)
BuildYumRepo_Jenkinsfile.buildYumRepo({buildManifest=tests/data/opensearch-build-1.3.0.yml, baseUrl=https://ci.opensearch.org/ci/dbc/test/1.3.0/9/linux/x64})
buildYumRepo.legacySCM(groovy.lang.Closure)
buildYumRepo.library({identifier=jenkins@main, retriever=null})
buildYumRepo.readYaml({file=tests/data/opensearch-build-1.3.0.yml})
BuildManifest.asBoolean()
buildYumRepo.echo(Create yum repo metadata and repo file tests/data/opensearch-build-1.3.0.yml)
buildYumRepo.sh(createrepo "rpm/dist/opensearch")
buildYumRepo.writeFile({file=rpm/dist/opensearch/opensearch-1.3.0.staging.repo, text=[opensearch-1.3.0-123-staging]
name=OpenSearch 1.3.0 123 Staging
baseurl=https://ci.opensearch.org/ci/dbc/test/1.3.0/9/linux/x64/rpm/dist/opensearch/
enabled=1
gpgcheck=0
autorefresh=1
type=rpm-md})