• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jenkins Automation

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have been assigned a task to do build automation using jenkins which should perform checkout, compile & build automatically.

Existing set up - Currently we have PVCS installed in one of our AIX server where build process(checkout,compile,build) is automated using ant script.

I have installed jenkins in my windows server.

How do i get the code into my windows server from PVCS which resides in AIX server to perform build through jenkins.

Thanks in advance.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Puli,
Welcome to CodeRanch!

Does your Jenkins instance have the PVCS pluginyet? If not, your first step is to install it. Then you can choose the PVCS radio button when configuring your job.
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Also, I noticed you posted the same question on StackOverflow We are fine with people posting the same question in multiple places. We just ask that you post a link so we know that was done. It gets frustrating to spend time helping someone only to find out they already got the answer elsewhere.

In this case, I've linked it in both directions for you, so you are good!
 
Puli Gowda
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply Jeanne.

I have installed the PVCS plugin.

Will i be able to checkout and download the code to my windows server if i configure PVCS in the jenkins job or do i need to install GIT repository in my windows server to clone with PVCS to get the code to my windows server.
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Puli,
Git and PVCS are different version control systems. Since your code is in PVCS, you use PVCS to check it out from Jenkins.
 
Puli Gowda
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the clarification.

From your reply i understood that i can checkout the code to my windows server from pvcs(residing in AIX server) by configuring jenkins job.

Correct me if i am wrong
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is correct.
 
Puli Gowda
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not sure how to configure PVCS(residing in AIX server) can be configured with jenkins installed in windows server.

Can you help me with an example.

Thanks in Advance.
 
Jeanne Boyarsky
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's an example on the project documentation page:


image from https://wiki.jenkins-ci.org

In your StackOverlow post, you say you only know a URL in a browser. I think you are going to have to ask your PVCS administrator for connection information. And credentials for that matter since Jenkins wouldn't be using your username and password.
 
Puli Gowda
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your reply Jeanne.

This will help. I will check with PVCS support team
 
reply
    Bookmark Topic Watch Topic
  • New Topic