Closed amaslenn closed 4 years ago
-B
is batch mode, to reduce verbosity in logs. OK, so AZP appends goal
to the end. So no need then to have package
at the beginning.
Can we also publish jar artifacts: https://docs.microsoft.com/en-us/azure/devops/pipelines/artifacts/maven?view=azure-devops
We can publish just spark-ucx-1.0-for-spark-2.3.4-jar-with-dependencies.jar
as a simple file
Something like this:
steps:
- publish: $(System.DefaultWorkingDirectory)/target/spark-ucx-*-jar-with-dependencies.jar
artifact: spark-ucx-jar-with-dependencies.jar
Is it possible to download jar from artifacts? Don't see any: https://dev.azure.com/ucfconsort/sparkucx/_packaging?_a=feed
Is it possible to download jar from artifacts? Don't see any: https://dev.azure.com/ucfconsort/sparkucx/_packaging?_a=feed
Artifacts are attached to the build: https://dev.azure.com/ucfconsort/sparkucx/_build/results?buildId=2583&view=results
@petro-rudenko is that what you needed? Last results: https://dev.azure.com/ucfconsort/sparkucx/_build/results?buildId=2589&view=results
Ok, i thought on artifacts tab there would be a direct link to jar. But nevertheless it's ok, we'll be able to download and unpack zip file for tests.
We can also implement a real Maven publishing later if required.
@petro-rudenko could you please review AZP runs? Does it looks good and does what your Action does?
I'm not sure
mvn
cmd is OK, at leastpackage
appears twice in:mvn -f /home/vsts/work/1/s/pom.xml -B package -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Pspark-2.3 package
. Should I remove-B package
from options (not quite familiar withmvn
)?