I manage several Jenkins masters, and access them via API; I would like to
set the API token for a particular user to a known value (specifically, I
want the user to have the same token across all Jenkins masters).
Updating users//config.xml doesn't seem to do this reliably; I'm
assuming they're e
well ... it seems sort of nasty, but I got to it like this ...
Map jobProperties =
project.getProperties();
Set set = jobProperties.keySet();
for (JobPropertyDescriptor descriptor: set) {
if (descriptor.getDisplayName().equals("Parameters")) {
JobProperty property = jobProperties.get(desc
ok ... my bad ... I had deleted all the builds that really did have that
string param in them
is there a way to pull that param from the project config and not rely on
any previous builds having used it?
On Thu, Dec 26, 2013 at 8:16 AM, Steve Maring wrote:
> I have some build flow dsl (groovy)
I have some build flow dsl (groovy) that looks like this ...
FreeStyleProject project = (FreeStyleProject)
Jenkins.instance.getItemByFullName("my-jenkins-job");
String scmType = project.getScm().getType();
println("scmType: " + scmType);
VariableResolver resolver =
project.getLastBuild().getBuild