Re: Declarative script syntax: Archive from specific stage?

2020-01-23 Thread Liejun Tao
According to doc this is supported:
https://jenkins.io/doc/book/pipeline/syntax/#post
Syntax is like this
https://code-maven.com/slides/jenkins-intro/pipeline-post

On Thu, Jan 23, 2020 at 11:45 AM David Aldrich 
wrote:

>
> > Did you try to write post after stage?
>
>
> It seems that is not allowed:
>
>
> WorkflowScript: 140: Expected a stage @ line 140, column 9.
>post{
>^
>
>
> On Thu, Jan 23, 2020 at 4:34 PM David Aldrich <
> david.aldrich.n...@gmail.com> wrote:
>
>> > try this url
>>
>> > https://Jenkins.io/doc/pipeline/tour/tests-and-artifacts/
>>
>>
>> Thanks, but that doesn't address my situation where I have stages running
>> on different agents and I want to archive results from a specific agent.
>>
>>> --
> 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/CAJK_ieg04QKY5270TySAx9yf%3DPkucOrOCQAHM2i8nscK8%3D2moA%40mail.gmail.com
> 
> .
>


-- 
Thanks,
Baibai

-- 
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/CAMRm5ja3Y7neKK2v2%3DcqaVdh4m%3DoAins3%3D9-e6qFs9SVAdjxyQ%40mail.gmail.com.


Re: JNLP agent and proxy

2020-01-23 Thread Simon Richter
Hi,

On Thu, Jan 23, 2020 at 11:23:22AM -0700, Jeff Thompson wrote:

> If you click that, one option that becomes visible is "Tunnel
> connection through". This *might* work for you. Read the inline help
> and try it to see if it meets your needs.

Perfect, that seems exactly like what I need. I'll see whether it works
after the current long-running build completes. :)

   Simon

-- 
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/20200123183315.GC3820%40psi5.com.


Re: JNLP agent and proxy

2020-01-23 Thread Jeff Thompson
On the agent (node) configuration page when configuring to "Launch agent 
by connecting it to the master" there is an Advanced button. If you 
click that, one option that becomes visible is "Tunnel connection 
through". This *might* work for you. Read the inline help and try it to 
see if it meets your needs.


Another thing that might work for you soon is the the upcoming WebSocket 
connection mechanism ( 
https://github.com/jenkinsci/jep/blob/master/jep/222/README.adoc ). 
Looks like it's currently targeted towards the next weekly.


Jeff

On 1/23/20 5:59 AM, Simon Richter wrote:

Hi,

I'd expect this to be somewhat obvious, but it doesn't seem to be: I have a
JNLP agent on a Windows VM that should talk to the Jenkins master on
another VM in the same network. The Jenkins master has a standard nginx
proxy before it to allow external requests to come in.

The agent now connects to the proxy, requests connection information,
receives the port number and connects to the proxy's IP address with the
port number it received from the master.

Obviously this fails because the proxy does not forward the internal agent
ports (these are not supposed to be externally visible).

Is there a way to let the Jenkins master hand out not only the port number
but also the correct IP address to agents (after all, being run behind a
proxy seems to be a very common use case to the extent that the public URL
is configurable)?

Simon



--
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/72c7c6fb-3eda-b508-748d-5b110a8bd722%40cloudbees.com.


Re: Declarative script syntax: Archive from specific stage?

2020-01-23 Thread David Aldrich
> Did you try to write post after stage?


It seems that is not allowed:


WorkflowScript: 140: Expected a stage @ line 140, column 9.
   post{
   ^


On Thu, Jan 23, 2020 at 4:34 PM David Aldrich 
wrote:

> > try this url
>
> > https://Jenkins.io/doc/pipeline/tour/tests-and-artifacts/
>
>
> Thanks, but that doesn't address my situation where I have stages running
> on different agents and I want to archive results from a specific agent.
>
>>

-- 
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/CAJK_ieg04QKY5270TySAx9yf%3DPkucOrOCQAHM2i8nscK8%3D2moA%40mail.gmail.com.


Re: Declarative script syntax: Archive from specific stage?

2020-01-23 Thread Liejun Tao
Did you try to write post after stage?

stages {

stage(‘S1’) {

agent { label “A” }

steps {



}

post {

   xxx

}

stage(‘S2’) {

agent { label “B” }

steps {



}

}

On Thu, Jan 23, 2020 at 10:35 AM David Aldrich 
wrote:

> > try this url
>
> > https://Jenkins.io/doc/pipeline/tour/tests-and-artifacts/
>
>
> Thanks, but that doesn't address my situation where I have stages running
> on different agents and I want to archive results from a specific agent.
>
>> --
> 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/CAJK_ieiVXUnjR6r9F2aKxzU1pwXNwHQrRuuVZQ%2BVO-u4S3c0eg%40mail.gmail.com
> 
> .
>


-- 
Thanks,
Baibai

-- 
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/CAMRm5jZhpfJao659F8bw8GV%2Bz%2Bqh8VQMes-qZGuUCyQkJNacFA%40mail.gmail.com.


Re: Declarative script syntax: Archive from specific stage?

2020-01-23 Thread David Aldrich
> try this url

> https://Jenkins.io/doc/pipeline/tour/tests-and-artifacts/


Thanks, but that doesn't address my situation where I have stages running
on different agents and I want to archive results from a specific agent.

>

-- 
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/CAJK_ieiVXUnjR6r9F2aKxzU1pwXNwHQrRuuVZQ%2BVO-u4S3c0eg%40mail.gmail.com.


Re: [ec2-fleet] java.util.concurrent.CancellationException

2020-01-23 Thread Alan Sparks
Was able to get answer via GitHub 
issue: https://github.com/jenkinsci/ec2-fleet-plugin/issues/167
Was a bug in ec2-fleet plugin, fixed in version 1.17.3 of the plugin.

-- 
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/4f869b45-5d40-4102-baad-7e37813be9e8%40googlegroups.com.


Kohsuke's next chapter

2020-01-23 Thread Kohsuke Kawaguchi
Hi folks,

2020 is going to be a year of change for me. I just posted this
 to explain
what that means.

The past few years saw a rise of the new wave of leaders. So I'm making
this move with peace knowing that this project is in good hands

It was a true joy and pleasure to see this project grow over the years. I
met so many people because of this, many of them became my lifelong
friends. It's not an overstatement to say it defined a key part of my life.
Thank you for being a part of that journey, and looking forward to more
awesome things that come out of this project in the future.

Cheers!
-- 
Kohsuke Kawaguchi

-- 
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/CAN4CQ4ypLEGkxW6Uq9pbwsRjtcfPWjDk4HvBr4V1UKOZP%3DOj%2BQ%40mail.gmail.com.


Re: Declarative script syntax: Archive from specific stage?

2020-01-23 Thread vince bailey
try this url
https://Jenkins.io/doc/pipeline/tour/tests-and-artifacts/ 



> On 23 Jan 2020, at 16:12, David Aldrich  wrote:
> 
> 
> I have a question about declarative script syntax.
>  
> I have a multi-stage job, where each stage runs on a separate agent. Whether 
> the job passes or fails, I want to archive some artefacts from the job, so I 
> have to call archiveArtifacts from post::cleanup().
>  
> stages {
> stage(‘S1’) {
> agent { label “A” }
> steps {
> 
> }
> stage(‘S2’) {
> agent { label “B” }
> steps {
> 
> }
> }
> post {
> cleanup{ archiveArtifacts artifacts: '*.zip'}
> }
>  
> My problem is that I want to archive the artifacts from a specific agent 
> (i.e. a specific stage). How would I do that?
>  
> Best regards
> David
> 
> -- 
> 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/CAJK_iej6MzrtnHg-hf5p9SjsrHaNvJEDxkb3os6bdpTrRby4SQ%40mail.gmail.com
>  
> .

-- 
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/29C0FD0C-1B44-4B14-9276-FD42ECAF9240%40dns-direct.com.


Declarative script syntax: Archive from specific stage?

2020-01-23 Thread David Aldrich
I have a question about declarative script syntax.



I have a multi-stage job, where each stage runs on a separate agent.
Whether the job passes or fails, I want to archive some artefacts from the
job, so I have to call archiveArtifacts from post::cleanup().



stages {

stage(‘S1’) {

agent { label “A” }

steps {



}

stage(‘S2’) {

agent { label “B” }

steps {



}

}

post {

cleanup{ archiveArtifacts artifacts: '*.zip'}

}



My problem is that I want to archive the artifacts from a specific agent
(i.e. a specific stage). How would I do that?



Best regards

David

-- 
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/CAJK_iej6MzrtnHg-hf5p9SjsrHaNvJEDxkb3os6bdpTrRby4SQ%40mail.gmail.com.


Re: failed to download the workflow-api plugin

2020-01-23 Thread Mark Waite
On Thu, Jan 23, 2020 at 7:37 AM Markus Boos  wrote:

> I still have the Issue. Downloading other Plugins works like a charm.
> Only manual installation works!
>
> Is there any posibility to build a local Jenkins Plugin proxy. Like for
> apt?
>
>
Yes, there are techniques to create update center proxies, like Juseppe (
https://jenkins.io/blog/2015/07/14/juseppe-a-custom-update-site-for-jenkins/
).
Seems like overkill for this specific problem, but it certainly can be done.


> Am Donnerstag, 23. Januar 2020 15:20:56 UTC+1 schrieb vince bailey:
>>
>> All working well no issues for me.
>>
>>
>> On 23 Jan 2020, at 14:19, Mark Waite  wrote:
>>
>> I just downloaded an update to the Pipeline SCM Step plugin without any
>> issue.  I also am able to download the plugin URL's that you referenced.
>>
>> Are you still seeing the problem?
>>
>> On Thu, Jan 23, 2020 at 7:17 AM Markus Boos  wrote:
>>
>>> Hi
>>>
>>> Since this morning (CET) my Jenkins 2.164.2 is not able to download the
>>> workflow-api plugin (Version 2.33 and 2.38).
>>>
>>> The error log looks like this (C from the updateCenter):
>>>
>>> *java.net .SocketTimeoutException: Read timed out*
>>> * at java.net.SocketInputStream.socketRead0(Native Method)*
>>> * at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)*
>>> * at java.net.SocketInputStream.read(SocketInputStream.java:171)*
>>> * at java.net.SocketInputStream.read(SocketInputStream.java:141)*
>>> * at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)*
>>> * at java.io.BufferedInputStream.read(BufferedInputStream.java:345)*
>>> * at sun.net.www.MeteredStream.read(MeteredStream.java:134)*
>>> * at java.io.FilterInputStream.read(FilterInputStream.java:133)*
>>> * at
>>> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3444)*
>>> * at
>>> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3437)*
>>> * at
>>> org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:78)*
>>> * at
>>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1176)*
>>> *Caused: java.io.IOException: Failed to load
>>> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
>>> 
>>> to /var/jenkins_home/plugins/workflow-api.jpi.tmp*
>>> * at
>>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1181)*
>>> *Caused: java.io.IOException: Failed to download from
>>> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
>>> 
>>> (redirected to:
>>> http://ftp-chi.osuosl.org/pub/jenkins/plugins/workflow-api/2.38/workflow-api.hpi
>>> )*
>>> * at
>>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1215)*
>>> * at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1752)*
>>> * at
>>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2015)*
>>> * at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1726)*
>>> * at
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
>>> * at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
>>> * at
>>> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)*
>>> * at java.lang.Thread.run(Thread.java:748)*
>>>
>>> Anybody has the same issue?
>>>
>>> And how did you solved it?
>>>
>>> Kind regards
>>> Markus
>>>
>>> --
>>> 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 jenkins...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/a587344b-bef3-4372-b84a-085c0d3ba44a%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> Thanks!
>> Mark Waite
>>
>> --
>> 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 jenkins...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFgm76%3DapmJJtxFZ5Osm0%3DH95C%2BDdyMYohj0Nw0aZJEiw%40mail.gmail.com
>> 
>> .
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving 

