reportportal / plugin-jenkins

Jenkins CI Plugin - represents statistics and visualization at Jenkins job page
GNU General Public License v3.0
4 stars 5 forks source link

How do I actually configure and use the plugin #5

Closed els-pnw closed 5 years ago

els-pnw commented 6 years ago

I have installed the plugin, as available from the Jenkins plugin page (instead of building from source). In installing 0.5 of the report portal plugin and restarting Jenkins I am unclear where to go next. The only place I see an option for configuring or using the plugin is from the post-build actions. Here I have configured:

Rest endpoint: http://reportportal_example:8080/ui/#api Project: test_project

When I click check connection I get a successful message; however, when I run the build ('build now') the job will fail and no results are posted. The Readme.md file is a bit lacking here, can you provide any additional details on where to go next.

pbortnik commented 6 years ago

What do you see in logs of your job build?

talmoshe commented 6 years ago

What do I put in Launch and Token fields?

DzmitryHumianiuk commented 6 years ago

@SiarheiDubovik can you plz assist?

DzmitryHumianiuk commented 6 years ago

@eanxgeek did you resolve your issue?

els-pnw commented 6 years ago

I have not had a chance to try again, I'll see if I can test again.

navinchandrac commented 5 years ago

Need steps by steps information, How to configure and use the ReportPortal Jenkins plugin.

ShivaPotlapelli commented 5 years ago

Hey DzmitryHumianiuk,

I am able to configure the report portal plugin but can you help me out in using it.

DzmitryHumianiuk commented 5 years ago

@ShivaPotlapelli https://www.youtube.com/watch?v=jqzFfVV0OvM first 30 seconds. nothing changed from that time.

noama-nv commented 5 years ago

can you show job configurations? is this plug can work in pipeline?

DzmitryHumianiuk commented 5 years ago

plugin is pretty outdated. we might think of killing it.

katcaola commented 5 years ago

@DzmitryHumianiuk Would you write another plugin that is more up to date? What reasons are there for deprecating it?

DzmitryHumianiuk commented 5 years ago

@katcaola there is no such a plans.

The reason it has super low priority is simple: it doesn't bring much of benefits.

In a meanwhile, users realizes that they don't need it at all, since they check results right in ReportPortal. And don't need this step in the middle, to see results at Jenkins page. If feel like you are missing it, because you still have a habit to see results at Jenkins pages first.

When you go deeper with RP usage, you check results only in RP, skipping Jenkins pages. Cause you need Jenkins only to execute the job.

The next level of adaptation will be understanding that you you want to call Jenkins actions from ReportPortal screen. That is the moment when such type of requests appears https://github.com/reportportal/reportportal/issues/143

that's why we focusing on features in RP, rather then on Jenkins plugin.

katcaola commented 5 years ago

@DzmitryHumianiuk Does this mean you don't need to install the jenkins plugin, if you want to send results/logs from a jenkins build to RP?

DzmitryHumianiuk commented 5 years ago

@katcaola yes, it is. there is no need in any jenkins plugin.

RP adapter connects to test cases (testing engine, like junit, testNG, nunit, etc.) And there is no any difference where you execute results, at local env, remote env, or with jenkins.

RP adapter will send data directly into RP server.

katcaola commented 5 years ago

@DzmitryHumianiuk Are there any READMEs or examples of the RP adapter that I can read about? Thanks :smiley:

DzmitryHumianiuk commented 5 years ago

@katcaola https://reportportal.io/download section 4

click required agent. it will lead to github page with instructions

dbisht29 commented 5 years ago

I am also facing the same issue. Connection is successful but when I build the job status is marked as failure and no results are posted. Any update on this issue ?

jainriteshkumar17 commented 5 years ago

can someone share the download link for the plugin

DzmitryHumianiuk commented 5 years ago

https://mvnrepository.com/artifact/org.jenkins-ci.plugins/reportportal?repo=springio-plugins-release

Manoj0251 commented 5 years ago

I am also facing the same issue. Connection is successful but when I build the job status is marked as failure and no results are posted. Any update on this issue ?

Can anyone help me with the issue ?

DzmitryHumianiuk commented 5 years ago

it's outdated and deprecated.

you don't need it to run tests.