Can we execute a Jenkins job from Eclipse?
Yes, by following these steps:
- Go to
Help
|Install New Software...
:
- Add a site for
Mylyn
and click onNext
:
- Review the items to be installed and click on
Next
. - Accept the terms of the license agreement.
- Click on
Finish
. - It will start installing the
Mylyn
package. Once it is finished, restart Eclipse.
- In the Windows menu, click on
Views
. - Select
Mylyn
and click onBuilds
. - Click
OK
:
- In the
Builds
section, click on thebuild server
link:
Build Section is Eclipse IDE with No build server configured
- Select
Hudson (supports Jenkins)
and click onNext
:
- Provide Jenkins
Server
,User
, and Password details. ClickFinish
:
- Find the list of jobs in the
Builds
section.
- Select any job and click on
Run Build
to execute it from Eclipse:
Try other options as an exercise.