![]() You noticed the use of parameters script socks-open-proxy as well as -iL ranges.txt. For example : scan.sh, adapt the script if needed. Copy/Paste the following bash script into a file. I do not wish to install the scanner manually as I would have to repeat the process every time I update the jenkins image, if I understand things correctly, though I am still new to docker and I may be wrong. Step 3: Create a dedicated nmap script for socks proxy scanning. The thing I don't understand, is that when using the url in the test url for the proxy, jenkins says that it connects successfully. It seems what fails is not the scan itself but the automatic install process. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"Īt java.base/ java.base/ java.base/ (FilePath.java:959)Ĭaused: java.io.IOException: Failed to install to /var/jenkins_home/tools//SonarQubeScannerĪt (FilePath.java:1033)Īt (FilePath.java:946)Īt (DownloadFromUrlInstaller.java:77)Īt (InstallerTranslator.java:70)Īt (ToolLocationNodeProperty.java:107)Īt (ToolInstallation.java:220)Īt .forNode(SonarRunnerInstallation.java:99)Īt .forNode(SonarRunnerInstallation.java:49)Īt .steps.ToolStep$n(ToolStep.java:155)Īt .steps.ToolStep$n(ToolStep.java:136)Īt .$start$0(SynchronousNonBlockingStepExecution.java:47)Īt java.base/$RunnableAdapter.call(Executors.java:515)Īt java.base/.run(FutureTask.java:264)Īt java.base/.runWorker(ThreadPoolExecutor.java:1128)Īt java.base/$n(ThreadPoolExecutor.java:628)Īt java.base/(Thread.java:829) ![]() Java.io.IOException: Unable to tunnel through proxy. WARN: Unable to locate 'report-task.txt' in the workspace. ![]() When running the job, here's the output: Injecting SonarQube environment variables using the configuration: SonarQube My Jenkinsfile reads as follows: stage("4. I've also created a Global Tool (as described in the offical documentation here) It will scan up to 10,000 IP addresses per second using the SYN method. I've downloaded the SonarQube Scanner plugin and configured the server info in Manage Jenkins > Configure system. Http Proxy Scanner is a small tool for quickly scanning then displaying a proxy list. Recently, I've been trying to run a SonarQube scan on my sources as part of the steps of my multibranch pipeline. I can successfully download plugins, as well as node packages when running my pipelines. Said machine is behind a corporate proxy requiring authentification which I have configured in Jenkins (through Manage Jenkins > Manage Plugins > Advanced > Http Proxy Configuration). I have a Jenkins docker image and a SonarQube docker image both running on the same machine (but on different containers).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |