• Post Reply Bookmark Topic Watch Topic
  • New Topic

Find a folder  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am running Jenkins in my local, I need to go here and I cant find it in my Mac like this: I get this:

I need to reach that folder when following this tutorial:

Is it time to build yet?
Yes. Yes it is. In the left sidebar of Jenkins click the Build Now link. It will eventually fail because it's trying to download too many packages from GitHub while being unauthenticated. We can fix this by changing into the job directory, cd /var/lib/jenkins/jobs/your-project-name and manually running Composer with composer update. After a few successful package downloads, you will be prompted to enter your GitHub credentials. When you do, the packages will continue to be downloaded.


Any idea, please?

Regards, Isaac


 
Campbell Ritchie
Marshal
Posts: 56578
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
campbell@campbellsComputer:~$ find /dev/fd/3
/dev/fd/3
Let's see what I can find in my O'Reilly book Linux in a Nutshell (Siever Figgins Love and Robbins) page 139
It says find takes pathname followed by tags for the conditions, defaulting to starting from the current directory. If you start a pathname with / it obviously goes to the filesystem root, otherwise it assumes your path starts from the current directory. So when I went to ~, this:-
find java/ -name Char*.java
gave me quite a lot of files with names beginning Char.
I suggest you try
cd /var/lib
ls j*

to see whether the jenkins folder is there at all. I haven't got one myself, but I am not using Jenkins.
find /home/ -name Char*Printer.java -type f
works for me, finding about 6 kind sof CharacterPrinter files.
 
Ron McLeod
Bartender
Posts: 1603
232
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
/dev/fd/x are the file descriptors for your process (0=stdio, 1=stdout, 2=stderr). I don't know how find works internally, but my guess would be that during one phase it might have built a list of file nodes that required creating a pipe or something resulting dev/fd/3, and in a subsequent phase it when going through the list, /dev/fd/3 didn't exist anymore.

If you don't want to see these and possiblly othher messages such as Permission denied, either do as Campbell suggested and start somewhere other that the top of the file system, or redirect the error mesages off some place where you won't see them such as: find / -name jenkins -type d 2> /dev/null.
 
Tim Holloway
Saloon Keeper
Posts: 18799
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have it installed, the "locate" command is often better for that kind of stuff. It builds a database that can be quickly searched and it doesn't include the "files" that aren't data, such as the /dev device files and the /proc data.

Conventionally, though, the popular places to put applications are under /opt or /usr/local. For data such as workspaces, also check under /var/lib.
 
Guillermo Ishi
Ranch Hand
Posts: 789
C++ Linux Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isaac Ferguson wrote:Hi,
I am running Jenkins in my local, I need to go here


That is a valid command.
Try cd /var and if it accepts that type ls and see if the next subdirectory you need exists, then cd to that directory. Eventualy you'll find the one that doesn't exist. Use sudo mkdir and sudo rmdir to make or remove subdirectories in var.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!