Re: Clickable link in console ESC[8mha

2017-10-17 Thread Daniel Beck
> On 17. Oct 2017, at 02:22, Khomyuk Viktor wrote: > > Is it possible to create such link manually (by echo) from job? > In theory, yes, but not easily since we fixed https://jenkins.io/security/advisory/2017-02-01/#persisted-cross-site-scripting-vulnerability-in-console-notes -- You receiv

Using Jenkins pipelines for data flow D.A.G's

2017-10-17 Thread Oded Badt
Hello I'm very new to Jenkins Pipelines but have already set up my Jenkins instance to support Pipelines (and Blue Ocean for that matter) but have yet fully understood if it the best fir for flow control of data driven flows (managing dependency D.A.G's for example, communicating data sets betwe

Re: using ssh agent and github SCM

2017-10-17 Thread Slide
What does the http request look like when you run the curl command? Can you get a wire shark trace it something? On Mon, Oct 16, 2017, 17:21 'Jurgen Weber' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > https://issues.jenkins-ci.org/browse/JENKINS-47463 > > -- > You received this

Re: can i use variable to specify the agent label in my declarative pipeline ?

2017-10-17 Thread ishan jain
Hi Robert, How did you resolve it ? I could never get it working with anything. On Wednesday, 11 October 2017 23:01:19 UTC+2, Robert Hales wrote: > > I posted a reply to this. It was a head twister, but I think I solved the > problem and learned some interesting things. > > On Tuesday, October

Re: Docker plugin problems

2017-10-17 Thread jessi lopes
This is pretty much our use case also... we spawn a container then ssh into it with "name" "password" we did try downgrade to 0.16.2 but no change.. we had upgraded from 0.15 to 0.18... thats when the problem started. we are now unable to ssh into the containers... errors like " ERROR: Server

How to use the windows exe runner

2017-10-17 Thread fred niemelä
I'm new to Jenkins and I'm trying to understand how to use the Windows Exe runner. I have a windows executable that runs a number of static tests on LabVIEW code in a windows desktop environment. I would like to be able to run the same exe using Jenkins. I saw an example where they used "C:\pr

Re: can i use variable to specify the agent label in my declarative pipeline ?

2017-10-17 Thread dandeliondodgeball
I think it is here: https://stackoverflow.com/questions/46630168/in-a-declarative-jenkins-pipeline-can-i-set-the-agent-label-dynamically -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails f

Re: withAWS step complains about not being able to support closures in the script console

2017-10-17 Thread Kevin Milner
> > > Ok, I think I've solved it. Well, I solved my core issue, which was that the > vars/publishToS3.groovy script was not being properly identified. I couldn't > figure out how to identify publishToS3. It could find neither publishToS3, > nor com.seven10.publishToS3. I think, because there wa

Remote call on JNLP4-connect connection

2017-10-17 Thread LnT
*Hi,* * Our Jenkins ver. 2.46.1 * *project configuration is working till yesterday. all of sudden start failing.* *Precisely , project does below things* *1. Fetch code from git lab* *2. Fetch code from external site using npm* *3. create and deploys the package* *proje

Re: Not clear how to set up Windows node, and where to get "secret" from

2017-10-17 Thread dandeliondodgeball
I think one reason I keep getting off track, is that I don't get the second bullet "Run from Agent command line", as shown in your screen shot. All I get is the "Launch" button and I keep trying to make that work. With no luck so far. AWS linux for Jenkins master AWS Windows server

Re: Not clear how to set up Windows node, and where to get "secret" from

2017-10-17 Thread Mark Waite
On Tue, Oct 17, 2017 at 9:39 AM dandeliondodgeball wrote: > I think one reason I keep getting off track, is that I don't get the > second bullet "Run from Agent command line", as shown in your screen shot. > > > > All I get is the "Launch" button and I keep trying to make that work. > With no luc

Re: Not clear how to set up Windows node, and where to get "secret" from

2017-10-17 Thread Daniel Beck
> On 17. Oct 2017, at 17:39, dandeliondodgeball wrote: > > All I get is the "Launch" button and I keep trying to make that work. With > no luck so far. Enable the JNLP agent port on the security configuration form. -- You received this message because you are subscribed to the Google Groups

Re: Remote call on JNLP4-connect connection

2017-10-17 Thread Daniel Beck
> On 17. Oct 2017, at 15:46, LnT wrote: > > java.lang.OutOfMemoryError: PermGen space Increase the PermGen size (google the error), or just run Jenkins on Java 8. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this gro

Scripting in Jenkins

2017-10-17 Thread Thor Waway
Hello, This is a bit of newbie question so I apologize in advance. - I have 2 nodes currently set up; a MASTER and a WORKER node. - One of the steps in my declarative pipeline points to deploy-script.sh. The contents of deploy-script.sh: - #!/bin/sh whoami W

Re: Scripting in Jenkins

2017-10-17 Thread John Mellor
On Tue, 2017-10-17 at 10:03 -0700, Thor Waway wrote: Hello, This is a bit of newbie question so I apologize in advance. * I have 2 nodes currently set up; a MASTER and a WORKER node. * One of the steps in my declarative pipeline points to deploy-script.sh. The contents of deploy-scri

Re: Scripting in Jenkins

2017-10-17 Thread Robert Hales
I assume that the temp directory and such has something to do with Jenkin's way of making the script pauseable and restartable (just a guess). Either way, it is safer to provide the path to your script to execute. Just reference it with $WORKSPACE/deploy-script.sh. I'd be interested in heari

Re: Not clear how to set up Windows node, and where to get "secret" from

2017-10-17 Thread dandeliondodgeball
> Enable the JNLP agent port on the security configuration form. That did it. This blog has nice screen shots of that. Thanks. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this gro

Re: Scripting in Jenkins

2017-10-17 Thread Robert Hales
The permission problem may also be that your Shell setting in Jenkins main configuration is set to something invalid. Try removing that altogether so that it defaults to your normal shell. On Tuesday, October 17, 2017 at 11:03:56 AM UTC-6, Thor Waway wrote: > > Hello, > > This is a bit of new

Re: Scripting in Jenkins

2017-10-17 Thread dandeliondodgeball
Or maybe move what you have in the file, into Jenkinsfile? Making use of "script" feature. (Hopefully I am not misunderstanding the script feature.) pipeline { agent any stages { stage ('...') { steps { script { ...

What does Jenkins need to run on Windows?

2017-10-17 Thread itchymuzzle
AWS Windows Server 2012 - Java - agent.jar - which is part of setting up the node - Groovy? - Git - as I need to get my code from bitbucket Anything else? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this g

Re: What does Jenkins need to run on Windows?

2017-10-17 Thread Mark Waite
If it is an agent, then it needs Java, slave.jar, and command line git. When you install command line git, you can make your life much simpler if you specifically uncheck the git credentials manager for Windows. Git credentials manager for Windows is focused on improving the experience for git us

Re: using ssh agent and github SCM

2017-10-17 Thread 'Jurgen Weber' via Jenkins Users
Here are some http requests: [ingress-nginx-2796083105-n5qcr] 202.10.91.226 - [202.10.91.226] - - [17/Oct/2017:22:54:15 +] "POST /buildByToken/buildWithParameters?token=TOKENi&job=core-build&repo_name_deploy_key=trench-deploy-key&repo_name=trench&repo_http_url=https://github.com/example/tren

Re: Docker plugin problems

2017-10-17 Thread nicolas de loof
Docker-plugin 1.0.1 introduce a new option to disable SSH key injection in container. Main idea for this feature is to avoid SSH private key in docker image, which is a terrible security issue. But for backward compatibility it might be needed. > The plugin no longer assumes 4243 as default port.