Re: failed to download the workflow-api plugin

2020-01-23 Thread Markus Boos
Thanks. I know. As I wrote, other plugins work without an issue.

 But the Server is not reliable even with manual download I got errors 
while downloading.

Am Donnerstag, 23. Januar 2020 15:40:11 UTC+1 schrieb vince bailey:
>
> You need to check if you can ping the outside world to start with i.e the 
> internet.
> if you can not it means something is blocking your connection, maybe a 
> firewall so check your settingd.
>
>
> On 23 Jan 2020, at 14:36, Markus Boos > 
> wrote:
>
> I still have the Issue. Downloading other Plugins works like a charm. 
> Only manual installation works!
>
> Is there any posibility to build a local Jenkins Plugin proxy. Like for 
> apt?
>
> Am Donnerstag, 23. Januar 2020 15:20:56 UTC+1 schrieb vince bailey:
>>
>> All working well no issues for me.
>>
>>
>> On 23 Jan 2020, at 14:19, Mark Waite  wrote:
>>
>> I just downloaded an update to the Pipeline SCM Step plugin without any 
>> issue.  I also am able to download the plugin URL's that you referenced.
>>
>> Are you still seeing the problem?
>>
>> On Thu, Jan 23, 2020 at 7:17 AM Markus Boos  wrote:
>>
>>> Hi
>>>
>>> Since this morning (CET) my Jenkins 2.164.2 is not able to download the 
>>> workflow-api plugin (Version 2.33 and 2.38).
>>>
>>> The error log looks like this (C from the updateCenter):
>>>
>>> *java.net .SocketTimeoutException: Read timed out*
>>> * at java.net.SocketInputStream.socketRead0(Native Method)*
>>> * at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)*
>>> * at java.net.SocketInputStream.read(SocketInputStream.java:171)*
>>> * at java.net.SocketInputStream.read(SocketInputStream.java:141)*
>>> * at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)*
>>> * at java.io.BufferedInputStream.read(BufferedInputStream.java:345)*
>>> * at sun.net.www.MeteredStream.read(MeteredStream.java:134)*
>>> * at java.io.FilterInputStream.read(FilterInputStream.java:133)*
>>> * at 
>>> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3444)*
>>> * at 
>>> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3437)*
>>> * at 
>>> org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:78)*
>>> * at 
>>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1176)*
>>> *Caused: java.io.IOException: Failed to load 
>>> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
>>>  
>>> 
>>>  
>>> to /var/jenkins_home/plugins/workflow-api.jpi.tmp*
>>> * at 
>>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1181)*
>>> *Caused: java.io.IOException: Failed to download from 
>>> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
>>>  
>>> 
>>>  
>>> (redirected to: 
>>> http://ftp-chi.osuosl.org/pub/jenkins/plugins/workflow-api/2.38/workflow-api.hpi
>>>  
>>> )*
>>> * at 
>>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1215)*
>>> * at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1752)*
>>> * at 
>>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2015)*
>>> * at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1726)*
>>> * at 
>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
>>> * at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
>>> * at 
>>> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)*
>>> * at java.lang.Thread.run(Thread.java:748)*
>>>
>>> Anybody has the same issue?
>>>
>>> And how did you solved it?
>>>
>>> Kind regards
>>> Markus
>>>
>>> -- 
>>> 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 jenkins...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/a587344b-bef3-4372-b84a-085c0d3ba44a%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>
>>
>> -- 
>> Thanks!
>> Mark Waite
>>
>> -- 
>> 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 jenkins...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFgm76%3DapmJJtxFZ5Osm0%3DH95C%2BDdyMYohj0Nw0aZJEiw%40mail.gmail.com
>>  
>> 

