I have BitBucket integrated with Jenkins and FTP.
But it takes everything.
Is it possible to grab latest BitBucket commit only then transfer it over FTP?
I have BitBucket integrated with Jenkins and FTP.
But it takes everything.
Is it possible to grab latest BitBucket commit only then transfer it over FTP?
You could curl for the latest archive of a BitBucket repo, and transfer that archive over FTP.
That way, it would not grab everything.
But that means not setting the SCM field of the Jenkins job, as that setting triggers a clone or fetch of the SCM url (here a BitBucket repo), and that does transfer everything.