8000 Fix failing build: add `ARTIFACTORY_ACCESS_TOKEN` variable by petertrr · Pull Request #318 · SonarSource/sonar-analyzer-commons · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix failing build: add ARTIFACTORY_ACCESS_TOKEN variable #318

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

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

petertrr
Copy link
Contributor

No description provided.

Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@@ -11,6 +11,7 @@ env:
ARTIFACTORY_DEPLOY_PASSWORD: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-qa-deployer access_token]
#Possible values for ARTIFACTORY_DEPLOY_REPO: sonarsource-private-qa, sonarsource-public-qa
ARTIFACTORY_DEPLOY_REPO: sonarsource-public-qa
ARTIFACTORY_ACCESS_TOKEN: VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-private-reader access_token]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Even if nothing gets deployed in private, the script cirrus-env injects a settings.xml pointing to a proper location of .m2 folder. If ARTIFACTORY_ACCESS_TOKEN, settings are not injected and cleanuo_maven_cache fails because maven build didn't use the folder it expects.

@petertrr petertrr marked this pull request as ready for review March 28, 2024 10:54
@nils-werner-sonarsource nils-werner-sonarsource merged commit 0d7e730 into master Mar 28, 2024
@nils-werner-sonarsource nils-werner-sonarsource deleted the petertrr/add-artifactory-token branch March 28, 2024 10:58
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.

2 participants
0