Questions tagged [jenkins]
Jenkins is an open-source continuous integration tool written in Java. Forked from Hudson after a dispute with Oracle.
151
questions
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 ...
2
votes
3
answers
12k
views
generating html report from soapui test results when running from maven & jenkins
I have a SOAPUI Project file with number of test suits. I have wrote a maven project to run that project file.
I am running that maven project (pom.xml) through jenkins.
As you can see in the pom.xml ...
0
votes
1
answer
120
views
Jenkins job getting stuck after 20 to 30 minutes. Giving error as packet_write_wait: Broken pipe
There is a jenkins job that runs for more than an hour which deploys code on the target server. In this job it is getting stuck after 20 minutes and after 2 hours it is giving error as :
...
0
votes
1
answer
239
views
Where to edit Script1.groovy as seen in the error?
I am very new to Jenkins - I am trying to run a multibranch pipeline script on Jenkins version 2.375.1. The builds are triggered with commits and PR's filed on Github. On committing a new file or ...
0
votes
1
answer
3k
views
Unable to create new service - Selenium + Jenkins
I have an error in my Jenkins + Selenium integration, the Selenium Grid Version is 3.7.1 (Installed by default for the Jenkins Selenium Plugin). I'm using the last chromedriver version. When I run my ...
-1
votes
1
answer
65
views
I am facing an issue on selenium java jenkins framework. Element working on Local maven project build but not working on Jenkins
And And I enter Auto Created Reseller in BA Reseller add button edit field
org.openqa.selenium.InvalidSelectorException: invalid selector: Unable to locate an element with the xpath expression None ...
1
vote
1
answer
173
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 ...
0
votes
1
answer
1k
views
Import TestNG results from Jenkins to ALM
I have Jenkins on localhost, configured test project, which is generating passed test:
@Test
public void aFastTest() {
System.out.println("---- ---- ----");
Assert.assertTrue(...
0
votes
1
answer
467
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 ...
0
votes
0
answers
602
views
Allure report not generated when one or more test cases at pending status, due to Cucumber tags
Error message; allure-results does not exist.
When test cases pass failed only report generated with no issue.
Project created by Cypress, Cucumber with typescript
Run in Jenkins/Docket image
Jenkins ...
-1
votes
1
answer
25
views
How does Test Automation fit in the Continuous Delivery pipeline?
I work with Selenium, Java, Cucumber etc...and create Automation frameworks. My team is now using a CI/CD pipeline using Jenkins. How can i contribute to the delivery pipeline with Automation?
What ...
2
votes
3
answers
4k
views
Selenium Test Suite fails to execute in Jenkins but works correctly on local machine
I have been struggling with this issue for some time and maybe someone from here has come across it and might provide me with any suggestions or solutions.
I have a fully working Test Framework with ...
3
votes
1
answer
104
views
A single Selenuim test fails under jenkins [closed]
When I run my Selenium test suite under Jenkins a test fails.
If I run the same test suite from the command prompt they all pass.
When running from the command prompt, I'm in the Jenkins worskpace. ...
0
votes
6
answers
54k
views
Unable to launch the Jenkins on browser
I Downloaded the war file from the Jenkins site and started on custom port.
"INFO: Jenkins is fully up and running" is shown after running several instructions. But when I tried it on a browser with "...
4
votes
1
answer
11k
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 ...
1
vote
0
answers
103
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 ...
1
vote
1
answer
3k
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 '...
1
vote
0
answers
675
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 ...
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 ...
2
votes
1
answer
11k
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....
3
votes
1
answer
162
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 ...
1
vote
2
answers
761
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 ...
1
vote
0
answers
407
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 ...
-1
votes
1
answer
170
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’ ...
7
votes
2
answers
4k
views
How to run tests in parallel using Robot Framework Maven plugin?
I'm using the Robot Framework Maven plugin to execute my Robot Framework scripts. I'm using this plugin because some of my keywords are implemented in Java and packaged inside an external library.
I ...
1
vote
1
answer
2k
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 ...
1
vote
1
answer
315
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.
...
1
vote
1
answer
4k
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 ...
1
vote
1
answer
781
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 ...
0
votes
1
answer
6k
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 (...
1
vote
1
answer
798
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 ...
1
vote
1
answer
74
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 ...
0
votes
1
answer
121
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 ...
2
votes
1
answer
2k
views
Jenkins HTML Publisher - Provide dynamic folder name to Path in HTML Publisher Plugin
I am generating an extent report every time my regression suite runs. The project folder structure is ProjectFolder/Results. I am running the regression suite from Jenkins job. So whenever the ...
13
votes
2
answers
25k
views
Jenkins: is there a way to fail a build if it takes more than X time?
I am looking for a way to fail a build if it will take more than X time (be it absolute (5 minutes -- example) or relative (10% more than the average of the last 5 builds -- example).
Is there any ...
0
votes
0
answers
103
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 ...
4
votes
0
answers
3k
views
Jenkins Build Is Hanging
We are using Jenkins for continuous integration. I have already created a Jenkins job for running all my robot framework automation test scripts & Everything was absolutely working fine.
But now,...
5
votes
2
answers
737
views
Validate Quality Cobol code - Jenkins, Sonarqube/SonarLint and Rational/Topaz?
In my work as a tester, I was asked to find a solution to validate the quality of Cobol code. For that I was asked to investigate Jenkins, Sonarqube/SonarLint and Rational/Topaz.
Starting point - I ...
1
vote
1
answer
531
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 ...
2
votes
1
answer
130
views
Regarding the Build job in jenkins
When I am running maven goal in Jenkins which runs soap tests which are developed using groovy, whenever there is a test failure then all the other tests are failed without any test execution from job....
1
vote
2
answers
5k
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 ...
0
votes
1
answer
433
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 ...
2
votes
2
answers
6k
views
Testcase fails in Jenkins but passes locally via testNG.xml in IDE
I've come across a strange problem when I execute my testcases via testNG.xml they are fine and passed but whenever I execute the same testcase in Jenkins I got the following exception
Element is not ...
-1
votes
1
answer
74
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 ...
2
votes
2
answers
237
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 ...
1
vote
1
answer
92
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 ...
5
votes
3
answers
602
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 ...
1
vote
0
answers
32
views
Benchmark Video Meta Testing Framework
I’m trying to find a good flow/framework to perform benchmark tests.
I have a video transcoder CLI app which get as an input a video and output a video.
I need to write a script which will compare ...
1
vote
0
answers
34
views
Cloud platform for CI Test Automation Lab setup with Windows 10 or 7 OS
We have an on-premise test automation lab where we monitor all our applications (Web Applications and Web Services) through CI Jenkins jobs. Machines in the lab have either Windows 10 or Windows 7 OS.
...
0
votes
4
answers
95
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 ...