Re: failed to download the workflow-api plugin

2020-01-23 Thread vince bailey
You need to check if you can ping the outside world to start with i.e the 
internet.
if you can not it means something is blocking your connection, maybe a firewall 
so check your settingd.


> On 23 Jan 2020, at 14:36, Markus Boos  wrote:
> 
> I still have the Issue. Downloading other Plugins works like a charm. 
> Only manual installation works!
> 
> Is there any posibility to build a local Jenkins Plugin proxy. Like for apt?
> 
> Am Donnerstag, 23. Januar 2020 15:20:56 UTC+1 schrieb vince bailey:
> All working well no issues for me.
> 
> 
>> On 23 Jan 2020, at 14:19, Mark Waite > wrote:
>> 
>> I just downloaded an update to the Pipeline SCM Step plugin without any 
>> issue.  I also am able to download the plugin URL's that you referenced.
>> 
>> Are you still seeing the problem?
>> 
>> On Thu, Jan 23, 2020 at 7:17 AM Markus Boos > wrote:
>> Hi
>> 
>> Since this morning (CET) my Jenkins 2.164.2 is not able to download the 
>> workflow-api plugin (Version 2.33 and 2.38).
>> 
>> The error log looks like this (C from the updateCenter):
>> 
>> java.net.SocketTimeoutException: Read timed out
>>  at java.net.SocketInputStream.socketRead0(Native Method)
>>  at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>>  at java.net.SocketInputStream.read(SocketInputStream.java:171)
>>  at java.net.SocketInputStream.read(SocketInputStream.java:141)
>>  at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
>>  at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>>  at sun.net.www.MeteredStream.read(MeteredStream.java:134)
>>  at java.io.FilterInputStream.read(FilterInputStream.java:133)
>>  at 
>> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3444)
>>  at 
>> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3437)
>>  at 
>> org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:78)
>>  at 
>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1176)
>> Caused: java.io.IOException: Failed to load 
>> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
>>  
>> 
>>  to /var/jenkins_home/plugins/workflow-api.jpi.tmp
>>  at 
>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1181)
>> Caused: java.io.IOException: Failed to download from 
>> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
>>  
>> 
>>  (redirected to: 
>> http://ftp-chi.osuosl.org/pub/jenkins/plugins/workflow-api/2.38/workflow-api.hpi
>>  
>> )
>>  at 
>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1215)
>>  at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1752)
>>  at 
>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2015)
>>  at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1726)
>>  at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>  at 
>> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)
>>  at java.lang.Thread.run(Thread.java:748)
>> 
>> Anybody has the same issue?
>> 
>> And how did you solved it?
>> 
>> Kind regards
>> Markus
>> 
>> -- 
>> 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 jenkins...@googlegroups.com <>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/a587344b-bef3-4372-b84a-085c0d3ba44a%40googlegroups.com
>>  
>> .
>> 
>> 
>> -- 
>> Thanks!
>> Mark Waite
>> 
>> -- 
>> 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 jenkins...@googlegroups.com <>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFgm76%3DapmJJtxFZ5Osm0%3DH95C%2BDdyMYohj0Nw0aZJEiw%40mail.gmail.com
>>  
>> .
> 
> 
> -- 
> 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 

