This is probably a users list question, not a dev list question.
I recommend you use the -i option to specify the SSH private key. A key can be only associated with one user, so this implicitly determines the user you are impersonating.
On 04/17/2013 03:34 AM, mallikarjuna y wrote:
Hi, I want to trigger jenkins build from remote server using jenkins-cli *with different username like* java -jar jenkins-cli.jar -s JENKINS_URL build JOB_NAME *<USERNAME>* Is it possible ? please let me know. Thanks in advance... Mallikarjuna -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
-- Kohsuke Kawaguchi | CloudBees, Inc. | http://cloudbees.com/ Try Nectar, our professional version of Jenkins -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
