How do you use the Jenkins CLI?
Suggested Answer: C
Get Premium CJE Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
When a build breaks, fixing it should be the priority of everyone on the project
40 comments · newest first
AL
Alba
11 months ago
I always just use the web interface, never tried the CLI.
CH
Chi
11 months ago
Jenkins CLI is super handy for automation!
NI
Nida
11 months ago
Wait, I thought there was no Jenkins CLI?
DA
Darrin
11 months ago
Totally agree, that's the right command!
DE
Desmond
11 months ago
You use `java -jar /var/lib/jenkins/jenkins-cli.jar -s http://:8080/` for the CLI.
FE
Felicidad
12 months ago
I remember reading about the Jenkins CLI, but I thought it was just "jcli" or something similar.
CA
Carissa
12 months ago
I’m pretty sure there is a Jenkins CLI, but I’m not confident about the syntax. Was it something simple like "jenkins"?
CH
Chandra
12 months ago
I feel like there was a practice question about starting the Jenkins CLI with a specific URL. Is it something like "java -jar"?
BA
Barb
1 year ago
I think the Jenkins CLI is accessed using a jar file, but I can't remember the exact command.
KI
Kina
1 year ago
Okay, I've used the Jenkins CLI before, so I know the answer is C. The key is remembering the location of the jenkins-cli.jar file and the URL to connect to the Jenkins server.
CA
Cathern
1 year ago
The Jenkins CLI? I'm not familiar with that at all. I'm going to have to guess on this one. Maybe I should have paid more attention during that Jenkins lecture.
KR
Kris
1 year ago
I'm pretty confident I know how to use the Jenkins CLI. I think the answer is C - java -jar /var/lib/jenkins/jenkins-cli.jar -s http://:8080/.
ME
Merri
1 year ago
Hmm, I'm not totally sure about this one. I know there's a Jenkins CLI, but I can't remember the exact command to use it. I'll have to think this through carefully.
JA
Jamal
1 year ago
Ah, I see the options now. I'll have to weigh the different scenarios to determine the best answer.
CE
Cecily
1 year ago
I'm pretty confident I know how to interpret these project management metrics. The negative schedule variance and SPI under 1.0 definitely point to the project being behind schedule, so A seems like the best choice.
TE
Terry
1 year ago
I heard the Jenkins CLI is like a secret super-power that only the elite Jenkins users know about. Glad I found option C!
BA
Barabara
1 year ago
I didn't know about option C, thanks for sharing!
GA
Gail
1 year ago
It's true, the Jenkins CLI can be a powerful tool for advanced users.
CA
Carin
1 year ago
I always use 'java -jar /var/lib/jenkins/jenkins-cli.jar -s http://:8080/' for Jenkins CLI.
VA
Valentine
1 year ago
Option C is the way to go for using the Jenkins CLI.
RE
Reuben
1 year ago
C is the way to go. I remember reading about this in the Jenkins documentation. Solid choice.
CA
Carlee
1 year ago
Thanks for the info! I'll make sure to use that command next time I need to use the Jenkins CLI.
ED
Edna
1 year ago
Yes, using the java -jar command is the correct way to use the Jenkins CLI.
RE
Regenia
1 year ago
C is the way to go. I remember reading about this in the Jenkins documentation. Solid choice.
MA
Maurine
1 year ago
D. jenkins? Really? That's like saying 'How do you use the Git CLI? D) git'. Come on, people!
EI
Eileen
1 year ago
I agree, using 'jenkins' as an option is not very helpful.
TH
Thaddeus
1 year ago
D) jenkins
SI
Simona
1 year ago
C) java -jar /var/lib/jenkins/jenkins-cli.jar -s http://:8080/
FA
Fatima
1 year ago
A) jcli
LE
Leatha
1 year ago
Hmm, I thought there was no Jenkins CLI. Guess I was wrong. Option C it is!
ED
Eden
1 year ago
Yes, you can use the Jenkins CLI with the command java -jar /var/lib/jenkins/jenkins-cli.jar -s http://:8080/
BE
Bethanie
1 year ago
Option C is the correct way to use the Jenkins CLI.
WI
Winfred
2 years ago
I'm not sure, but I think I've heard about using jcli as well
LI
Lilli
2 years ago
I agree with Lashawnda, option C) seems like the correct way to use Jenkins CLI
MA
Marguerita
2 years ago
Option C looks like the correct way to use the Jenkins CLI. I've used it before and it works great.
LA
Latonia
1 year ago
I didn't know there was a Jenkins CLI, I thought there wasn't one.
KR
Kris
1 year ago
I prefer using jcli for Jenkins CLI.
HE
Herminia
1 year ago
I agree, I've used it before and it works great.
CA
Cassandra
1 year ago
Option C is the correct way to use the Jenkins CLI.
LA
Lashawnda
2 years ago
I think the answer is C) java -jar /var/lib/jenkins/jenkins-cli.jar -s http://:8080/