Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish Gradle plugin to Gradle Gallery #536

Merged
merged 2 commits into from
Jul 15, 2021
Merged

Conversation

yahavi
Copy link
Member

@yahavi yahavi commented Jul 15, 2021

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

Resolves #518

Check every 4 hours if the build-info-extractor-gradle version in the Maven Central is newer than the latest published in the Gradle gallery. If it does, update the version in the Gradle Gallery.

@yahavi yahavi requested a review from eyalbe4 July 15, 2021 07:55
@yahavi yahavi self-assigned this Jul 15, 2021
@yahavi yahavi merged commit 7fc4c15 into jfrog:master Jul 15, 2021
@yahavi yahavi deleted the gradle-gallery branch July 15, 2021 16:37
steps:
- name: "Get Maven Central Latest Version"
run: |
export LATEST_MVN_CENTRAL_VERSION=`curl -s https://search.maven.org/solrsearch/select\?q\=g:"org.jfrog.buildinfo"+AND+a:"build-info-extractor-gradle" | jq -r '.response.docs[0].latestVersio'`
Copy link

@NiazBikbaev NiazBikbaev Jul 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yahavi there is a typo in curl command :)
jq -r '.response.docs[0].latestVersio

Thats why scheduled job failed https://github.com/jfrog/build-info/runs/3080541646?check_suite_focus=true

# The upload is asynchronous and may take few hours.
# Since the Gradle plugin depends on the build-info JARs, we should publish it to the Gradle Gallery only after we make
# sure the upload to Maven Central completed successfully.
# To solve this out, this workflow runs every 4 hours to check if the Gradle plugin should be published to the Gradle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To solve this out, this... --> To solve this issue, this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upload Artifactory Gradle Plugin to Gradle Pluign Portal
3 participants