How To Configure global configuration tools (e.g. Docker) with the groovy/java-API

2019-09-12 Thread 'Dan Steffen' via Jenkins Users
Hello,

I am already ask at stack overflow 

 
and I am not sure how long I have to wait before I ask at another place. 
But for me it looks like nobody can help me at stack overflow that's why I 
am asking here again.

My problem is, that I would like configure some tools in the global 
configuration tool section e.g. docker. I already found snippets how to do 
this for maven 
and
 
sonarqube 
and
 
based on this configuration I try to wrote my own groovy-skript to set the 
configuration for docker:

import jenkins.model.*
import hudson.plugins.*
import hudson.plugins.docker.*
import hudson.plugins.docker.model.*


def inst = Jenkins.getInstance()

def desc = inst.getDescriptor("hudson.plugins.docker.commons.tools.DockerTool")


but at this point I am stucking at the moment because I cannot figured out 
to set the nesecarry fields. I try:

def sinst = new DockerInstaller("test")

but this gaves me an "unable to resolve class DockerInstaller"-Error.

I would very thankful if someone here can give me an hint how to configure 
this because the only other option i see is to use the configuration as a 
code plugin but I think this is to much for just one configuration setting.
best regards
Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/12a91df3-a87b-4466-a80f-782749b50bd5%40googlegroups.com.


Define sonarqube/sonar-scanner folder specific

2017-03-20 Thread 'Dan Steffen' via Jenkins Users
Hello,

we use in our company a combination from folders and job restriction to 
separete different projects team by eachother on the same Jenkins Master 
Server. But now a Team would like to use sonarqube and I would like to ask 
can I restrict the access of the Sonarqube Installation for a Team (e.g. 
bei define the Folder which can use it?), because at the moment I only 
found the global definition for sonarqube-Installations
I would very thankful if someone can give me a hint how I can do this (if 
it possible at all).
best regards
Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/8d4c7616-07a6-437e-93eb-0905129c4c86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Slaves/nodes only visible for specified group?

2016-05-09 Thread 'Dan Steffen' via Jenkins Users
Hello,

we plan in our company a master jenkins Server and in every team at least 
one node/slave so the teams can configure there jobs on the master and run 
it on there own hardware/environment. But now I have the probleme to hide 
the nodes of one team for the other teams. I already configure with the 
roles-strategy-plugin and the job-restriction plugin to allow the jobs of a 
team only on there own nodes and hide the jobs for the others teams. But I 
didn't find a way to hide nodes.
I already think about it to create a view and use the labels of a node, but 
I hobe there is a way configured it directly on the nodes.
Maybe someone here can help me, I would very thanksful
best regards
Dan


PS
I hope my english is not to bad to understand my problem?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/90f8faf4-ce7e-4210-946f-e30a0631a0ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Bind Usergroup to specified node(s)/slave(s)?

2016-04-29 Thread 'Dan Steffen' via Jenkins Users
Hello,

excuse my late response the Job Restrictions Plugin was exactly that was i 
looking for. Thanks for your help
best regards
Dan

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/58ea4917-530e-4f34-9c23-8bba0af44092%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Bind Usergroup to specified node(s)/slave(s)?

2016-04-25 Thread 'Dan Steffen' via Jenkins Users
Hello,

we start at office to work with one central-master jenkins server for the 
administration (job-definitions, user management etc.) and one or more 
nodes per team, this works without problems. But we look for a 
configuration so we could bind the nodes to the usergroups we use to 
organized the teams so not a team can use the nodes of another team.

I already found out that you can defined the node at the job, but in the 
best case the Teams can defined the jobs by there own. I don't know if I 
explained it very well what is our goal. But if somebody understand our 
problem I would very thankful for every useful hint.
best regards

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/7ffc0982-2554-4cfc-8740-887a95027ba8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.