Questions tagged [jenkins]

Jenkins is an open-source continuous integration tool written in Java. Forked from Hudson after a dispute with Oracle.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Can I ask jenkins how many tests were skipped?

Sometimes unit tests get skipped due to various reasons[1]. If that happens I notice it when I look at the report, which I sometimes don't do for several weeks. Instead I want jenkins to mark the ...
user avatar
  • 101
0 votes
0 answers
11 views

How to integrate Selenium project that is hosted on TFS project with Jenkins?

I have a Selenium Automation project that is hosted on "TFS". Now, i want to run it using Jenkins and not using Eclipse. But, i see only "Git" Source code management option in ...
user avatar
0 votes
0 answers
87 views

jenkins maven doesnt compile: could not find artifact

So I setup my maven build on jenkins but it does not compile, it does not find the plugins (if I remove this plugin it gives the same error for the next one) Locally I can build/compile and run. [...
user avatar
0 votes
0 answers
18 views

How to run a Cucumber+Selenium project that is hosted on TFS directly with Jenkins?

I have made a Cucumber based BDD - Selenium, Java, Maven, TestNG Automation framework that has it's source code hosted on Azure DevOps (formally TFS). Now, I have a corporate Jenkins server and I want ...
user avatar
1 vote
0 answers
60 views

How to run a Selenium+Java+Maven project that is hosted on Azure DevOps server directly with Jenkins?

I have made a Cucumber based BDD - Selenium, Java, Maven, TestNG Automation framework that has it's source code hosted on Azure DevOps (formally TFS). Now, I have a corporate Jenkins server and I want ...
user avatar
  • 11
0 votes
0 answers
284 views

unknown error: session deleted because of page crash from tab crashed- [java+Selenium not docker]

I'm running selenium script frequently by connecting gitlab repo to AWS hosted jenkins. previously it runs without any issue. today i got below issue and failed the script. org.openqa.selenium....
user avatar
  • 107
1 vote
0 answers
278 views

DOCKER org.openqa.selenium.remote.UnreachableBrowserException on Jenkins

I can run every test locally just fine if I run my test on jenkins, on a docker file, I get this error org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible ...
user avatar
3 votes
1 answer
56 views

Can we tell Jenkins to execute half of my test in a one slave and other half in another slave machine

Is there any way to set up a Jenkins job where it will execute part of the test cases in a Node A and other part of the tests in Node B. Technically, I need to reduce my test executing time executing ...
user avatar
  • 2,093
0 votes
0 answers
89 views

Jenkin fail without explanation running tests process exitcode 143

I have multiple test suites running on jenkins, however there is only one which never completes. It gets interrupted but never shows why The only thing I see in my console of the build is this: 04:13:...
user avatar
1 vote
0 answers
64 views

Jenkins job got stuck after 30-40 minutes while passing results to a 3rd party server

In my Jenkins setup, we have a 6 hour long test suite running on a separate agent machine. After each test execution it will bundle all the results with a screenshot (bundle everything as a JSON) and ...
user avatar
  • 2,093
-1 votes
1 answer
30 views

how to pass the ’ Environmental Variables’ and ‘Global Variables’ from Jenkins using postman(newman) – Execute Windows batch command (Re-open) [closed]

how to pass the ’ Environmental Variables’ and ‘Global Variables’ from Jenkins using postman(newman) – Execute Windows batch command how to pass the ’ Environmental Variables’ and ‘Global Variables’ ...
user avatar
1 vote
2 answers
315 views

How to automatically execute failed testing cases on Jenkins using extent report

I'm looking for a solution to execute failed test cases automatically on Jenkins. I'm currently running test cases through pom.xml which points to testng.xml I'm using extent reports to capture and ...
user avatar
1 vote
1 answer
66 views

Are DevOps tools mandatory to survive in Automation Testing field?

I work as Test Engineer in Selenium, TestNG, Java, Maven, Cucumber and Jenkins. My knowledge about Jenkins is limited in the sense that I can create freestyle or Maven based jobs and can trigger those ...
user avatar
  • 31
1 vote
1 answer
1k views

Driver is not executable error in Jenkins but its running in Local Machine (MacBook)

I am working on MacBook. Our Jenkins server is running in linux server when I running tests via testing.xml file all test classes are running but when I run Jenkins build its not getting run Error is ...
user avatar
0 votes
1 answer
66 views

View webdriver tests running on EC2

I have my selenium webdriver tests on EC2. Chrome --headless flag is on and job is started from Jenkins. Is there a way to watch the live UI tests on the browser window via a VNC connection from my ...
user avatar
  • 141
1 vote
1 answer
240 views

Path is wrong while running a job created for GitHub repository using webhook

I am facing an issue of incorrect path while running a Jenkins job created for Github repository. As Jenkins is on my machine I have configured the webhook. The error I am facing is mentioned below. ...
user avatar
  • 11
1 vote
1 answer
364 views

XVFB and Selenium on EC2 - Unable to view Chrome UI on VNC Viewer

My Selenium headless tests are triggered from Jenkins server and run in EC2-Ubuntu. I want to view the test live on Chrome so I installed Xvfb plugin on Jenkins. On EC2 I installed Xvfb. When I start ...
user avatar
  • 141
0 votes
1 answer
4k views

Jenkins - Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags

While running job through Jenkins. i'm getting this error: Waiting for Jenkins to finish collecting data [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (...
user avatar
  • 41
1 vote
1 answer
589 views

Looking for a solution to run selenium tests on EC2 with GUI

My selenium tests are triggered from Jenkins server which in AWS EC2-Ubuntu. But in EC2, since tests run on chrome-headless, debugging has become difficult. I tried XVFB display but had unresolved ...
user avatar
  • 141
1 vote
1 answer
348 views

Mock test automation with Wiremock + Xray + Jenkins possible?

Task Workflow, which links Wiremock + Postman + Jira +Xray + Jenkins in such a way that automatic test procedures can be carried out, which then return reports to Xray. Details Currently we use the ...
user avatar
  • 1,173
1 vote
2 answers
3k views

Jenkins doesn't execute tests

I have a Maven project and I'm using TestNG. My build completes in Jenkins, but the tests I want to run from my testng.xml file are not actually executed. I have my console output from Jenkins and ...
user avatar
0 votes
1 answer
130 views

Jenkins Headless Chrome Causes Staleness Errors

After about a month of creating and ironing out my Selenium automated tests, I finally added it to a Jenkins pipeline. I didn't expect it to succeed on the first try, but I didn't expect to get errors ...
user avatar
-1 votes
1 answer
59 views

Efficient way to setup Jenkins for Automation Project

I have configured Jenkins server on windows computer. The systems has below configurations: OS : Windows 10 Processor : intel i3 processor RAM : 16GB 500GB hard disk The problem is recently the ...
user avatar
  • 1,573
1 vote
1 answer
3k views

Getting “testng.xml is not a valid file” error in Jenkins

I’m getting the following error when trying to run a Selenium/TestNg test from Jenkins. [ERROR] Suite file /development/apps/config/jenkins/jobs/teste-automatizado/workspace/Abc/testng.xml is not a ...
user avatar
  • 11
5 votes
3 answers
308 views

Automated tests in CI: same or different repo as SUT?

I'm currently writing API and UI automated tests for a website. My goal is to plug these tests in the CI workflow (Jenkins is used in this organization). The workflow would be: if there's a new commit ...
user avatar
  • 179
0 votes
0 answers
84 views

Triggering ALM test sets (UFT tests) in Jenkins Unix slave

We have a Jenkins Unix slave through which builds are scheduled in different testing environments. Objective: To schedule a job in Jenkins unix slave to trigger 2 ALM test sets (containing 30 UFT test ...
user avatar
  • 13
1 vote
1 answer
62 views

HTTP client test integration into Jenkins

IntelliJ Ultimate offers a code editor to test HTTP request (including asserts). Those tests can even be stored as a file or run-config to be executed for later api testing. The official documentation ...
user avatar
  • 119
0 votes
4 answers
91 views

Automated Way To Prove Robustness Of Tests

I have an automated test suite of NUnit Selenium tests written in C#. I am trying to test for my test suite's robustness by running my entire suite say 50 times and viewing an amalgamation of the ...
user avatar
  • 117
2 votes
2 answers
88 views

Tests fail when triggered through jenkins

I have upgraded my test suite to latest selenium, Firefox, and geckodriver. When I run the tests locally they work fine, when I run them on a remote box executing the command in the remote box they ...
user avatar
0 votes
1 answer
421 views

Unable to Run Tests on Edge browser in Jenkins

I am trying to run my Tests in the Jenkins using Microsoft Edge. When I click on build now, I am getting the below error in the Console Output ------------------------------------------------------ ...
user avatar
2 votes
1 answer
8k views

“org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally” issue on jenkins(openshift) chrome node

I've been trying to run selenium codes over Jenkins (server/openshift). There is chrome node in the jenkins machine for Test Automation - Selenium. I'm getting this error: org.openqa.selenium....
user avatar
  • 121
2 votes
2 answers
2k views

Jenkins slave is not accessing chrome in GUI

I have my selenium automation script running in chrome and it is running through Jenkins. I have two machines in Jenkins, one master, and one slave, both of them are Windows 7. While running in ...
user avatar
  • 516
2 votes
2 answers
216 views

TestRails and Jenkins integration - getting main method not found when running API files without main method

I wrote a TestRails.java class with a main method that uses TestRails JAVA API Binding classes. I’m trying to compile and run it in the Jenkins build shell section. Is this not the way I’m suppose to ...
user avatar
1 vote
1 answer
2k views

Jenkins executes scripts with small screen resolution

We are using Jenkins version 2.14 for our Test Automation regression. we are running it as a stand alone with no slaves. We have configured a task scheduler which starts jenkins at a predefined time ...
user avatar
1 vote
0 answers
98 views

Jenkins 2.150.3 update is not overwriting the previous version [closed]

I already have Jenkins 2.150.1 installed, so I tried downloading the new version (2.150.3). However, after installing and restarting, it's still loading the previous version. In the notifications, it ...
user avatar
  • 151
1 vote
2 answers
887 views

How to execute multiple test suite parallel?

I have test a suite for 5 different stores (UK,US,FR,IN,PT) of a web application. and there are around 250 test cases. After deployment i need execute the test suite for all these store and it takes ...
user avatar
  • 1,573
2 votes
2 answers
1k views

Maximizing Chrome Window size in Jenkins for Protractor Tests

We are in the process of setting up Jenkins for our testing projects and we are facing a huge challenge for browser window size. The app we are testing is a Progressing app so with the default screen ...
user avatar
  • 123
1 vote
2 answers
4k views

Protractor + Jenkins , element not interactable

On my local, I start e2e tests in Protractor and this is good. I have problem when I want start tests on Jenkins job. I pull tests from repo run command npm install run command node_modules\.bin\ng ...
user avatar
  • 11
2 votes
1 answer
50 views

Should you be using the computer for other things if computer is running appium automation tests for Jenkins? Will it cause tests to fail?

Should you be using the computer for other things if computer is running appium automation tests for Jenkins? Will it cause tests to fail? Should you leave the computer used for Jenkins idle or can ...
user avatar
1 vote
0 answers
602 views

How do you get Jenkins to count the build run as pass when failed testng tests are retried and passes? [duplicate]

How do you get Jenkins to count the build run as pass when failed TestNG tests are retried and passes? Description: I have two tests that ran. Test1 passed, but Test2 failed then on retry it passed....
user avatar
2 votes
2 answers
2k views

How to automatically rerun failed TestNG tests on Jenkins and update the final results to pass if retries passes?

How to automatically rerun failed TestNG tests on Jenkins and update the final results to pass if retries passes? Description: I have two tests that ran. Test1 passed, but Test2 failed then on retry ...
user avatar
1 vote
1 answer
1k views

How to execute 'bat' as a local user in Jenkins - Pipeline

I have to create a Pipeline from the Jenkins 'master' which execute a batch as a specific user on a slave machine. In the following example: The slave machine is identified as 'my_node'. Jenkins '...
user avatar
  • 101
0 votes
0 answers
1k views

Is it possible to pass testng.xml and test name as single parameter in Jenkins?

I have below testng.xml file : <test name="Product_Listing_Page" enabled="true"> <parameter name="scenario.file.loc" value="scenarios/plp.bdd"></parameter> <groups> ...
user avatar
  • 1,573
1 vote
0 answers
405 views

Best Continuous Integration strategy for Mobile Testing using Appium, Jenkins, Docker, Kubernetes

we are currently focus on the Mobile Testing using Appium as a mobile testing tool (with our own framework based on Appium) and using Jenkins and Android/iOS emulators/simulators to launch the test ...
user avatar
1 vote
1 answer
165 views

Future-proofing Performance Test Scripts across environments for Continuous Integration - using LoadRunner and Jenkins

Here is the AUT workflow across environments: Code moves (and gets stable) from dev > QA > Stage > Prod Data moves (and gets dirtied) from Prod > Stage > QA > dev We have ...
user avatar
  • 409
0 votes
1 answer
2k views

No files displaying (.log and .jtl files) in jenkins Workspace post running a JMeter jmx script via jenkins?

Running a JMeter script via Jenkins with Performance plugin via Windows batch command as: cd C:/apache-jmeter-4.0/apache-jmeter-4.0/bin jmeter -n -t C:/Users/Administrator/Desktop/JMeter/Suite.jmx -l ...
user avatar
1 vote
1 answer
68 views

I am new to automation. I am researching on how can I create a Jenkins pipeline to build image in docker container?

Its a TDD environment and I wanted to create a Jenkins file through code which different teams can pull in their projects and start writing tests.
user avatar
4 votes
1 answer
10k views

How to push my JMeter project to Github and run it via pipeline from Jenkins

I have a .jmx file and I run it in NON-GUI mode on my local machine. I'd like to push my project to Github and run it via pipeline from Jenkins. How can I do that? Do I need to push the whole JMeter ...
user avatar
1 vote
1 answer
2k views

How do I switch reporting from allure reports to extent reports in an existing automation framework?

I have been handed an existing framework that uses allure reports for reporting purposes. I am not really liking allure reports for primarily a couple of reasons: It displays the results only after ...
user avatar
0 votes
1 answer
410 views

How do I view the blazemeter sense report when I run the jmx script via the terminal or Jenkins?

Recently added the blazemeter sense uploader plugin for reporting purposes and it is really nice. Post running the script, you get a sense.jtl file and a url to view the reports on the browser with ...
user avatar