Re: failed to download the workflow-api plugin

2020-01-23 Thread Markus Boos
I still have the Issue. Downloading other Plugins works like a charm. 
Only manual installation works!

Is there any posibility to build a local Jenkins Plugin proxy. Like for apt?

Am Donnerstag, 23. Januar 2020 15:20:56 UTC+1 schrieb vince bailey:
>
> All working well no issues for me.
>
>
> On 23 Jan 2020, at 14:19, Mark Waite > 
> wrote:
>
> I just downloaded an update to the Pipeline SCM Step plugin without any 
> issue.  I also am able to download the plugin URL's that you referenced.
>
> Are you still seeing the problem?
>
> On Thu, Jan 23, 2020 at 7:17 AM Markus Boos  > wrote:
>
>> Hi
>>
>> Since this morning (CET) my Jenkins 2.164.2 is not able to download the 
>> workflow-api plugin (Version 2.33 and 2.38).
>>
>> The error log looks like this (C from the updateCenter):
>>
>> *java.net.SocketTimeoutException: Read timed out*
>> * at java.net.SocketInputStream.socketRead0(Native Method)*
>> * at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)*
>> * at java.net.SocketInputStream.read(SocketInputStream.java:171)*
>> * at java.net.SocketInputStream.read(SocketInputStream.java:141)*
>> * at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)*
>> * at java.io.BufferedInputStream.read(BufferedInputStream.java:345)*
>> * at sun.net.www.MeteredStream.read(MeteredStream.java:134)*
>> * at java.io.FilterInputStream.read(FilterInputStream.java:133)*
>> * at 
>> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3444)*
>> * at 
>> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3437)*
>> * at 
>> org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:78)*
>> * at 
>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1176)*
>> *Caused: java.io.IOException: Failed to load 
>> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
>>  
>> 
>>  
>> to /var/jenkins_home/plugins/workflow-api.jpi.tmp*
>> * at 
>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1181)*
>> *Caused: java.io.IOException: Failed to download from 
>> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
>>  
>> 
>>  
>> (redirected to: 
>> http://ftp-chi.osuosl.org/pub/jenkins/plugins/workflow-api/2.38/workflow-api.hpi
>>  
>> )*
>> * at 
>> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1215)*
>> * at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1752)*
>> * at 
>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2015)*
>> * at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1726)*
>> * at 
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
>> * at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
>> * at 
>> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)*
>> * at java.lang.Thread.run(Thread.java:748)*
>>
>> Anybody has the same issue?
>>
>> And how did you solved it?
>>
>> Kind regards
>> Markus
>>
>> -- 
>> 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 jenkins...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/a587344b-bef3-4372-b84a-085c0d3ba44a%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Thanks!
> Mark Waite
>
> -- 
> 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 jenkins...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFgm76%3DapmJJtxFZ5Osm0%3DH95C%2BDdyMYohj0Nw0aZJEiw%40mail.gmail.com
>  
> 
> .
>
>
>

