fix(air-gap): Using air gap path from docker task and not calculated one.
@@ -235,8 +235,8 @@ task publishAirGapZipWithoutDocker() {
dependsOn createAirGapZipWithoutDocker
doLast {
- def airGapZipName = createAirGapZipWithoutDocker.airGapPath
- def airGapZipLocation = "${buildDir}/libs/${airGapZipName}"
+ def airGapZipName = "${project.name}-${version}-air-gap-gradle-nuget.zip"
+ def airGapZipLocation = createAirGapZipWithoutDocker.airGapPath
exec {
commandLine 'curl', '--insecure', '-u', "${project.ext.artifactoryDeployerUsername}:${project.ext.artifactoryDeployerPassword}", '-X', 'PUT',
"${project.ext.deployArtifactoryUrl}/${project.ext.artifactoryRepo}/com/synopsys/integration/${project.name}/${version}/${airGapZipName}", '-T', "${airGapZipLocation}", '-f'
