Skip to content

Commit

Permalink
chore: drop beta package descriptor feature, closes HYB-546
Browse files Browse the repository at this point in the history
Motivation:
- Package Descriptor feature is going out of beta and v1 is coming

Modifications:
- Remove beta package descriptor deployment call from enterpriseUpload target

Result:
- Beta package descriptor: out
  • Loading branch information
Obero committed Apr 4, 2024
1 parent f42377d commit 228e69d
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,8 @@ class GatlingEnterpriseUploadTask extends DefaultTask {
def gatling = project.extensions.getByType(GatlingPluginExtension)
RecoverEnterprisePluginException.handle(logger) {
EnterprisePlugin enterprisePlugin = gatling.enterprise.initBatchEnterprisePlugin(project.version.toString(), logger)

String jsonPackageConfig = PackageConfiguration.loadToJson(project.projectDir)
UUID packageUUID = gatling.enterprise.packageId
if (jsonPackageConfig != null) {
logger.lifecycle("Package configuration file detected, applying it.")
packageUUID = enterprisePlugin.uploadPackageConfiguration(jsonPackageConfig)
logger.lifecycle("Package id: "+ packageUUID.toString())
}

if (packageUUID) {
logger.lifecycle("Uploading package with packageId " + packageUUID)
enterprisePlugin.uploadPackage(packageUUID, inputs.files.singleFile)
Expand Down

0 comments on commit 228e69d

Please sign in to comment.