You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixing regression in cosmos release pipeline preventing to release just Cosmos Spark connector (all uber jars) (Azure#29500)
* Fixing analytics violations found in release pipeline
* Removing noisy log
* Updating md files with release version
* Fixing regression in cosmos release pipeline preveting to release just Spark connector (all uber jars)
if (!$librariesToRelease.ContainsKey($libraryToVerify)) {
65
+
if (!$missingLibraries.ContainsKey($libraryToVerify)) {
66
+
$missingLibraries[$libraryToVerify] =$true
67
+
}
68
+
$script:FoundError=$true
69
+
LogError "Error: $($pomFile) contains a current dependency, groupId=$($groupId), artifactId=$($artifactId), which is not the list of libraries to be released."
63
70
}
64
-
$script:FoundError=$true
65
-
LogError "Error: $($pomFile) contains a current dependency, groupId=$($groupId), artifactId=$($artifactId), which is not the list of libraries to be released."
66
71
}
67
72
}
68
73
}
69
74
}
70
75
}
71
-
}
72
76
73
-
if (!$script:FoundPomFile) {
74
-
LogError "Did not find pom file with matching groupId=$($inputGroupId) and artifactId=$($inputArtifactId) under ServiceDirectory=$($ServiceDirectory)"
75
-
$script:FoundError=$true
77
+
if (!$script:FoundPomFile) {
78
+
LogError "Did not find pom file with matching groupId=$($inputGroupId) and artifactId=$($inputArtifactId) under ServiceDirectory=$($ServiceDirectory)"
LogError "If any of the above libraries are not released from $($ServiceDirectory) then the tag is incorrectly set to current and should be dependency."
85
91
}
86
-
LogError "If any of the above libraries are not released from $($ServiceDirectory) then the tag is incorrectly set to current and should be dependency."
92
+
exit(1)
87
93
}
88
-
exit(1)
89
-
}
90
94
91
-
Write-Host"The library list to release contains full transitive closure and looks good to release"
95
+
Write-Host"The library list to release contains full transitive closure and looks good to release"
96
+
} else {
97
+
Write-Host"The library list to release contains no non-uber jars. No transitive closure check needed for uber-jars."
0 commit comments