How to list pipeline tools from Global Tool Configuration?

31 views
Skip to first unread message

Mr. Laubrino

unread,
Sep 6, 2018, 8:11:51 AM9/6/18
to Jenkins Users
While going through this pipeline documentation section https://jenkins.io/doc/book/pipeline/syntax/#tools - how can one know possible pre-configured tools if he is not a Jenkins admin? (I suppose only Jenkins admin can manage Global Tool Configuration)

Cuong Tran

unread,
Sep 6, 2018, 1:29:07 PM9/6/18
to Jenkins Users
Yes, you must be able to access that area to see a list.

Mr. Laubrino

unread,
Sep 7, 2018, 5:06:05 AM9/7/18
to Jenkins Users
Yes, but what I found is that you would need Overall/Administer permission to see that. Is it common that a user who can create a pipeline job is also an administrator? Isn't it a drawback of Jenkins system?

Dne čtvrtek 6. září 2018 19:29:07 UTC+2 Cuong Tran napsal(a):

Björn Pedersen

unread,
Sep 7, 2018, 9:58:35 AM9/7/18
to Jenkins Users
Hi,

did you try the snippet generator (or the declarative directive generator)? They both list available tools and generate the correct syntax.

Björn

Mr. Laubrino

unread,
Sep 7, 2018, 10:40:28 AM9/7/18
to Jenkins Users
I have tried /directive-generator but it doesn't show tools version. Neither for example agents' labels.

Dne pátek 7. září 2018 15:58:35 UTC+2 Björn Pedersen napsal(a):
Reply all
Reply to author
Forward
0 new messages