Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Horizontal Navigation Bar | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Panel | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Expand | ||
---|---|---|
| ||
On 12/20/2020 GitHub moved to a .gov URL. The hcqis.org URL redirect does not allow Jenkins multi-branch pipelines to function correctly. URLs for these jobs MUST be updated to https://qnetgit.cms.gov. |
title | My Nexus-Upload Jenkins job is failing |
---|
If you are the seeing the symptom below, please continue reading:
Symptom:
I am trying to run Nexus Upload job to copy a deployment package to Nexus, but it is not running. The page seems to be spinning and uploads to 25-30 % and starts from 0 and times out after a few attempts.
Resolution:
Please confirm if the size of the file you are uploading is greater than 250 MB.
We discovered that this is being caused due to the request being too large which is being rejected by Nginx. The Nginx has been configured to accept a max_body_size of 250 MB. This configuration cannot be changed on the Managed masters on the fly and even if we did, the change on the docker container would not be persistent. We have requested CloudBees to create a feature enhancement request to increase this limit in the upcoming versions.
Our recommendation is to use the Nexus Web-UI upload option to upload large files greater than 250 MB to your repository. Reach out to dl-hcqis_devops@ventechsolutions.com if you need help with this.
title | "Unauthorized" exception while trying to push a gem to a private gem repository on Nexus Repository Manager |
---|
The nexus
gem is available at RubyGems and provides features to interact with Nexus Repository Manager Pro including pushing gems to a hosted gem repository including the necessary authentication. The initial invocation will request the URL for the gem repository and the credentials needed for deployment. If you are getting the above error, our recommendation is to create a user token in nexus which can be created by accessing this url: http://nexus.hcqis.org:8081/#user/usertoken
Once it is created, replace the token in the following file on the target server :
~/.gem/nexus
,
which looks like this:
---
:url: https://nexus.hcqis.org/repository/gems
:authorization: Basic aSBsb3ZlIHBvdGF0b2Vz=
Replace the token here using a "sed" command and re-run your job.
Panel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
If you need help or assistance please contact the HIDS DevOps HCT DevSecOps team. They can be reached via the following methods:
|