Update the JAR name from hyperspace-core_spark*.* to hyperspace-core-spark*.* (#451)
This commit is contained in:
Родитель
72230221a8
Коммит
0011d0ded9
|
@ -28,12 +28,12 @@ jobs:
|
|||
inputs:
|
||||
sourceFolder: '$(Build.SourcesDirectory)/target/'
|
||||
contents: '**/*.jar'
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark2.4/'
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark2.4/'
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish Hyperspace artifacts'
|
||||
inputs:
|
||||
artifactName: 'hyperspace-core_spark2.4'
|
||||
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark2.4/'
|
||||
artifactName: 'hyperspace-core-spark2.4'
|
||||
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark2.4/'
|
||||
|
||||
- job: Build_Spark2_4_2_12
|
||||
displayName: 'Build sources and run unit tests for Spark 2.4 / Scala 2.12'
|
||||
|
@ -51,12 +51,12 @@ jobs:
|
|||
inputs:
|
||||
sourceFolder: '$(Build.SourcesDirectory)/target/'
|
||||
contents: '**/*.jar'
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark2.4/'
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark2.4/'
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish Hyperspace artifacts'
|
||||
inputs:
|
||||
artifactName: 'hyperspace-core_spark2.4'
|
||||
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark2.4/'
|
||||
artifactName: 'hyperspace-core-spark2.4'
|
||||
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark2.4/'
|
||||
|
||||
- job: Build_Spark3_0_2_12
|
||||
displayName: 'Build sources and run unit tests for Spark 3.0 / Scala 2.12'
|
||||
|
@ -74,12 +74,12 @@ jobs:
|
|||
inputs:
|
||||
sourceFolder: '$(Build.SourcesDirectory)/target/'
|
||||
contents: '**/*.jar'
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark3.0/'
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark3.0/'
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish Hyperspace artifacts'
|
||||
inputs:
|
||||
artifactName: 'hyperspace-core_spark3.0'
|
||||
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark3.0/'
|
||||
artifactName: 'hyperspace-core-spark3.0'
|
||||
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark3.0/'
|
||||
|
||||
- job: Build_Spark3_1_2_12
|
||||
displayName: 'Build sources and run unit tests for Spark 3.1 / Scala 2.12'
|
||||
|
@ -97,12 +97,12 @@ jobs:
|
|||
inputs:
|
||||
sourceFolder: '$(Build.SourcesDirectory)/target/'
|
||||
contents: '**/*.jar'
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark3.1/'
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark3.1/'
|
||||
- task: PublishBuildArtifacts@1
|
||||
displayName: 'Publish Hyperspace artifacts'
|
||||
inputs:
|
||||
artifactName: 'hyperspace-core_spark3.1'
|
||||
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core_spark3.1/'
|
||||
artifactName: 'hyperspace-core-spark3.1'
|
||||
pathtoPublish: '$(Build.ArtifactStagingDirectory)/hyperspace-core-spark3.1/'
|
||||
|
||||
- job: PythonTest
|
||||
displayName: 'Run Python tests'
|
||||
|
|
|
@ -90,7 +90,7 @@ lazy val commonSettings = Seq(
|
|||
buildInfoPackage := "com.microsoft.hyperspace",
|
||||
|
||||
name := "hyperspace-core",
|
||||
moduleName := name.value + s"_spark${sparkVersion.value.short}",
|
||||
moduleName := name.value + s"-spark${sparkVersion.value.short}",
|
||||
libraryDependencies ++= deps(sparkVersion.value),
|
||||
|
||||
// Scalastyle
|
||||
|
|
|
@ -88,7 +88,7 @@ def prepare(root_dir):
|
|||
version = '0.0.0'
|
||||
with open(os.path.join(root_dir, "version.sbt")) as fd:
|
||||
version = fd.readline().split('"')[1]
|
||||
package = "com.microsoft.hyperspace:hyperspace-core_spark2.4_2.12:" + version
|
||||
package = "com.microsoft.hyperspace:hyperspace-core-spark2.4_2.12:" + version
|
||||
return package
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче