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

Incorrect Artifactory Build Info Link #146

Open
jfrog-fadir opened this issue Aug 8, 2023 · 4 comments
Open

Incorrect Artifactory Build Info Link #146

jfrog-fadir opened this issue Aug 8, 2023 · 4 comments

Comments

@jfrog-fadir
Copy link

jfrog-fadir commented Aug 8, 2023

Description:
The Artifactory build info link generated within TeamCity lacks the timestamp of the build. This leads to incorrect redirection to a UI page that fails to display the build artifacts as intended.

Steps to Reproduce:

  1. Generate a build in TeamCity as described here
  2. Go the build page to access the Artifactory build info link in TeamCity.
  3. Click on the link to access the Artifactory UI page for the build.

Expected Behavior:
The Artifactory build info link should contain the appropriate timestamp, redirecting users to the correct UI page that displays the associated build artifacts.

Actual Behavior:
The Artifactory build info link generated by TeamCity does not include the timestamp. Consequently, clicking on the link redirects users to an incorrect UI page that fails to display the build artifacts as intended.

Additional Information:

  • When accessing the Build Info directly from Artifactory's builds page, the artifacts are correctly displayed.
  • The issue appears to stem from the missing build timestamp in the URL generated by the Artifactory plugin in TeamCity.
  • Example:
    • TeamCity Generated Link: https://JFROG_URL/ui/builds/teamcity-test-build/9/published
    • Valid Artifactory UI Link: https://JFROG_URL/ui/builds/teamcity-test-build/9/1691493941430/published
    • The value "1691493941430" in the valid link corresponds to the build.timestamp property.
@Nheverest
Copy link

Nheverest commented Aug 11, 2023

Hello,

Similar problem for me in the build Overview, with plugin v2.10.2, Teamcity 2022.10.4 and Artifactory 7.55.14.
The impact is that the link under Module Id in the target page leads to an empty artifact list.

Note: the link provided in the logs still uses the /webapp context (see #139), and, for some reason, it is still working fine, without timestamp. The URL is in the form https://<JFROG_URL>/artifactory/webapp/builds/MyProjects_BuildInfoTest/2.

@Nheverest
Copy link

Hello,
Any updates?

@petezx9
Copy link

petezx9 commented May 15, 2024

We have the same problem here.

@Nheverest
Copy link

Problem present also with TeamCity 2024.03.2 and Artifactory 7.71.11.

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

No branches or pull requests

3 participants