-- 
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/e5d27b9b-9980-4563-9e50-1a6a118f4d43%40googlegroups.com.


Re: failed to download the workflow-api plugin

2020-01-23 Thread vince bailey
All working well no issues for me.


> On 23 Jan 2020, at 14:19, Mark Waite  wrote:
> 
> I just downloaded an update to the Pipeline SCM Step plugin without any 
> issue.  I also am able to download the plugin URL's that you referenced.
> 
> Are you still seeing the problem?
> 
> On Thu, Jan 23, 2020 at 7:17 AM Markus Boos  > wrote:
> Hi
> 
> Since this morning (CET) my Jenkins 2.164.2 is not able to download the 
> workflow-api plugin (Version 2.33 and 2.38).
> 
> The error log looks like this (C from the updateCenter):
> 
> java.net.SocketTimeoutException: Read timed out
>   at java.net.SocketInputStream.socketRead0(Native Method)
>   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
>   at java.net.SocketInputStream.read(SocketInputStream.java:171)
>   at java.net.SocketInputStream.read(SocketInputStream.java:141)
>   at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
>   at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
>   at sun.net.www.MeteredStream.read(MeteredStream.java:134)
>   at java.io.FilterInputStream.read(FilterInputStream.java:133)
>   at 
> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3444)
>   at 
> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3437)
>   at 
> org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:78)
>   at 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1176)
> Caused: java.io.IOException: Failed to load 
> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
>  
> 
>  to /var/jenkins_home/plugins/workflow-api.jpi.tmp
>   at 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1181)
> Caused: java.io.IOException: Failed to download from 
> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
>  
> 
>  (redirected to: 
> http://ftp-chi.osuosl.org/pub/jenkins/plugins/workflow-api/2.38/workflow-api.hpi
>  
> )
>   at 
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1215)
>   at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1752)
>   at 
> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2015)
>   at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1726)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)
>   at java.lang.Thread.run(Thread.java:748)
> 
> Anybody has the same issue?
> 
> And how did you solved it?
> 
> Kind regards
> Markus
> 
> -- 
> 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/a587344b-bef3-4372-b84a-085c0d3ba44a%40googlegroups.com
>  
> .
> 
> 
> -- 
> Thanks!
> Mark Waite
> 
> -- 
> 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/CAO49JtFgm76%3DapmJJtxFZ5Osm0%3DH95C%2BDdyMYohj0Nw0aZJEiw%40mail.gmail.com
>  
> .

-- 
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/16156F18-A840-443A-B918-632F98C579EB%40dns-direct.com.


Re: failed to download the workflow-api plugin

2020-01-23 Thread Mark Waite
I just downloaded an update to the Pipeline SCM Step plugin without any
issue.  I also am able to download the plugin URL's that you referenced.

Are you still seeing the problem?

On Thu, Jan 23, 2020 at 7:17 AM Markus Boos  wrote:

