hi Batmat,
thanks for your help.
I create a shell execute commande and add: $ git diff-tree --no-commit-id 
--name-only -r GIT_COMMIT

but how to copy theses files and how to put in the publish over ssh 
parameters such as Source files, Remove prefix ?
I read the documentation 
https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+SSH+Plugin, but I 
don't know how to do?

thanks

Le jeudi 17 décembre 2015 07:19:42 UTC-5, Baptiste Mathus a écrit :
>
> Hi,
> What is "commit files"? Do you mean something like "the files that were 
> touched by the last commit" ?
>
> If so, then it should be pretty easy to introduce a shell step for example 
> that would call something along
>
> $ git diff-tree --no-commit-id --name-only -r bd61ad98 
> <http://stackoverflow.com/a/424142/345845>
>
> Then copy those files in a directory, and configure publish over ssh to 
> push all the files of that dir.
>
> My 2 cents.
>
> Cheers
>
> 2015-12-16 21:46 GMT+01:00 Ismaila Baradji <baradji...@gmail.com 
> <javascript:>>:
>
>> Hi, 
>> I am trying to configure my job to send only commit files.
>> I have tryed with run ssh and after publish over ssh but no one is not 
>> working.
>> any idea?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jenkinsci-use...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/f1dbe378-8d59-40ff-985c-291a7f1af188%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/f1dbe378-8d59-40ff-985c-291a7f1af188%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ab858133-6ddc-4c8e-b541-5b923ec2264f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to