See 'jenkins.model.Jenkins.slaveAgentPort', as listed here:

https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties
On Jul 14, 2016 06:45, "fayyaz rehman" <[email protected]> wrote:

> Thank you so much Stephen Connolly
>
> Is there a way to by pass manual enabling of jnlp agent port.
> If there is any specific file which keeps the record or information of
> security setting of jenkins?
>
> I was in process to bypass the initial plugin installation process of
> jenkins and landing directly on it's user dashboard.
> If you can point me to the specific file related to jenkins global
> configure settings
>
> Thanking you in advance
>
> On Thursday, 14 July 2016 01:44:05 UTC+5, Stephen Connolly wrote:
>>
>> by default jenkins 2.0 ships with the jnlp agent port disabled. you need
>> to enable it in the global security page
>>
>> On 13 July 2016 at 15:56, fayyaz rehman <[email protected]> wrote:
>>
>>> Hi there,
>>>
>>> I am not able to use cli
>>> I am having following error while trying to execute. I am new to jenkins
>>> 2.0. somebody help me out. Any easy solution
>>>
>>> $ java -jar jenkins-cli.jar -s http://localhost:8080/jenkins/ help
>>>
>>> java.io.IOException: No X-Jenkins-CLI2-Port among [null,
>>> X-Required-Permission, X-Jenkins, X-You-Are-In-Group, X-Hudson,
>>> Content-Length, Expires, X-You-Are-Authenticated-As,
>>> X-Permission-Implied-By, Set-Cookie, Server, X-Content-Type-Options, Date,
>>> X-Jenkins-Session, Content-Type]
>>> at hudson.cli.CLI.getCliTcpPort(CLI.java:284)
>>> at hudson.cli.CLI.<init>(CLI.java:128)
>>> at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
>>> at hudson.cli.CLI._main(CLI.java:473)
>>> at hudson.cli.CLI.main(CLI.java:384)
>>> Suppressed: java.io.IOException: Server returned HTTP response code: 403
>>> for URL: http://localhost:8080/jenkins/cli
>>> at
>>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
>>> at hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:78)
>>> at hudson.cli.CLI.connectViaHttp(CLI.java:152)
>>> at hudson.cli.CLI.<init>(CLI.java:132)
>>> ... 3 more
>>>
>>>
>>>
>>> On Saturday, 9 April 2016 22:37:37 UTC+5, Daniel Beck wrote:
>>>>
>>>>
>>>> On 08.04.2016, at 19:46, Karl Davis <[email protected]>
>>>> wrote:
>>>>
>>>> > Is that documented somewhere that I should have found it?
>>>>
>>>> It's documented here:
>>>>
>>>> https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties
>>>>
>>>> Not really a case of 'should have found it'.
>>>>
>>>> --
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/f599e9eb-0137-41ed-9f9b-3b5441387534%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/f599e9eb-0137-41ed-9f9b-3b5441387534%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/tb0MsCpMiG4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/feecce27-e6eb-4851-95bd-0bbdc3ff8058%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/feecce27-e6eb-4851-95bd-0bbdc3ff8058%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CALopKK8qbVm1T1hGKy4_BnWW%2B9nm8Uu4nB104VeWheJY%2Bt9QZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to