Asad Iqbal
Asad Iqbal

Reputation: 3321

Issue while copying plugin to jenkins/plugins directory.

I am working on Ubuntu. And need to copy perforce plugin file to jenkins/plugins directory. Since the directory is owned by jenkins user; I want to logon as jenkins user to do any work in this directory. How can I get jenkins user's passowrd? Am I going in the right direction? In general what is the preferred method of copying files to a directory in Ubuntu not owned by current user.

The perforce plugin does not appear on the plugin manager page; hence going the download+copy route.

Upvotes: 0

Views: 198

Answers (1)

Asad Iqbal
Asad Iqbal

Reputation: 3321

To logon as jeknins user, I couldn't simply use su jenkins as I didn't have jenkins user's password. So I used:

$ sudo su jenkins 

Also, after I looked again at the 'Manage plugins' page, I found perforce plugin. Somehow, I missed it on my first pass.

Upvotes: 1

Related Questions