0% found this document useful (0 votes)
5 views7 pages

Devopsciautomation Eclipse Git Jenkins 170104101059

Uploaded by

cristian080989
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views7 pages

Devopsciautomation Eclipse Git Jenkins 170104101059

Uploaded by

cristian080989
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

DevOps – Continuous Integration Automation

Eclipse ->Git/Github -> Jenkins


DevOps

Continuous Feedback

Continuous Continuous Continuous Continuous Continuous


Development Integration Testing Deployment Monitoring
Eclipse -> Git
Create a new java project in
Eclipse -> Add an object in the
new Java project -> Add a class
in the object -> Write some
working code in the class ->
Add the project in local Git
repository -> Make some
changes in the java code ->
Commit the changes in local Git
repository using option right
click the java project -> Select
team -> Press commit -> Update
details in Git staging window ->
View the commit done in
history window ->
Eclipse -> Git -> GitHub
Create a remote repository in GitHub
from Git Repositories window of
Eclipse -> Push the committed change
of local Git repository into the remote
GitHub repository ->
Eclipse -> Git & GitHub -> Jenkins
Create a freestyle project in
Jenkins -> Select SCM option as
Git and update local Git
repository address as repository
URL in the Jenkins project
configuration ->
Add a Jenkins server in Eclipse
using build window -> Select a
build job -> Run the build from
Eclipse.
Trigger a Jenkins job from a script

Update the Jenkins build job


configuration with option -> trigger build
remotely and adding the authentication
key ->

Create a post commit script in hooks


folder of the Git -> Add following
command – “curl --user <UserName>:<API
Token of the user> <Jenkins URL of Job
to be build>?token=<authentication key
of the job>” in the post commit script ->
Add a change in the local Git repository
master from command line -> Commit
the change from command line -> Git
commit will execute the Jenkins job.
Thank you
http://solutionframework.blogspot.in

You might also like