Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7538701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:11:15+00:00 2026-05-30T07:11:15+00:00

I am configuring Jenkins job for uploading files from Subversion to SFTP. Publish Over

  • 0

I am configuring Jenkins job for uploading files from Subversion to SFTP. Publish Over SSH is doing quite well, but it uploads all files on every build.

For some projects we have thousands of files and upload cost more than 1 hour so that’s not an option.

Can anyone suggest a way to upload only files changed in last revision?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T07:11:17+00:00Added an answer on May 30, 2026 at 7:11 am

    You can use Subversion Plugin to poll for SVN changes and run a job that does nothing in particular. Let’s call it YourPollingJob. Then call Jenkins API via http like this:

    http://[jenkins_server]/api/xml?depth=2&xpath=/hudson/job[name='YourPollingJob']/build[id='BUILD_ID']/changeSet
    

    where BUILD_ID is the actual build id of the job you’ve just run (the usual format is something like 2012-02-21_16-15-49). Examine the result. Note that all the information about the files that have changed since the previous build is there – you just need to parse it out.

    So now you can do the following: YourPollingJob will call another job – let’s call it CopyJob – and pass to it its BUILD_ID as a parameter (via the Parameterized Trigger Plugin; make sure to call CopyJob as a post-build step, not as a build step). CopyJob will then query Jenkins via http (as above, the best way is to do it via wget), parse the results, and do the copy.

    You can do it all in one job, but it’s a bit more complicated and hard to debug.

    Also, it is probably prudent to copy the whole repository once a day (nightly).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Configuring NHibernate to display executed SQL does what it's supposed to, but whenever a
Configuring Eclipse to look exactly how you want is a tough job I've found,
I am new to Jenkins and just started configuring it. This is what i
I deployed jenkins in tomcat using war deployment with successful results. Configuring jobs &
I am configuring Struts2 and Hibernate frameworks, and I am getting an error from
For configuring my ASP.Net Application I'm using Custom Configuration Sections in my web.config. But
I am configuring hadoop on clusters. All node started successfully, but secondary node failed
We are in the process of re-configuring our server environment, from Development to Production.
Could I get some help on configuring Jenkins to use yslow? I saw on
I am configuring Oracle Database in fips compliant mode, but not able to find

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.