Closed danielnbalasoiu closed 2 years ago
Thanks for opening this issue. It will be addressed in the upcoming release.
Usually bugs are closed after they are fixed not after a promise is made.
I was checking latest commits (all branches) on this project and it doesn't seem to very active. As an WhiteSource customer, I'm expecting much more involvement when it comes to fixing bugs into existing integrations.
When will the next release be available?
Hi,
The bug you have referenced is fixed in testing release 0.2.9a14.
You can download it from pypy by executing: pip install ws-nexus-integration==0.2.9a14
Hi, I just released version 0.2.9.
I downloaded the latest (v0.2.9) version and it fails with:
root@4960da47faaa:/opt/whitesource/ws-nexus-integration-0.2.9/ws-nexus# python -d ws-scan.py
=======================
WhiteSource for Nexus
=======================
Traceback (most recent call last):
File "ws-scan.py", line 685, in <module>
main()
File "ws-scan.py", line 120, in main
config = Configuration(conf_file)
File "ws-scan.py", line 95, in __init__
self.nexus_ip = self.nexus_base_url.split('//')[1].split(':')[0]
IndexError: list index out of range
I tried using the IP address of the server instead of the URL even though the domain name is being resolved but it still fails.
It might be because there was no ':' between IP and port in NexusBaseUrl.
What is NexusBaseUrl value in params.conf?
It should be in form of: NexusBaseUrl=http://<IP>:<PORT>
Thank you for very quick reply. The NexusBaseUrl
is configured properly:
root@4960da47faaa:~# grep NexusBaseUrl param.config
NexusBaseUrl=http://nexus.host:8080
I managed to resolve the error above by installing ws-nexus-integration
via pip
and not run WhiteSource agent w/ python ws-scan.py
.
Now it fails because it doesn't find java
in the container I'm running the script but this is something I have to fix.
I'll let if you know if the authentication base on username and password is working once I'll resolve the Java problem.
The bug seems to be fixed:
root@4960da47faaa:~# ws_nexus_integration param.config
INFO 22-01-17 15:36:24 281473264926736 root: Nexus Version: Nexus/3.XXXX (OSS)
INFO 22-01-17 15:36:24 281473264926736 root: No specific repositories specified, all repositories will be scanned
INFO 22-01-17 15:36:24 281473264926736 root: Repository: docs
INFO 22-01-17 15:36:24 281473264926736 root: Validate artifact list
Thank you! 🤘
Verny nice :) I take that it managed to scan all the Docker images/ desired artifacts?
Bug Description
I have populated
params.config
w/ the following values:but it fails w/
Steps to Reproduce
Steps to reproduce the behavior:
ws-nexus
stable version (v0.2.8) and unpack it.params.config
filepython ws-scan.py
Environment Details