[JIRA] (JENKINS-49790) Jenkins - Pipeline doesn't allow to execute external batch files with "Start" command in it.
Title: Message Title Anuj Gupta commented on JENKINS-49790 Re: Jenkins - Pipeline doesn't allow to execute external batch files with "Start" command in it. I am also facing the same issue. Is any-one able to troubleshoot this problem ? Please assist on this. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-49790) Jenkins - Pipeline doesn't allow to execute external batch files with "Start" command in it.
Title: Message Title Anuj Gupta commented on JENKINS-49790 Re: Jenkins - Pipeline doesn't allow to execute external batch files with "Start" command in it. Thanks Ayushya for quick reply. I have a master on Linux & slave on Windows and I need to start tomcat using startup.bat on slave machine. The console o/p in Jenkins console o/p shows as success but actually the service won't start on the slave. node('WS45') { stage('Start Tomcat'){ bat '''@echo off echo * echo Tomcat Started echo @author: ANUJ echo * echo Running the application... CALL D:\\**\\Tomcat\\binstartup.bat echo Success...''' } } Output is : [Pipeline] node Running on WS45 in C:\Jenkins\workspace\test [Pipeline] { [Pipeline] stage [Pipeline] { (Start Tomcat) [Pipeline] bat [test] Running batch script * Tomcat Started @author: ANUJ * Running the application... JAVA_OPTS Using CATALINA_BASE: "D:**\Tomcat" Using CATALINA_HOME: "D:**\Tomcat" Using CATALINA_TMPDIR: "D:**\Tomcat\temp" Using JRE_HOME: """C:\Program Files\Java\jdk1.8.0_152\jre""" Using CLASSPATH: "D:*\Tomcat\bin\bootstrap.jar;D:**\Tomcat\bin\tomcat-juli.jar" Using JAVA_OPTS: "-Xms2048m -Xmx3072m "-Djdk.tls.ephemeralDHKeySize=2048" -Djava.protocol.handler.pkgs=org.apache.catalina.webresources" Success... [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline Finished: SUCCESS Please advise. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are
[JIRA] (JENKINS-49790) Jenkins - Pipeline doesn't allow to execute external batch files with "Start" command in it.
Title: Message Title Anuj Gupta commented on JENKINS-49790 Re: Jenkins - Pipeline doesn't allow to execute external batch files with "Start" command in it. Thanks Ayushya for your assistance. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-54077) Multiple workspaces created for same job.
Title: Message Title Anuj Gupta created an issue Jenkins / JENKINS-54077 Multiple workspaces created for same job. Issue Type: Bug Assignee: Mark Waite Components: git-client-plugin Created: 2018-10-15 09:45 Priority: Minor Reporter: Anuj Gupta Hi All, I am creating Jenkins pipeline in which I have 2 stages : 1) Git Checkout 2) Package (.war) built using maven Once checkout is completed in stage 1) the repository got checked out in the workspace with name "master-platform". Till now, all seems fine. But when stage 2) got initiated, the workspace have multiple directories (master-platform@2, master-platform@2@tmp) starting with job names. Instead of cd'ing into job workspace to work on cloned code, it is creating other dir and cd'ing into it. Example : /home/jenkins/workspace/master-platform@2@tmp/durable-5c94b25f/script.sh: line 5: cd: ssd-v3: No such file or directory This issue is failing my builds as actual code is not available to the package stage. Can any-one please help me out in this issue ? FYI, there are no concurrent builds here as I googled in few of the blogs/stackoverflow. Thanks Anuj Add Comment
[JIRA] (JENKINS-57203) OWASP Dependency-Check Plugin is unable to read results from the Node Security Project (NspAnalyzer)
Title: Message Title Anuj Gupta created an issue Jenkins / JENKINS-57203 OWASP Dependency-Check Plugin is unable to read results from the Node Security Project (NspAnalyzer) Issue Type: Bug Assignee: Unassigned Attachments: OWASP Dependency Check.docx Components: dependency-check-jenkins-plugin Created: 2019-04-27 08:30 Priority: Blocker Reporter: Anuj Gupta Hello, I have configured OWASP Dependency Check Plugin for security scan but I am getting following error in console output : [DependencyCheck] Scanning: /var/lib/jenkins/workspace/XXX [DependencyCheck] Analyzing Dependencies [DependencyCheck] One or more exceptions were thrown while executing Dependency-Check [DependencyCheck] Exception Caught: org.owasp.dependencycheck.analyzer.exception.AnalysisException [DependencyCheck] Cause: api.nodesecurity.io [DependencyCheck] Message: Failed to read results from the Node Security Project (NspAnalyzer); the analyzer is being disabled and may result in false negatives. [DependencyCheck] org.owasp.dependencycheck.analyzer.exception.AnalysisException: Failed to read results from the Node Security Project (NspAnalyzer); the analyzer is being disabled and may result in false negatives. [DependencyCheck] at org.owasp.dependencycheck.analyzer.NspAnalyzer.analyzeDependency(NspAnalyzer.java:222) [DependencyCheck] at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:136) [DependencyCheck] at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88) [DependencyCheck] at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37) [DependencyCheck] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [DependencyCheck] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [DependencyCheck]
[JIRA] (JENKINS-57203) OWASP Dependency-Check Plugin is unable to read results from the Node Security Project (NspAnalyzer)
Title: Message Title Anuj Gupta commented on JENKINS-57203 Re: OWASP Dependency-Check Plugin is unable to read results from the Node Security Project (NspAnalyzer) Hi Steve, Thanks for your quick response. I tried updating the version to 4.0.2 but getting following error while upgrading. Even I tried to upload .hpi of latest version... In that case also, page throws error after uploading 50% of plugin. I tried many other things also but nothing is working. Plz help me out. OWASP Dependency-Check Failure -java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.java:345) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:706) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3000) at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629) at java.net.URLConnection.getContentLengthLong(URLConnection.java:501) at java.net.URLConnection.getContentLength(URLConnection.java:485) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1126) Caused: java.net.SocketException: Connection reset at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1944) at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1939) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1938) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1508) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1139) Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/dependency-check-jenkins-plugin/4.0.2/dependency-check-jenkins-plugin.hpi to /var/lib/jenkins/plugins/dependency-check-jenkins-plugin.jpi.tmp at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1146) Caused: hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/dependency-check-jenkins-plugin/4.0.2/dependency-check-jenkins-plugin.hpi at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1172) at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1677) a
[JIRA] (JENKINS-57203) OWASP Dependency-Check Plugin is unable to read results from the Node Security Project (NspAnalyzer)
Title: Message Title Anuj Gupta updated an issue Jenkins / JENKINS-57203 OWASP Dependency-Check Plugin is unable to read results from the Node Security Project (NspAnalyzer) Change By: Anuj Gupta Attachment: OWASP Dependency Check.docx Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57203) OWASP Dependency-Check Plugin is unable to read results from the Node Security Project (NspAnalyzer)
Title: Message Title Anuj Gupta commented on JENKINS-57203 Re: OWASP Dependency-Check Plugin is unable to read results from the Node Security Project (NspAnalyzer) While updating plugin under 'Advanced' tab'of 'Manage Plugins', the progress percentage shows till 52% of plugin update and after that I got "Page cannot be displayed" error. Please find attached the screenshot where the page stucks in Jenkins Plugin Manager. Thanks Anuj Gupta OWASP Dependency Check.docx Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-57337) Unable to install the updated plugin of OWASP Dependency Check
Title: Message Title Anuj Gupta created an issue Jenkins / JENKINS-57337 Unable to install the updated plugin of OWASP Dependency Check Issue Type: Bug Assignee: Unassigned Components: dependency-check-jenkins-plugin Created: 2019-05-06 06:38 Priority: Blocker Reporter: Anuj Gupta With ref. to Issue # 57203, it is advised to update the dependency-check plugin to version 4.0.2 but I am getting the following error while updating it. Preparation Checking internet connectivity Checking update center connectivity Success OWASP Dependency-Check Failure -java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) at java.io.BufferedInputStream.read(BufferedInputStream.
[JIRA] (JENKINS-57337) Unable to install the updated plugin of OWASP Dependency Check
Title: Message Title Anuj Gupta commented on JENKINS-57337 Re: Unable to install the updated plugin of OWASP Dependency Check I also tried uploading the plugin manually from 'Advanced' menu of Plugin-Manager but it is also failing. Please help me out. Thanks Anuj Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-61961) Jenkins Migration - Credentials not auto-populate in jobs.
Title: Message Title Anuj Gupta created an issue Jenkins / JENKINS-61961 Jenkins Migration - Credentials not auto-populate in jobs. Issue Type: Improvement Assignee: Thomas Fürer Attachments: Jenkins-Issue.PNG Components: thinbackup-plugin Created: 2020-04-18 16:13 Priority: Major Reporter: Anuj Gupta Hi, I am migrating jenkins from server A to server B. I copied all configuration from /home/jenkins/.jenkins including config.xml, workspace, credentials.xml etc. After migration, I can see all jobs on Jenkins dashboard but I need to select the credentials which I am using on server A e.g. Github authentication credentials. I can see those credentials in drop-down menu but need to select for each job. This is taking a lot of time. Is there any workaround or any option that those credentials automatically got hold on dashboard of Server B Jenkins ? Thanks Anuj Add Comment