> Hi
>
> Since this morning (CET) my Jenkins 2.164.2 is not able to download the
> workflow-api plugin (Version 2.33 and 2.38).
>
> The error log looks like this (C from the updateCenter):
>
> *java.net.SocketTimeoutException: Read timed out*
> * at java.net.SocketInputStream.socketRead0(Native Method)*
> * at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)*
> * at java.net.SocketInputStream.read(SocketInputStream.java:171)*
> * at java.net.SocketInputStream.read(SocketInputStream.java:141)*
> * at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)*
> * at java.io.BufferedInputStream.read(BufferedInputStream.java:345)*
> * at sun.net.www.MeteredStream.read(MeteredStream.java:134)*
> * at java.io.FilterInputStream.read(FilterInputStream.java:133)*
> * at
> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3444)*
> * at
> sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3437)*
> * at
> org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:78)*
> * at
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1176)*
> *Caused: java.io.IOException: Failed to load
> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
> 
> to /var/jenkins_home/plugins/workflow-api.jpi.tmp*
> * at
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1181)*
> *Caused: java.io.IOException: Failed to download from
> http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
> 
> (redirected to:
> http://ftp-chi.osuosl.org/pub/jenkins/plugins/workflow-api/2.38/workflow-api.hpi
> )*
> * at
> hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1215)*
> * at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1752)*
> * at
> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2015)*
> * at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1726)*
> * at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
> * at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
> * at
> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)*
> * at java.lang.Thread.run(Thread.java:748)*
>
> Anybody has the same issue?
>
> And how did you solved it?
>
> Kind regards
> Markus
>
> --
> 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/a587344b-bef3-4372-b84a-085c0d3ba44a%40googlegroups.com
> 
> .
>


-- 
Thanks!
Mark Waite

-- 
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/CAO49JtFgm76%3DapmJJtxFZ5Osm0%3DH95C%2BDdyMYohj0Nw0aZJEiw%40mail.gmail.com.


failed to download the workflow-api plugin

2020-01-23 Thread Markus Boos
Hi

Since this morning (CET) my Jenkins 2.164.2 is not able to download the 
workflow-api plugin (Version 2.33 and 2.38).

The error log looks like this (C from the updateCenter):

*java.net.SocketTimeoutException: Read timed out*
* at java.net.SocketInputStream.socketRead0(Native Method)*
* at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)*
* at java.net.SocketInputStream.read(SocketInputStream.java:171)*
* at java.net.SocketInputStream.read(SocketInputStream.java:141)*
* at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)*
* at java.io.BufferedInputStream.read(BufferedInputStream.java:345)*
* at sun.net.www.MeteredStream.read(MeteredStream.java:134)*
* at java.io.FilterInputStream.read(FilterInputStream.java:133)*
* at 
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3444)*
* at 
sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3437)*
* at 
org.apache.commons.io.input.ProxyInputStream.read(ProxyInputStream.java:78)*
* at 
hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1176)*
*Caused: java.io.IOException: Failed to load 
http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
 
to /var/jenkins_home/plugins/workflow-api.jpi.tmp*
* at 
hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1181)*
*Caused: java.io.IOException: Failed to download from 
http://updates.jenkins-ci.org/download/plugins/workflow-api/2.38/workflow-api.hpi
 
(redirected to: 
http://ftp-chi.osuosl.org/pub/jenkins/plugins/workflow-api/2.38/workflow-api.hpi)*
* at 
hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1215)*
* at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1752)*
* at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2015)*
* at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1726)*
* at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)*
* at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
* at 
hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:112)*
* at java.lang.Thread.run(Thread.java:748)*

Anybody has the same issue?

And how did you solved it?

Kind regards
Markus

-- 
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/a587344b-bef3-4372-b84a-085c0d3ba44a%40googlegroups.com.


Re: Git Plugin - How specify use ssh in "Repository URL" ?

2020-01-23 Thread vince bailey
Hi all,

You may need to make sure you have a user name and login to your git repo and 
1.  login to github using your account. 
or 
create a access token in git hub and use the token which is the way i did it.


