I've now setup the distribution repo to sort .rpm and .deb files, and automatically calculate the path to place in Bintray, all we need to do is select the file place it "in" the distribution repo.
To do that we must:
[x] Build a task named deployToBintray that:
[x] Finds or creates the artifact path stored on jFrog and store as $packagePath
[x] Deploys $packagePath to openhab-linuxpkg-distribution distribution repository
[x] Test the task using dryRun=true
[x] Setup deployToBintray to run on cloudbees after buildRelease or buildTesting
Previously, I have been setting up stable releases and testing releases manually using the web UI. The jfrog REST api allows us to deploy artifacts to Bintray:
I've now setup the distribution repo to sort .rpm and .deb files, and automatically calculate the path to place in Bintray, all we need to do is select the file place it "in" the distribution repo.
To do that we must:
deployToBintray
that:$packagePath
$packagePath
toopenhab-linuxpkg-distribution
distribution repositorydeployToBintray
to run on cloudbees afterbuildRelease
orbuildTesting
CalculateMetadata
Example: