Комментарии:
Hi Sir, I need a maven code for java 17 version in git. In ubuntu server i tried to install 11 version but got some error and installed latest 17 version. so i need java 17 code, i dont have idea how to change the version in code.
ОтветитьHi Mukesh. I am trying to setup smoke test run from my automation for a project. But whenever I run mvn test command with tags specified, it downloads all the dependencies and build the project and then run. Even from Jenkins. Can you please tell me how to run tests only and not build everytime.
ОтветитьHow to use the listeners program in the project. I am getting an error while running pon.xml in Jenkins.
ОтветитьHi
ОтветитьHi mukesh, i tried all the steps mentioned but it is not able to change the directory when i do cd ... And then mvn clean test... Mvn clean test applies on the previous jenkins main directory not on the project file directory
ОтветитьIt didn't work for me I tried every method
Ответитьam not able to get any link about how to create or configure a maven project. please share the link
ОтветитьI get error when I try to 'Execute Windows batch commad'.
cd D:\eclipse-workspace-sat\selpomprj2
mvn clean test
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory.
Really good
ОтветитьExcellent instructions. Particularly liked the progression in terms of Jenkins configuration options from Freestyle project to Maven project. Looking forward to video covering Github integration with Jenkins.
Ответитьcd command not working for other drive like D drive or other
ОтветитьHi Mukesh,
I m facing the below error. Any solution please..
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
Hi, I did not get one point. You used the local machine path for Maven Installation section and Build section like (C/..., E/) ? How to use local machine path on Jenkins?
ОтветитьHow this pom.xml you got?? Can we connect??
ОтветитьHello Mukesh
I’m getting this error Parameter Browser is required by @Test on method startbrowser but has not been marked @optional or defined in the location of the project
Ps. I already downloaded the project
Great video sir thank you very good explanation 👏👏
ОтветитьJenkins not supported by java 16 ??
ОтветитьToo good explanation ! 👏
ОтветитьGood content and excellent explanation!! Thank you so much Mukesh!!!
Ответитьnice
ОтветитьNot able to find the playlist for maven in description. Please reply
ОтветитьI am getting error when i run the maven project in Jenkins
Started by user Shankar
Running as SYSTEM
Building in workspace C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\workspace\FirstMavenProject
Parsing POMs
Established TCP socket on 59859
[A_Maven_FirstFramework] $ "C:\Program Files (x86)\Java\jdk1.8.0_201/bin/java" -Xms256m -Xmx512m -cp "C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven35-agent-1.13.jar;C:\Program Files (x86)\apache-maven-3.8.1\boot\plexus-classworlds-2.6.0.jar;C:\Program Files (x86)\apache-maven-3.8.1/conf/logging" jenkins.maven3.agent.Maven35Main "C:\Program Files (x86)\apache-maven-3.8.1" C:\Windows\System32\config\systemprofile\AppData\Local\Jenkins\war\WEB-INF\lib\remoting-4.7.jar C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven35-interceptor-1.13.jar C:\WINDOWS\system32\config\systemprofile\AppData\Local\Jenkins\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.13.jar 59859
Error: Could not find or load main class jenkins.maven3.agent.Maven35Main
ERROR: Failed to launch Maven. Exit code = 1
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Did not find any matching files.
Finished: FAILURE
Great way to start the day Sir. It's 5:30am and I already have the feeling that I learnt something today. Kudos to all your efforts 👍👍
ОтветитьHi Mukesh,
Getting below error :
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[Utils] [ERROR] [Error] org.testng.TestNGException:
Parameter 'Browser' is required by @Test on method startBrowser but has not been marked @Optional or defined
in C:\Personal\Workspace\Jenkins\mavenjenkins-master\testng.xml
Parameter 'Browser' is required by @Test on method startBrowser but has not been marked @Optional or defined
in C:\Personal\Workspace\Jenkins\mavenjenkins-master\testng.xml
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] UITest.startBrowser » TestNG
Parameter 'Browser' is required by @Test on meth...
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Hi Mukesh, Thanks for the video. Could you plz share the maven project for reference.
Ответитьjenkins console running but browser not getting launched. Can you please help / suggest Mukesh ?
ОтветитьCould you please make a video on how we can rerun only failed cases,if our build got failed because of some failed test scenarios..I want to rerun failed cases in Jenkins only..and I am using maven project
Ответить