You need a hyphen before the "D", so that it is recognized as an option:

"-Dhudson.plugins.active_directory.ActiveDirectorySecurityRealm.forceLdaps=true"


On 9/25/2013 3:55 PM, Mead, Lance E CTR (US) wrote:
Classification: UNCLASSIFIED
Caveats: NONE

I searched the registry and added 
"Dhudson.plugins.active_directory.ActiveDirectorySecurityRealm.forceLdaps=true" 
to the command line so now it is

"C:\program files(86)\Jenkins\jenkins.exe 
Dhudson.plugins.active_directory.ActiveDirectorySecurityRealm.forceLdaps=true"

It says the command is not found


-----Original Message-----
From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Pyle
Sent: Wednesday, September 25, 2013 12:38 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Set a property (UNCLASSIFIED)

What is the command line as shown in the Windows service configuration?
Is that where you attempted to add the value? What happens (error
message?) when you try to start the service this way?

Eric

On 9/25/2013 3:13 PM, Mead, Lance E CTR (US) wrote:
Classification: UNCLASSIFIED
Caveats: NONE

I attempted to add the value to the windows service but it does not
accept the input.  I'm trying to change 
"Hudson.plugins.active_directory.ActiveDirectorySecurityRealm.forceLdaps"  
although it does not say what to set it to.

-----Original Message-----
From: jenkinsci-users@googlegroups.com
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Pyle
Sent: Wednesday, September 25, 2013 11:35 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: Set a property

On the command line when you start Jenkins, add the property to the command 
like this:

-Dproperty.name=property.value

For example, to set a hypothetical property called requireSecureLogin
to
true:

-DrequireSecureLogin=true

Eric

On 9/25/2013 12:59 PM, lance.e.mead....@mail.mil wrote:
I have been told by the Jenkins wiki to set a property.  The search
on how to set a porperty fails to give the instructions.  Does anyone
know how  to specify and set a property that will be checked on
start-up aka a security login property?
--
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.
For more options, visit https://groups.google.com/groups/opt_out.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Classification: UNCLASSIFIED
Caveats: NONE


--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Classification: UNCLASSIFIED
Caveats: NONE



--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to