Re: Docker-plugin - ssh connection refused when connecting to slave

2018-01-18 Thread Alejandro Villarreal
@Martin / @Nicolas, have you ever seen that after failing to connect to a sibling container (due to a missing "Docker Hostname"), and stopping that container (from the Docker plugin section under Manage Jenkins), a new container never gets created to service new build requests from projects? I

[EVENT]: Jenkins World 2018 CFP is Open

2018-01-18 Thread Alyssa Tong
Hi All, Jenkins World 2018 Call for Papers (CFP) launched yesterday. We are looking for use case from Jenkins practitioner, contributors, plugin developers, and users of all backgrounds and levels, from small start-ups to large scaled

Re: sshAgent connection error through Pipeline with Private key

2018-01-18 Thread Jimmy Bway
Hi, Wanted to know if somehow you found a solution ? If yes please share. Regards Le mardi 5 septembre 2017 19:38:07 UTC-4, sabharwal81 a écrit : > > Hello everyone, > > I am stuck with one odd problem where i am trying to run remote command on > linux server from my slave machine (windows

Re: How to run jobs on oraclelinux container.

2018-01-18 Thread Jacob Larsen
Yes. Docker plugin isn't able to separate the build environment from the Jenkins slave though. The images used are more traditional slaves with the jenkins slave daemon running inside the same container, which means that the jenkins slave dependencies must be mixed with the build environment.

Re: Powershell step in pipeline not executing

2018-01-18 Thread Flavio Campana
I got i straight from the pipeline syntax page (and some online example) and i dont get syntax errors Il giorno giovedì 18 gennaio 2018 17:53:41 UTC+1, Björn Pedersen ha scritto: > > Hi, > > I have no experience with declarative pipelines, > but configFileProvider is a standalone step , not

Re: Powershell step in pipeline not executing

2018-01-18 Thread 'Björn Pedersen' via Jenkins Users
Hi, I have no experience with declarative pipelines, but configFileProvider is a standalone step , not taking a body like you use it (it's not a withConfigFile...) try: echo "Getting version for ${env.projectDir}" configFileProvider([configFile(fileId:

Re: Powershell step in pipeline not executing

2018-01-18 Thread Flavio Campana
I tried right now but nothing changed Il giorno giovedì 18 gennaio 2018 17:33:11 UTC+1, slide ha scritto: > > You may want to try naming the variable something else besides "script" > which is a pipeline variable (you use it right below). I might recommand > PSSCRIPT, or something similar. > >>

Re: Powershell step in pipeline not executing

2018-01-18 Thread Slide
You may want to try naming the variable something else besides "script" which is a pipeline variable (you use it right below). I might recommand PSSCRIPT, or something similar. On Thu, Jan 18, 2018 at 9:14 AM Flavio Campana wrote: > I've got a strange problem with a

Powershell step in pipeline not executing

2018-01-18 Thread Flavio Campana
I've got a strange problem with a declarative pipeline and powershell, it seems the script is never executed. The script is in a managed file. The pipeline: pipeline { agent any triggers { pollSCM('H * * * *') } tools { msbuild "DefaultMSBuild" }

Re: Help Please: How to change not reset admin password

2018-01-18 Thread Mai Waly
Please help On Tuesday, November 28, 2017 at 6:01:49 PM UTC+2, Mai Waly wrote: > > Hi All, > > Please help, our jenkins instance is now integrated to active directory > and my ldap account is admin. > We have forgot local admin password and soon we need to change active > directory account

Re: Nullpointer exception in Jenkins 2.46.3

2018-01-18 Thread Daniel Beck
> On 18. Jan 2018, at 10:14, 'Madhawa Gunasekara' via Jenkins Users > wrote: > > ERROR: Processing failed due to a bug in the code. Please report this to > jenkinsci-users@googlegroups.com This error mostly means you're on Maven Plugin 2.16 or older,

RE: Declarative script not archiving artefacts

2018-01-18 Thread David Aldrich
Thanks Björn Removing $WORKSPACE/ fixed it. Best regards David From: 'Björn Pedersen' via Jenkins Users [mailto:jenkinsci-users@googlegroups.com] Sent: 18 January 2018 12:27 To: Jenkins Users Subject: Re: Declarative script not archiving artefacts

Re: Declarative script not archiving artefacts

2018-01-18 Thread 'Björn Pedersen' via Jenkins Users
always { > > archiveArtifacts artifacts: > '$WORKSPACE/RegressionTests/**/*.zip' > > The artifacts should be specified relative to the workspace, so the $WORKSPACE/ seems wrong. archiveArtifact will not archive files outside the current workspace Björn

Re: Unexpected termination of the channel

2018-01-18 Thread 'Madhawa Gunasekara' via Jenkins Users
Hi Did you able to resolve this issue. I'm facing the same issue. Thanks, Madhawa On Thursday, May 5, 2016 at 5:51:39 PM UTC+5:30, Jordi Andreu Miralles wrote: > > Hi, > > we are suffering in the last days timeouts and sudden death of our slave > intances in Amazon EC2. > > I'm observed

Nullpointer exception in Jenkins 2.46.3

2018-01-18 Thread 'Madhawa Gunasekara' via Jenkins Users
Hi Devs, I found this NPE when we try to build one of our repo using Jenkins. Any idea to avoid this issue. I found a similar issue with Jenkins older version [1]. but that issue is all ready fixed. [1] https://issues.jenkins-ci.org/browse/JENKINS-20929 [INFO] ---

Hey Guys, I am running a Jenkins job that deploys to aws beanstalk, I want in the description to have the the commit message and I am using ${GIT_COMMIT} env variable. What I am getting is the commit

2018-01-18 Thread amit shohat
Hey Guys, I am running a Jenkins job that deploys to aws beanstalk, I want in the description to have the the commit message and I am using ${GIT_COMMIT} env variable. What I am getting is the commit hash and not the message. I've installed the Git Tag Message plugin and enabled it in

Declarative script not archiving artefacts

2018-01-18 Thread David Aldrich
Hi I have a declarative script that is not archiving the build artefacts. The structure of the script is: pipeline { agent { label "sim07" } options { buildDiscarder(logRotator(numToKeepStr: '20')) } triggers { pollSCM('H 20 * * 1-5') } stages {

Master runs out of disk space because of Jenkins files and libraries loading

2018-01-18 Thread Shiran
Hi all, I've noticed that when my pipeline jobs start and load the Jenkins file and shared libraries, I end up with many copies of the entire repository being checked out on the master. This causes master to run out of disk space *More details:* 1. I use Git plugin to load the Jenkins