Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jenkins]

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

0
votes
2answers
609 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 ...
-1
votes
0answers
335 views

Chrome runs in headless mode for the first time and crashed on running the selenium script in Jenkins(Linux Server) from 2nd build

I have done the following configurations, Xvfb display - 99 Google Chrome - 69 chromedriver - 2.42 added the line of code in selenium script - chromeoptions.Addarguments("--headless") source code ...
0
votes
0answers
29 views

Jenkins Server url-Unable to perform Google oauth authentication

I am running selenium scripts from Jenkins server configured at [http://****.****.com:8080/]. The script reads data from google spreadsheet and execute the testcases. For which I used google oauth for ...
1
vote
1answer
28 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 ...
1
vote
0answers
28 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....
2
votes
2answers
155 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 ...
-1
votes
0answers
84 views

Not able to run selenium scripts from Jenkins

I am running selenium scripts using eclipse.Now I want to schedule it using jenkins. Which are the jars apart from selenium jars should I place in my project lib folder and what should be the content ...
0
votes
0answers
16 views

Disable log4j in SoapUI programatically

I need to disable all logging in a soapUI project so that it's saved to the project file. I've researched and everywhere says to disable it in the log4j/bin config files but this will not work. We're ...
0
votes
0answers
13 views

Jenkins Job vs Jenkins Pipeline

BACKGROUND : We have one Selenium automation project which is shared in BitBucket repository. Project is maven project. we have 10 testng.xml files for all modules OVERVIEW: Now we want to trigger ...
0
votes
0answers
34 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 '...
0
votes
0answers
193 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> ...
0
votes
0answers
130 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 ...
1
vote
0answers
53 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
1answer
179 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 ...
1
vote
1answer
57 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.
2
votes
1answer
541 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 ...
0
votes
1answer
214 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 ...
0
votes
1answer
123 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 ...
6
votes
5answers
165 views

How does Continuous Integration add value to Automation Testing?

How do I gain the value from CI tools as an Automation Tester? What are the advantages to using such tools and how do they help me and the company in the development process ?
0
votes
2answers
167 views

Testcase fails when running as a Jenkins project

I have a simple test case where it asserts the Width and Height of an element. Assert.AreEqual(Height, 170, 100); Assert.AreEqual(Width, 636, 100); The test case passes when it runs using VS test ...
2
votes
0answers
125 views

SonarQube: Auto assign issues doesn't work

Currently, I have an integration between GIT, Jenkins and SonarQube as described in this pseudo workflow: commit----> AWS CodeCommit (GIT) <-> Jenkins <-> SonarQube Scanner for Maven &...
1
vote
2answers
397 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 ...
0
votes
1answer
952 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
vote
1answer
1k views

Unable to run cucumber tests from command line

I know this is the most common question but sorry I am posting this again as I tried all the solutions but couldn't solve the issue, Problem: I am unable to run my cucumber tests through maven and ...
0
votes
0answers
1k views

How do I run my C# Unit Test Cases using Jenkins?

I have prepared few Unit Test cases using Selenium-C# and MS Unit Test framework for a web application. I am using Selenium WebDriver for automation. My tests run perfectly fine when I run them ...
1
vote
0answers
17 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
0answers
74 views

Is there any way to get the LoadRunner Performance Center test result to an email via Jenkins?

Is there any way to get the LoadRunner Performance Center result (Whether test is Pass or Fail) to an email which continuous integrated using Jenkins. I have configured LoadRunner Performance center ...
1
vote
0answers
72 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
0answers
265 views

Cobertura analysis reporting “[ERROR] SLF4J: Class path contains multiple SLF4J bindings.”

Cobertura is reporting that there are multiple SLF4J bindings in the classpath, actually both related to different versions of the logback-classic artifact: [ERROR] SLF4J: Class path contains ...
3
votes
1answer
1k views

Cron format, definition of H in .yml file [closed]

I am a beginner in software testing. I was going through the .yml file used to schedule the regression runs and came across this: schedule: "H 1 * * 1,4" I know about cron format, but what I can ...
0
votes
0answers
22 views

Sharing Jenkins Build across nodes

Currently I have 20+ Jobs (each job is associated with an testng test suite)in Jenkins. each jobs clone the repo from git. creates a workspace in jenkins nodes and execute the scripts. is there any ...
1
vote
1answer
406 views

Multiple TestNG Reports to one Report

Currently I have 20+ Test Suite which run as individual Job in jenkins. This will generate respective testng report on the nodes that it ran (index.html). can i consolidate all the 20+ reports into ...
0
votes
0answers
45 views

Why the following Error generates “spawn call npm run coverage ENOENT” , if i Execute the code coverage?

We have more than 2000 test cases in our source. To generate the code coverage in less time,I have implemented the parallel execution of test cases with npm-concurrently package and chrome headless ...
1
vote
1answer
2k views

Running Protractor tests from Jenkins

Usually, I used to run from command line (protractor config.js). I used protractor and java script. PLS LET ME KNOW STEPS TO ACHIEVE RUNNING FROM JENKINS To run from Jenkins , I created a batch file ...
1
vote
0answers
91 views

How to perform continuous Integration using Jenkins? [closed]

I've the basic idea about the Continuous Integration using Jenkins like- basic project setup, setting up source code management bit-bucket and build the project. I have done this so far and following ...
3
votes
1answer
1k 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
0answers
281 views

Jenkins Warnings plugin: excluding messages [closed]

We have installed and enabled Jenkins' Warnings Plugin and, we are using it's Maven parser to detect warnings in the task execution log. This plugin has a set of advanced options that are supposed to ...
3
votes
1answer
453 views

Jenkins: failing builds on warnings

I've been reading the book "Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation (Addison-Wesley Signature Series (Fowler))" And these paragraphs drew my ...
1
vote
0answers
310 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 ...
0
votes
2answers
325 views

How to couple JMeter with Jenkins?

I'm trying to setup Jenkins on my laptop to run JMeter scripts. I have setup the job on the localhost also added the plugin required in JMeter. My window batch command looks like: C:\apache-jmeter-3....
1
vote
0answers
24 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 ...
2
votes
1answer
1k views

Best way to set up selenium grid node using Jenkins as hub?

This is a an open-ended question, and if there's a better place to post it just let me know. I have a large amount of selenium tests that I want to run using Jenkins. Currently, I have Jenkins ...
2
votes
1answer
925 views

What should I enter in Username & Password fields for recently installed Jenkins setup?

Team, I have just installed Jenkins on one of my machine. In between due to some other activity, I moved few min away. When I returned I observed my Jenkins page asking me Username & Password. ...
0
votes
1answer
526 views

How to connect Jenkins to my test folder saved on my C drive?

I'm getting the error message below: Building in workspace C:\Program Files (x86)\Jenkins\workspace\Motor Trade [Motor Trade] $ sh -xe C:\Windows\TEMP\jenkins8268766883038519599.sh The system cannot ...
1
vote
1answer
639 views

Attaching screenshots to JUnit test reports

We run our tests on Jenkins using Protractor generating a JUnit XML test report via JUnitXmlReporter from jasmine-reporters. Is it possible to attach screenshots, with the current state of an ...
2
votes
2answers
86 views

UI Test framework from the ground up

I have explored some test automation tools and I thought I'd go with WebDriverJS (Selenium/JavaScript using Node.js) with Mocha as the test framework. I have been able to write out scripts that do ...
0
votes
3answers
5k views

Can I execute selenium test cases in a real browser through jenkins without grid

Am executing Selenium test cases from Jenkins locally but execution is happening in back-end am not able to see the browser launch and close. Is it possible to see the execution when I trigger from ...
1
vote
0answers
66 views

Add hosts to a job on Jenkins

Currently there are many (> 5) Jenkins nodes (aka slaves). On each of those nodes there is a file with hosts. Those hosts have to be available on each of nodes (> 5 files) and, unfortunately, they ...
1
vote
1answer
3k views

Showing NoClassDefFoundError after executing testng.xml file through command prompt

I am trying to execute a testng.XML file through the command prompt which I will use later in Jenkins with the batch file. Executed XML file gives me the following exceptions. C:\Users\Vinay\...
0
votes
1answer
60 views

Legacy Code Testing with Jenkins on PHP

We are trying to integrate pull request based testing into our legacy code and the problem is there are lot of errors and warnings needs to be fixed. So, our first step is while merging new branches ...