Jenkins with Cucumber not working, please help !!

49 views
Skip to first unread message

Vinoth Kannan

unread,
Oct 13, 2016, 1:53:46 PM10/13/16
to Jenkins Users

Hi,

 

I have a maven project, in which i have used Cucumber with Junit runner.

Now i tried of integrating it with jenkins and was able to invoke the script through simple command "mvn test" from jenkins

But when i clicked on Cucumber-JVM report its not showing anything other than build number.

 

I just went to manage plugins, searched Cucumber and downloaded all the plugins named with cucumber.

 

 

I got the below one:

Project

Number

Date

Cukes

10

28 Sep 2016, 19:32

Features Statistics

The following graphs show passing and failing statistics for features

You have no features in your cucumber report

 

Rachel

unread,
Oct 13, 2016, 4:50:07 PM10/13/16
to Jenkins Users
Hi Vinoth,

I'm not sure if you executed Maven command after plugins installation or if you restarted Jenkins after installation.

I think you're looking for Cucumber Reports Plugin and you have detailed information about configuration here.

I hope be useful.

Best regards,
Rachel

Vinoth Kannan

unread,
Oct 15, 2016, 3:23:36 PM10/15/16
to Jenkins Users
Hi Rachel,

Thanks for replying.

I am actually starting the Jenkins using java -jar jenkins.war command in my local. so when i restart my machine even that would be restarted right/when i execute the command again that gets restarted.

Still i am facing this issue.

I have planned for a demo of cucumber with jenkins and this is blocking me..


Please help

Victor Martinez

unread,
Oct 15, 2016, 5:37:06 PM10/15/16
to Jenkins Users
If you google a bit you can find some video tutorials of using Jenkins and Cucumber:

Hope it helps
Cheers

Vinoth Kannan

unread,
Oct 18, 2016, 6:23:01 AM10/18/16
to Jenkins Users
Thanks Victor for your reply, I actually followed it and i am able to trigger the test cases through jenkins and my issue is only with the reporting part.

Installed all the plugins jenkins provides for Cucumber and restarted 
Reply all
Reply to author
Forward
0 new messages