Skip to content

Commit

Permalink
more test
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon committed Oct 31, 2024
1 parent 19eca43 commit 521b688
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vars/uploadMinSnapshotsToS3.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void call(Map args = [:]) {
String productName = inputManifest.build.getFilename()
String version_plain = inputManifest.build.version
String qualifier = inputManifest.build.qualifier ? '-' + inputManifest.build.qualifier : ''
String revision = version_plain + qualifier
String revision = version_plain + qualifier + '-SNAPSHOT'
def buildManifestYamlOnly = readYaml(file: "$WORKSPACE/${distribution_arg}/builds/${productName}/manifest.yml")
echo("Retreving build manifest from: $WORKSPACE/${distribution_arg}/builds/${productName}/manifest.yml")

Expand Down Expand Up @@ -65,7 +65,7 @@ void call(Map args = [:]) {
action(argsMap)
}

echo("Start copying files: version-${version} architecture-${architecture} platform-${platform} buildid-${id} distribution-${distribution} extension-${extension}")
echo("Start copying files: version-${version} revision-${} architecture-${architecture} platform-${platform} buildid-${id} distribution-${distribution} extension-${extension}")

String sedCmd = "sed"
if (platform == "darwin") {
Expand Down Expand Up @@ -96,8 +96,8 @@ void call(Map args = [:]) {
for (String pluginSubPath : corePluginList) {
String pluginSubFolder = pluginSubPath.split('/')[0]
String pluginNameWithExt = pluginSubPath.split('/')[1]
String pluginName = pluginNameWithExt.replace('-' + revision + 'SNAPSHOT' + '.zip', '')
String pluginFullPath = ['plugins', pluginName, revision + 'SNAPSHOT'].join('/')
String pluginName = pluginNameWithExt.replace('-' + revision + '.zip', '')
String pluginFullPath = ['plugins', pluginName, revision].join('/')
echo("pluginFullPath: ${pluginFullPath}")
//s3Upload(
// bucket: "${ARTIFACT_PRODUCTION_BUCKET_NAME}",
Expand Down

0 comments on commit 521b688

Please sign in to comment.