forked from opensearch-project/opensearch-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathArchiveAssembleUpload_Jenkinsfile.txt
50 lines (50 loc) · 5.43 KB
/
ArchiveAssembleUpload_Jenkinsfile.txt
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
48
49
50
ArchiveAssembleUpload_Jenkinsfile.run()
ArchiveAssembleUpload_Jenkinsfile.pipeline(groovy.lang.Closure)
ArchiveAssembleUpload_Jenkinsfile.echo(Executing on agent [label:none])
ArchiveAssembleUpload_Jenkinsfile.stage(assemble from archive, groovy.lang.Closure)
ArchiveAssembleUpload_Jenkinsfile.script(groovy.lang.Closure)
ArchiveAssembleUpload_Jenkinsfile.archiveAssembleUpload({inputManifest=tests/jenkins/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar})
archiveAssembleUpload.legacySCM(groovy.lang.Closure)
archiveAssembleUpload.library({identifier=jenkins@20211123, retriever=null})
archiveAssembleUpload.readYaml({file=tests/jenkins/data/opensearch-1.3.0.yml})
InputManifest.asBoolean()
archiveAssembleUpload.echo(Unstashing test-stash-tar before starting the assemble process)
archiveAssembleUpload.unstash(test-stash-tar)
archiveAssembleUpload.echo(Assembling tests/jenkins/data/opensearch-1.3.0.yml)
archiveAssembleUpload.readYaml({file=tar/builds/opensearch/manifest.yml})
BuildManifest.asBoolean()
archiveAssembleUpload.assembleUpload({inputManifest=tests/jenkins/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar, buildManifest=tar/builds/opensearch/manifest.yml})
assembleUpload.legacySCM(groovy.lang.Closure)
assembleUpload.library({identifier=jenkins@20211123, retriever=null})
assembleUpload.assembleManifest({inputManifest=tests/jenkins/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar, buildManifest=tar/builds/opensearch/manifest.yml})
assembleManifest.legacySCM(groovy.lang.Closure)
assembleManifest.library({identifier=jenkins@20211123, retriever=null})
assembleManifest.readYaml({file=tar/builds/opensearch/manifest.yml})
BuildManifest.asBoolean()
BuildManifest.getArtifactRootUrlWithoutDistribution(https://ci.opensearch.org/dbc, vars-build, 33)
assembleManifest.sh(./assemble.sh "tar/builds/opensearch/manifest.yml" --base-url https://ci.opensearch.org/dbc/vars-build/1.3.0/33/linux/x64)
assembleUpload.uploadArtifacts({inputManifest=tests/jenkins/data/opensearch-1.3.0.yml, platform=linux, architecture=x64, distribution=tar, stashName=test-stash-tar, buildManifest=tar/builds/opensearch/manifest.yml})
uploadArtifacts.legacySCM(groovy.lang.Closure)
uploadArtifacts.library({identifier=jenkins@20211123, retriever=null})
uploadArtifacts.readYaml({file=tar/builds/opensearch/manifest.yml})
BuildManifest.asBoolean()
BuildManifest.getMinArtifact()
BuildManifest.getArtifactRoot(vars-build, 33)
uploadArtifacts.echo(Uploading to s3://artifact-bucket/vars-build/1.3.0/33/linux/x64/tar)
uploadArtifacts.uploadToS3({sourcePath=tar/builds, bucket=artifact-bucket, path=vars-build/1.3.0/33/linux/x64/tar/builds})
uploadToS3.withAWS({role=opensearch-bundle, roleAccount=account, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure)
uploadToS3.s3Upload({file=tar/builds, bucket=artifact-bucket, path=vars-build/1.3.0/33/linux/x64/tar/builds})
uploadArtifacts.uploadToS3({sourcePath=tar/dist, bucket=artifact-bucket, path=vars-build/1.3.0/33/linux/x64/tar/dist})
uploadToS3.withAWS({role=opensearch-bundle, roleAccount=account, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure)
uploadToS3.s3Upload({file=tar/dist, bucket=artifact-bucket, path=vars-build/1.3.0/33/linux/x64/tar/dist})
uploadArtifacts.echo(Uploading to s3://bucket/vars-build/1.3.0/33/linux/x64/tar)
uploadArtifacts.withAWS({role=role, roleAccount=dummy, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure)
uploadArtifacts.s3Upload({file=tar/builds/opensearch/dist/opensearch-min-1.3.0-linux-x64.tar.gz, bucket=bucket, path=release-candidates/core/opensearch/1.3.0/})
uploadArtifacts.s3Upload({file=tar/dist/opensearch/opensearch-1.3.0-linux-x64.tar.gz, bucket=bucket, path=release-candidates/bundle/opensearch/1.3.0/})
BuildManifest.getArtifactRootUrl(https://ci.opensearch.org/dbc, vars-build, 33)
Messages.asBoolean()
Messages.add(stage, https://ci.opensearch.org/dbc/vars-build/1.3.0/33/linux/x64/tar/builds/opensearch/manifest.yml
https://ci.opensearch.org/dbc/vars-build/1.3.0/33/linux/x64/tar/dist/opensearch/manifest.yml)
uploadArtifacts.writeFile({file=messages/stage.msg, text=https://ci.opensearch.org/dbc/vars-build/1.3.0/33/linux/x64/tar/builds/opensearch/manifest.yml
https://ci.opensearch.org/dbc/vars-build/1.3.0/33/linux/x64/tar/dist/opensearch/manifest.yml})
uploadArtifacts.stash({includes=messages/*, name=messages-stage})