> On 23 Jan 2020, at 10:52, 'Björn Pedersen' via Jenkins Users 
>  wrote:
> 
> HI,
> 
> that is a hostkey verifiicaction error. Solution: 
>  
> a) manually install the hostkey on the build agent
> b) configure ssh to skip hostkey verification (the more insecure option)
> 
> Björn
> 
> Am Dienstag, 21. Januar 2020 18:24:55 UTC+1 schrieb Ed of the Mountain:
> What I Tried:
> 
> 1) Set Source Code Management > GIT > Repository URL to:
> 
> acme...@vs-ssh.visualstudio.com:v3/acmeinc/my-app/my-app
> 
> Failed to connect to repository : Command "git ls-remote -h -- 
> acme...@vs-ssh.visualstudio.com:v3/acmeinc/my-app/my-app HEAD" returned 
> status code 128:
> stdout:
> stderr: Host key verification failed.
> fatal: Could not read from remote repository.
> 
> Work-Around
> 
> My work-around was to change job to use a bash shell.  
> 
> However, I very much miss the "Recent Changes" section that was displayed in 
> my job previously.  
> 
> I *think* the "Recent Changes" were generated from the GIT Plugin.
> 
> 
> 
> echo "git clone using public SSH key of build slave..."
> echo "Works but no 'Recent Changes' section for your job"
> git clone acme...@vs-ssh.visualstudio.com:v3/acmeinc/my-app/my-app .
> 
> Thanks in advance for any tips or suggestions,
> 
> -Ed
> 
> 
> 
> 
> -- 
> 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/ce6ffb2d-5c40-479e-9fc8-fffdba4d5e1e%40googlegroups.com
>  
> .

-- 
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/0A4E7BB0-82F4-4B9B-ADBE-FBDA96B51FC3%40dns-direct.com.


Pipeline - Define checkout outside of Jenkinsfile

2020-01-23 Thread zakyn
Hello,

I would like to ask you if it is possible to define git repository for 
checkout outside of jenkinsfile and then for the build loads the steps from 
jenkins file.

I was not able to find it in Jenkins job configuration. I could add 
polling, and other things but not SCM.

Is there any way please?

Thank you.

Vladimir

-- 
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/8325dbd0-1a05-41de-a257-c92a229507d7%40googlegroups.com.


JNLP agent and proxy

2020-01-23 Thread Simon Richter
Hi,

I'd expect this to be somewhat obvious, but it doesn't seem to be: I have a
JNLP agent on a Windows VM that should talk to the Jenkins master on
another VM in the same network. The Jenkins master has a standard nginx
proxy before it to allow external requests to come in.

The agent now connects to the proxy, requests connection information,
receives the port number and connects to the proxy's IP address with the
port number it received from the master.

Obviously this fails because the proxy does not forward the internal agent
ports (these are not supposed to be externally visible).

Is there a way to let the Jenkins master hand out not only the port number
but also the correct IP address to agents (after all, being run behind a
proxy seems to be a very common use case to the extent that the public URL
is configurable)?

   Simon

-- 
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/20200123125926.GA3820%40psi5.com.


Re: Git Plugin - How specify use ssh in "Repository URL" ?

2020-01-23 Thread 'Björn Pedersen' via Jenkins Users
HI,

that is a hostkey verifiicaction error. Solution: 
 
a) manually install the hostkey on the build agent
b) configure ssh to skip hostkey verification (the more insecure option)

Björn

Am Dienstag, 21. Januar 2020 18:24:55 UTC+1 schrieb Ed of the Mountain:
>
> *What I Tried:*
>
> 1) Set *Source Code Management > GIT > Repository URL* to:
>
> acme...@vs-ssh.visualstudio.com:v3/acmeinc/my-app/my-app
>
> Failed to connect to repository : Command "git ls-remote -h -- 
> acme...@vs-ssh.visualstudio.com:v3/acmeinc/my-app/my-app HEAD" returned 
> status code 128:
> stdout:
> stderr: Host key verification failed.
> fatal: Could not read from remote repository.
>
> *Work-Around*
>
> My work-around was to change job to use a bash shell.  
>
> However, I very much miss the "*Recent Changes*" section that was 
> displayed in my job previously.  
>
> I *think* the "*Recent Changes*" were generated from the GIT Plugin.
>
>
>
> echo "git clone using public SSH key of build slave..."
> echo "Works but no 'Recent Changes' section for your job"
> git clone acme...@vs-ssh.visualstudio.com:v3/acmeinc/my-app/my-app .
>
> Thanks in advance for any tips or suggestions,
>
> -Ed
>
>
>
>

-- 
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/ce6ffb2d-5c40-479e-9fc8-fffdba4d5e1e%40googlegroups.com.