All Questions
470 questions
0
votes
0
answers
81
views
Unable to download any plugins in Jenkins
Problem: I m getting an error when I navigate to manage plugin
There were errors checking the update sites: FileNotFoundException: http://updates.jenkins.io/update-center.json?id=default&version=...
1
vote
1
answer
98
views
Selenium test build fails on Jenkins
I created Jenkins job and trying to launch a selenium test(java), but the build keeps failing with the following error. Both, Jenkins primary and agent machines are on AWS. Everything works perfectly ...
0
votes
0
answers
29
views
Why when running two Selenium WebDriver Java Builds in Jenkins at the same time, build #1 passes, #2 has blank chrome page "Not Secure Data:," message
I recently upgraded Jenkins from 2.3xx to 2.452.1
Prior to the upgrade, I was able to run multiple Selenium Java builds at the same time resulting in multiple Chrome Browsers running interactively. I ...
0
votes
0
answers
152
views
Passing a password securely as an maven argument from jenkins
I'm running a job in jenkins that is taking password argument and passing it in a pipeline to start a maven process with that given password argument. That is obviously not very secure way of handling ...
0
votes
0
answers
165
views
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit on jenkins with jdk1.8 on windows
Getting error on jenkins says:
'java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
at com.pypestream.model.page.aaas.InterfacePage.enterCustomCssCode(InterfacePage.java:465)
...
0
votes
0
answers
32
views
Upload multiple pdf issue on jenkins with java selenium
I've got some issues with uploading pdf on jenkins.
I run a java/selenium course, and there are 2 pdfs to upload.
Localy with my ide, everything is fine : i've get the 2 pdf in a downloads folder.
But ...
0
votes
1
answer
181
views
Error- org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project ABC: Exception in provider: java/sql/Date: java.sql.Date
Error 1 - org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project ABC: Exception in provider: java/sql/Date: java.sql.Date
Error 2 - 4144777 [pool-1-thread-1 for channel ...
0
votes
1
answer
311
views
How to change the browser screen size on Jenkins?
Due to screen size no such element displayed and my test cases are failed but executing from selenium IDE on my local all test cases successfully executed without fail. When I executing browsers are ...
1
vote
2
answers
364
views
Is there a way to capture an image via Selenium when running the test on a Jenkins server?
I've automated a web app that opens up the camera and takes a photo. On my local machine the Selenium script executes and captures the photo (running in headless mode). However, when I run the script ...
0
votes
1
answer
48
views
How to run specific code only when running from jenkins?
I have below code that is used to invoke the chromedriver. Out of all the chrome options, I need to add force-device-scale-factor=0.70 and high-dpi-support=0.70 only when I run the test cases from ...
0
votes
1
answer
159
views
Setup breaking in Selenium project in Jenkins but all tests passing
I have a Selenium Java UI automation freestyle project setup at my local Jenkins and after building it I am facing the error, "Could not start a new session. Response code 500. Message: session ...
1
vote
0
answers
130
views
Selenium WebDriver zoom in/out not working Jenkins
I have tried to zoom out the page with following code
public static void zoomOutPage(int value) throws AWTException {
Robot robot = new Robot();
for (int i = 0; i < value; i++) {
...
0
votes
1
answer
2k
views
SessionNotCreatedException: Could not start a new session. Response code 500 using ChromeDriver in Jenkins using Selenium WebDriver (Java)
I am facing the below error on Jenkins scheduled execution. The execution was successfully done when I executed myself but when I set the schedule execution it show me the error.
Here the Image of the ...
0
votes
0
answers
176
views
Performance of tests on Virtual machine VS local enviroment - REALLY SLOW ON VM
I have one issue. I have maven project - JAVA,Selenium,Cucumber,Junit.
Im running tests with testrunner class and some oprtions in hooks on local enviroment test runs normally for few seconds - 25 +- ...
1
vote
2
answers
370
views
Selenium response code 500 on VM on local machine working
Hello I have Maven Selenium Cucumber project on my local machine everything is working. Im trying to launch it on Virtual machine via jenkins. after build starts i have this error on every test:
...