RE: Which Mail plugins to use?

2015-01-27 Thread David Aldrich
that email-ext is built againstm. The warning is just a warning, it shouldn't affect the plugin doing its job. On Tue, Jan 27, 2015, 02:36 David Aldrich mailto:david.aldr...@emea.nec.com>> wrote: Hi In our Jenkins instance we have installed both the Mailer plugin and the Email Exten

A simple multi-configuration job question

2015-11-04 Thread David Aldrich
Hi I want to run a simple bash script on multiple machines (concurrently), triggered by a version control change. Can I do that by simply by using a Freestyle Project and listing multiple slaves in field 'Restrict where this project can be run', or must I use a multi-configuration project? If

RE: A simple multi-configuration job question

2015-11-04 Thread David Aldrich
Thanks Mike, that does help. David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mike Healey Sent: 04 November 2015 16:43 To: Jenkins Users Cc: David Aldrich Subject: Re: A simple multi-configuration job question Hi David, A Freestyle project

Matrix job: execute a certain build step for only a subset of slaves

2015-11-05 Thread David Aldrich
Hi I have a matrix job that builds our C++ project. I use a matrix job so that I can build simultaneously on various Linux distros, with differing versions of the g++ compiler. I have just one axis, which specifies the slaves. One of the build artefacts requires a 3rd party library that is avai

RE: Matrix job: execute a certain build step for only a subset of slaves

2015-11-05 Thread David Aldrich
To re-phrase my question: Using the Conditional Build Step Plugin, how would I specify a condition that checks whether the job is running on a specific slave? Best regards David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich Sent

Help needed with Multi-Branch Project Plugin question

2015-11-27 Thread David Aldrich
Hi I am experimenting with the Multi-Branch Project Plugin and it looks great. However, I don't understand the 'Sync Branches Schedule' feature. The 'Sync Branches Log' shows that the branches scan last ran at: "Started on Nov 27, 2015 9:52:52 AM" I have set the Sync Branches Schedule to 'H/30

RE: Help needed with Multi-Branch Project Plugin question

2015-11-27 Thread David Aldrich
com/mjdetullio/multi-branch-project-plugin/issues/9 I'm out of my depth now. Can anyone offer me any help with this please? BR David > -Original Message- > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- > us...@googlegroups.com] On Behalf Of David Aldrich >

Regular expression for conditional build step?

2015-12-03 Thread David Aldrich
Hi I am using the multi-branch plugin to run a job on multiple branches and the trunk. I want to add a conditional build step that is only executed on the trunk. So I'm thinking of adding a conditional build step that uses a regular expression to check whether $WORKSPACE contains 'trunk'. I

RE: Regular expression for conditional build step?

2015-12-03 Thread David Aldrich
batch command] I want the step to execute. What am I doing wrong? Best regards David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich Sent: 03 December 2015 12:28 To: jenkinsci-users@googlegroups.com Subject: Regular expression for

RE: Regular expression for conditional build step?

2015-12-04 Thread David Aldrich
Hi I’m still struggling with this. My workspace is: C:\Jenkins\workspace\VS2010_all_branches_and_trunk\trunk My condition for a build step is: Expression: .*trunk.* Label: ${ENV,VAR=WORKSPACE} So the build step should execute but it doesn’t: C:\Jenkins\workspace\VS2010_all_branches_and_trunk\

RE: Regular expression for conditional build step?

2015-12-04 Thread David Aldrich
Hi Matthew Thanks very much. I didn’t notice that I was using the wrong case. ${ENV,var="WORKSPACE"} works. 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

How to fix "No revision recorded for in the previous build" ?

2016-01-12 Thread David Aldrich
Hi I have just moved a job to a new slave and am getting a new error. The job requires an svn checkout that includes an external. During the checkout Jenkins reports: Fetching at -1 into and after the checkout the job fails and Jenkins reports: No revision recorded for in

RE: How to fix "No revision recorded for in the previous build" ?

2016-01-12 Thread David Aldrich
Hi Manuel > I'd like to investigate this behavior. Could you file a JIRA issue so that we > can > follow the conversation there? > > By the way, What version of Subversion Plugin are you using? Thanks for your reply. I have created: https://issues.jenkins-ci.org/browse/JENKINS-32413 I am usin

issues.jenkins-ci.org: No login possible

2016-02-09 Thread David Aldrich
login to issues.jenkins-ci.org seems to be broken: "Sorry, a communication error occurred while trying to contact the remote authentication server." Best regards David -- You received this message because you are subscribed to the Google Groups "Jenkins Users

Special measures for running Windows 10 slaves via DCOM?

2016-03-15 Thread David Aldrich
Hi Jenkins wiki page: https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM describes how to fix 'Windows slaves fail to start via DCOM' and really just refers to Windows 7 and Windows 2008 Jenkins slaves. Are the same fixes applicable to Windows 10 slaves? Best re

RE: Special measures for running Windows 10 slaves via DCOM?

2016-03-15 Thread David Aldrich
vided me with nothing but pain and anguish every time I tried to use it. On Tue, Mar 15, 2016 at 9:03 AM David Aldrich mailto:david.aldr...@emea.nec.com>> wrote: Hi Jenkins wiki page: https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM describes how to f

RE: Special measures for running Windows 10 slaves via DCOM?

2016-03-15 Thread David Aldrich
: jenkinsci-users@googlegroups.com Subject: Re: Special measures for running Windows 10 slaves via DCOM? Here you go: https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds#Distributedbuilds-LaunchslaveagentviaJavaWebStart On Tue, Mar 15, 2016 at 9:20 AM David Aldrich mailto:david.aldr

How to connect Windows 10 slave via JNLP (tunnelling) ?

2016-03-16 Thread David Aldrich
Hi I have followed the instructions on the wiki for connecting a Windows 10 slave to Jenkins using JNLP. When I run the Jenkins slave agent on the slave it fails to connect and I see this exception: [cid:image001.png@01D17F72.B05CB500] I guess the connection requires tunnelling. Both slave an

RE: Windows slave fails to connect via JNLP - can't find remoting.jar

2016-03-19 Thread David Aldrich
Fixed, Jenkins URL in Manage Jenkins > Configure System was incorrect. -- 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.

Windows slave fails to connect via JNLP - can't find remoting.jar

2016-03-19 Thread David Aldrich
Hi You may have seen my previous questions about trouble connecting a Windows slave using JNLP. I now have a Jenkins test server that is not behind a proxy server so there are no tunnelling issues. When we attempt to connect the slave to this test server using JNLP we see this exception: [ci

RE: Special measures for running Windows 10 slaves via DCOM?

2016-03-19 Thread David Aldrich
-LaunchslaveagentviaJavaWebStart On Tue, Mar 15, 2016 at 9:20 AM David Aldrich mailto:david.aldr...@emea.nec.com>> wrote: Yes, we have also experienced lots of pain from that route and I would be only too pleased to drop it! Please can you give me a pointer to the JNLP method? David From: jenkinsci

How to bring up VM's using Jenkins?

2016-04-04 Thread David Aldrich
Hi We want to run a matrix build of a job across a set of Virtual Machines that run on a single server. The VMs use a lot of resources so we don't want them to be up concurrently. Is it possible for Jenkins to bring up a VM before running a job and then take it down afterwards, then bring up

Plugin for multi-branch jobs?

2016-04-13 Thread David Aldrich
Hi I am using Matthew DeTullio's Multi-Branch Project Plugin. I have a few issues with it and so am wondering if there is an alternative. I have seen a reference to 'multibranch pipeline builds' in another thread. Would that be an alternative to consider? (I know nothing about pipeline build

How to understand job's disk space usage on master?

2016-04-19 Thread David Aldrich
Hi One of our Jenkins jobs, which runs on a slave, has stored 21GB on the master and I am trying to understand why. On the master, the directory for the job in /var/lib/jenkins/jobs/ has these entries: # ls builds config.xml lastSuccessful svnexternals.txt workspace@2 workspace@

How to 'Discard old builds' without running job?

2016-04-19 Thread David Aldrich
Hi We have a large job that has no 'Discard old builds' setting. I want to set 'Discard old builds' to a sensible value and action it, to delete some old builds, without actually running the job. Is that possible? Best regards David -- You received this message because you are subscribed to

RE: How to 'Discard old builds' without running job?

2016-04-19 Thread David Aldrich
I have to specify a path for it? Best regards David From: Alex Domoradov [mailto:alex@gmail.com] Sent: 19 April 2016 14:48 To: Jenkins Users Cc: David Aldrich Subject: Re: How to 'Discard old builds' without running job? You can use jenkins cli java -jar jenkins-cli.jar -s h

RE: How to 'Discard old builds' without running job?

2016-04-19 Thread David Aldrich
@gmail.com] Sent: 19 April 2016 14:48 To: Jenkins Users > Cc: David Aldrich > Subject: Re: How to 'Discard old builds' without running job? You can use jenkins cli java -jar jenkins-cli.jar -s http://jenkins.example.net:8080/ delete-builds LARGE_JOB BUILD_NUMBER for e.g. java

RE: How to 'Discard old builds' without running job?

2016-04-19 Thread David Aldrich
1.656 From: Alex Domoradov [mailto:alex@gmail.com] Sent: 19 April 2016 17:11 To: Jenkins Users Cc: alex@gmail.com; David Aldrich Subject: Re: How to 'Discard old builds' without running job? It's a really strange. What version of jenkins are you using? On Tuesday, Apri

RE: How to 'Discard old builds' without running job?

2016-04-19 Thread David Aldrich
Got the same result: ERROR: No such job 'test' From: Alex Domoradov [mailto:alex@gmail.com] Sent: 19 April 2016 17:14 To: Jenkins Users Cc: alex@gmail.com; David Aldrich Subject: Re: How to 'Discard old builds' without running job? Just for test - rename the jo

RE: How to 'Discard old builds' without running job?

2016-04-20 Thread David Aldrich
Hi Daniel > Use SSH key based authentication. Known bug with passwords when anon does > not have read access to the job. Thanks for your reply. Could you please give me a pointer how to use SSH key based authentication? I'm running the CLI on the Jenkins master - it is accessing localhost. Bes

RE: How to 'Discard old builds' without running job?

2016-04-20 Thread David Aldrich
vid > -Original Message- > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- > us...@googlegroups.com] On Behalf Of Daniel Beck > Sent: 20 April 2016 11:03 > To: jenkinsci-users@googlegroups.com > Subject: Re: How to 'Discard old builds' without ru

Gremlins disabling jobs

2016-04-20 Thread David Aldrich
Hi I am running Jenkins 1.656 and version 0.3 of the Multi-Branch Project Plugin. Admittedly, the version of the Multi-Branch Project Plugin is old (the latest version is 0.4.1) but the way that 0.3 maps branches to jobs better suits our needs. I have two problems: 1) For no apparent re

Upgrade to Jenkins 2 failed

2016-05-12 Thread David Aldrich
Hi I have tried to upgrade our Jenkins test server from 1.656 to 2.3 by copying the 2.3 war to: /usr/lib/jenkins/ and restarting Jenkins using: sudo /etc/init.d/jenkins restart Now I cannot connect to Jenkins: "This site can't be reached jenkinstest. refused to connect." Any suggestions ple

RE: Upgrade to Jenkins 2 failed

2016-05-12 Thread David Aldrich
Hi Daniel > My guess is that your service config file defines an AJP port, which causes > startup to fail. See the 2.0 changelog. Thanks, I think you are correct: SEVERE: Container startup failed java.io.IOException: Failed to start a listener: winstone.Ajp13ConnectorFactory at winstone.

RE: Upgrade to Jenkins 2 failed

2016-05-13 Thread David Aldrich
nsci-users@googlegroups.com [mailto:jenkinsci- > us...@googlegroups.com] On Behalf Of Daniel Beck > Sent: 12 May 2016 13:23 > To: jenkinsci-users@googlegroups.com > Subject: Re: Upgrade to Jenkins 2 failed > > > > On 12.05.2016, at 11:48, David Aldrich > wrote: > > > &g

RE: Upgrade to Jenkins 2 failed

2016-05-13 Thread David Aldrich
> However, some of the native packages enabled it by default for no real reason, > and in that case it suffices to just disable/remove the option. Please tell me how I would disable/remove it. David -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

How to migrate a Jenkins instance from a 1.x server to a 2.x server?

2016-05-23 Thread David Aldrich
Hi I discussed under a separate thread our difficulty in upgrading from Jenkins 1.656 to 2.3. After upgrading jenkins.war our server failed to start. Stephen Connolly advised me: > If you were using AJP then you need to switch to Tomcat as your servlet > container. It seems prudent for us to

How to fix exception 'Could not create rootDir ' ?

2016-06-06 Thread David Aldrich
Hi I see exceptions similar to the following in our Jenkins system log. We are running Jenkins 1.656. I could add this to the issue tracker but wanted to check here first, as I am not sure which component is at fault. Best regards David java.lang.RuntimeException: Could not create rootDir

Workspace clean-up killed jobs

2017-11-27 Thread David Aldrich
Hi Two of our declarative script jobs have failed for similar reasons. The jobs normally run with no problem. We are running Jenkins 2.91. The jobs take several hours to complete. Each one failed part way through and gave the following message in its console log: ERROR: missing workspace /d

RE: Email When Slave Goes Offline?

2017-12-11 Thread David Aldrich
Look at Mail Watcher plugin. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of John Bobinyec Sent: 11 December 2017 13:27 To: Jenkins Users Subject: Email When Slave Goes Offline? Is there some way to send an admin an email when the master notices tha

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 { stage('build

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 always {

RE: Release notes for Blue Ocean 1.4??

2018-01-25 Thread David Aldrich
It seems that the JIRA -> Confluence application link is broken, so the JIRA links don’t work. Does anyone know where we should report this? David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Thiago Carvalho D Avila Sent: 24 January 2018 18:28 T

RE: Release notes for Blue Ocean 1.4??

2018-01-25 Thread David Aldrich
> The Jira links are known to be broken due to the caching layer in front on > Confluence (uncached page access works). You can still click them, but it just > won't show the summary. This does make release notes very hard to read. The Blue Ocean 1.4.0 change log has many issues and there is

Environment Injector Plugin update?

2018-02-27 Thread David Aldrich
Hi I am seeing a security warning for the Environment Injector Plugin but no update is offered in Plugin Manager. 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 fr

RE: Environment Injector Plugin update?

2018-02-27 Thread David Aldrich
date? > > > > On 27. Feb 2018, at 09:36, David Aldrich > wrote: > > > > I am seeing a security warning for the Environment Injector Plugin but no > update is offered in Plugin Manager. > > Read the advisory. > > -- > You received this message because

Syntax for multiple artefact patterns in a declarative script?

2018-03-05 Thread David Aldrich
Hi I want to specify two artefact patterns in a declarative script but am unsure of the syntax: post { always { archiveArtifacts artifacts:'myProj/myExe',artifacts:'../solibs/myLib' } } } Errors encountered validating Jenkinsfile: WorkflowScript: 71: Duplicat

RE: Syntax for multiple artefact patterns in a declarative script?

2018-03-05 Thread David Aldrich
Thank you, that fixed it. archiveArtifacts artifacts:'myProj/myExe, solibs/*.so' Best regards David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Victor Martinez Sent: 05 March 2018 10:53 To: Jenkins Users Subject: Re: Syntax for multiple artefa

Confused about svn checkout with externals in declarative pipeline

2018-03-06 Thread David Aldrich
Hi I have a declarative pipeline that is to checkout a Subversion project and build it (on Windows with msbuild). Until now, I have specified the checkout solely in the project's configuration page i.e. using the GUI. However, the project has changed and now uses svn externals. I specified 'A

RE: Confused about svn checkout with externals in declarative pipeline

2018-03-06 Thread David Aldrich
Hi This is fixed. The GUI configuration was sufficient but I wrongly had the ‘ignore externals’ option checked. Best regards David From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich Sent: 06 March 2018 11:50 To: jenkinsci-users

RemoteInvocationHandler statistics and an exception

2018-04-17 Thread David Aldrich
Hi We have just migrated our Jenkins master from a Centos 5 m/c to a Centos 7 m/c. The console log now shows some RemoteInvocationHandler statistics and an exception. Any thoughts why these are happening please? Jenkins is fully up and running Apr 17, 2018 8:37:03 AM INFO hudson.remoting.Remot

Declarative script: How to escape 'Program Files (x86)'?

2018-04-18 Thread David Aldrich
My declarative script contains: environment { VSMSBUILDCMD_14_0 = 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\VsMSBuildCmd.bat' VSMSBUILDCMD_14_1 = 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\Common7\\Tools\\VsMSBuildCmd.bat' } st

Java exception when copying artifacts

2018-04-19 Thread David Aldrich
With Jenkins 2.107.2 LTS I am getting a Java exception when executing a 'Copy artifacts from another project' build step. I know that the destination directory is mounted and that my Jenkins user account has permission to write to the destination directory. Any suggestions what may cause this

RE: Java exception when copying artifacts

2018-04-19 Thread David Aldrich
kinsci-users@googlegroups.com Subject: Re: Java exception when copying artifacts Does the user that Jenkins is running as on the agent have access to the destination directory? On Thu, Apr 19, 2018 at 8:22 AM David Aldrich mailto:david.aldr...@emea.nec.com>> wrote: With Jenkins 2.107.2 LTS

RE: Java exception when copying artifacts

2018-04-19 Thread David Aldrich
when changing permissions to match the original file after the file has been copied. What are the permissions on /net/rsdprojects/SeraDL/Zodiac/Linux/HtmlDoc/Algorithms/html/Algorithms.html currently? On Apr 19, 2018, at 11:40, David Aldrich mailto:david.aldr...@emea.nec.com>> wrote:

RE: Declarative script: How to escape 'Program Files (x86)'?

2018-04-20 Thread David Aldrich
nal string? I dunno - I don't have a Windows environment handy to test on. A. On Wed, Apr 18, 2018 at 6:28 AM, David Aldrich mailto:david.aldr...@emea.nec.com>> wrote: My declarative script contains: environment { VSMSBUILDCMD_14_0 = 'C:\\Program Files (x86)\\Micros

Problem running Visual Studio 2017 build tools from Jenkins

2018-04-23 Thread David Aldrich
Hi I'm having difficulty running the Visual Studio 2017 build tools on a Windows 10 slave as a Jenkins job. I have described my problem in StackOverflow: https://stackoverflow.com/questions/49922959/how-to-fix-java-was-unexpected-at-this-time-when-invoking-vs-2017-build-to/49944377#49944377 If

How to inject an env variable from declarative script?

2018-04-23 Thread David Aldrich
Hi I'm trying to fix the occasional MSBuild error: "Fatal error C1090: PDB API call failed, error code '23'" 1. The advice given in JENKINS-9104 is to inject the following environment variable using EnvInject: _MSPDBSRV_ENDPOINT_=$BUILD_

RE: Visual Studio Environment

2018-04-27 Thread David Aldrich
We build Visual Studio C++ projects using Jenkins. We don’t use the MSBuild plugin but simply call msbuild from a bat step. It is necessary to call the Visual Studio Developer startup script first, from within that step. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegrou

msbuild fatal error LNK1101 with Visual Studio Build Tools 2017 v.15.7.1 in declarative script

2018-05-15 Thread David Aldrich
I have a msbuild job that runs within a Jenkins declarative script: stage('build_myProj_VisualStudio') { agent { label "jenkinswin10" } environment { VSMSBUILDCMD_14_0='C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\VsMSBuildCmd.bat' VSMSBUILDCMD_

RE: msbuild fatal error LNK1101 with Visual Studio Build Tools 2017 v.15.7.1 in declarative script

2018-05-15 Thread David Aldrich
same exact commands? On Tue, May 15, 2018 at 7:57 AM David Aldrich mailto:david.aldr...@emea.nec.com>> wrote: I have a msbuild job that runs within a Jenkins declarative script: stage('build_myProj_VisualStudio') { agent { label "jenkinswin10" } environment {

Manage Plugins > Check now gives an exception

2018-08-07 Thread David Aldrich
Hi After a system change to our Jenkins master, *Manage Jenkins > Manage Plugins > Check now* gives an exception (see below). What could be causing this? Best regards David Caught exception evaluating: it.shouldDisplay() in /jenkins/log/. Reason: java.lang.ClassCastException: hudson.node_moni

Re: Manage Plugins > Check now gives an exception

2018-08-07 Thread David Aldrich
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) On Tue, Aug 7, 2018 at 10:27 AM David Aldrich wrote: > Hi > > After

Log contains escape sequence characters

2018-09-14 Thread David Aldrich
My declarative script job is failing. I understand the reason for the failure but I'm getting an unhelpful message in the log: [31mERROR: Errors occurred during the build. [0m How can I capture the real error message without these escape sequences? -- You received this message because you ar

Multi-configuration project using declarative script?

2018-09-28 Thread David Aldrich
Hi I want to build a C++ project using make on numerous machines, each having a different version of g++. Currently I do this using a multi-configuration project. The configuration is growing more complicated in that some machines need some commands to run before calling make, so I have conditio

Jenkins shows exception after plugin updates

2018-11-20 Thread David Aldrich
:1655) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at David Aldrich | | NEC Telecom Modus Ltd | Olympus House, Cleeve Road, Leatherhead, Surrey, KT22 7SA, GB | t: +44 (0) 1372 381857 | m: | w: www.nec.com This email (includin

RE: Jenkins shows exception after plugin updates

2018-11-20 Thread David Aldrich
Looks like one of these is responsible: SSH slaves, Branch-API, CloudBees-Bitbucket-Branch-Source, CloudBees-Folder, Display-Url-API, Git-Client David From: jenkinsci-users@googlegroups.com On Behalf Of David Aldrich Sent: 20 November 2018 09:26 To: jenkinsci-users@googlegroups.com Subject

RE: Jenkins shows exception after plugin updates

2018-11-20 Thread David Aldrich
Addressed by https://issues.jenkins-ci.org/browse/JENKINS-54686 From: jenkinsci-users@googlegroups.com On Behalf Of David Aldrich Sent: 20 November 2018 09:37 To: jenkinsci-users@googlegroups.com Subject: RE: Jenkins shows exception after plugin updates Looks like one of these is responsible

'make' exit code is ignored in declarative script

2019-01-03 Thread David Aldrich
I have a declarative script that builds a C++ application on multiple agents in parallel. A stage looks like: stage('build') { parallel { stage('znsim08') { agent { label "znsim08" } steps { sh ''

JENKINS-2111 path sanitization ineffective ...

2019-02-14 Thread David Aldrich
Can anyone advise me what to do about this Jenkins console message please? JENKINS-2111 path sanitization ineffective when using legacy Workspace Root Directory ‘${ITEM_ROOTDIR}/workspace’; switch to ‘${JENKINS_HOME}/workspace/${ITEM_FULL_NAME}’ as in JENKINS-8446 / JENKINS-21942 Best regards Da

svn error 'ISVNAuthentication provider did not provide credentials'

2017-04-11 Thread David Aldrich
Hi Since upgrading: SCM API plugin from 1.3 to 2.1.1 Subversion Plugin 2.7.1 to 2.7.1 we are seeing the following exception occurring occasionally: svn: E200015: ISVNAuthentication provider did not provide credentials; HTTP authorization cancelled. at org.tmatesoft.svn.core.internal

Too many open files

2017-04-13 Thread David Aldrich
Hi Since updating some plugins we are getting lots of "Too many open files" warnings. Here's an example: Apr 12, 2017 9:38:35 PM WARNING org.eclipse.jetty.util.log.JavaUtilLog warn java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)

RE: Too many open files

2017-04-13 Thread David Aldrich
Hi Victor Thanks for your answer – I will try increasing the limits as they suggest. Best regards David From: Victor Martinez [mailto:victormartinezru...@gmail.com] Sent: 13 April 2017 09:24 To: Jenkins Users Cc: David Aldrich Subject: Re: Too many open files Hi there, You could read the

RE: Too many open files

2017-04-13 Thread David Aldrich
rt page, but it's the same core in the end. In my case, # ulimit -a open files (-n) 65536 Cheers On Thursday, 13 April 2017 08:37:42 UTC+1, David Aldrich wrote: Hi Since updating some plugins we are getting lots of “Too many open files” warnings. Here’s an e

How to get started with pipeline jobs?

2017-04-13 Thread David Aldrich
Hi We use the traditional 'Freestyle' job style for most of our Jenkins jobs. We also use the 'Freestyle multi-branch project' for some jobs. I note that the Multi-Branch Project Plugin is now deprecated, so I think now is the time for us to seriously look at moving to Pipeline jobs. The 'Ne

RE: How to get started with pipeline jobs?

2017-04-13 Thread David Aldrich
> -Original Message- > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- > us...@googlegroups.com] On Behalf Of Christopher Orr > Sent: 13 April 2017 12:44 > To: jenkinsci-users@googlegroups.com > Subject: Re: How to get started with pipeline jobs? > > Hi there,

RE: Too many open files

2017-04-13 Thread David Aldrich
at least post here the list of upgraded plugins, it could serve as a reference if this issue is encountered by any other. Thanks! 2017-04-13 10:41 GMT+02:00 David Aldrich mailto:david.aldr...@emea.nec.com>>: Yes, I agree. But I can’t practically roll back each upgraded plugin on the productio

RE: How to get started with pipeline jobs?

2017-04-13 Thread David Aldrich
with pipeline jobs? > > On Thu, 13 Apr 2017, at 14:08, David Aldrich wrote: > > Thanks for your answer, it was very helpful. > > > > Regarding the SCM, in Blue Ocean I clicked 'New Pipeline' and was > > asked 'Where do you store your code?'. I was o

Getting started with Multibranch pipeline

2017-04-19 Thread David Aldrich
Hi I am just getting started with the Multibranch pipeline project type (though I am familiar with conventional job types). I am not using Docker. The job will run on multiple svn branches and will simply run a command step to build our C++ software using a makefile. I want to store my Jenkin

How to specify svn credentialsId in pipeline job?

2017-04-19 Thread David Aldrich
Hi I have created a simple pipeline job that is intended just to check out a working copy from svn initially. Here's the script: node { echo 'Hello World' stage('Checkout') { checkout([$class: 'SubversionSCM', additionalCredentials: [], excludedCommitMessag

RE: Getting started with Multibranch pipeline

2017-04-19 Thread David Aldrich
15:54 > To: jenkinsci-users@googlegroups.com > Subject: Re: Getting started with Multibranch pipeline > > Hi there, > > On Wed, 19 Apr 2017, at 10:03, David Aldrich wrote: > > I am just getting started with the Multibranch pipeline project type > > (though I am familiar w

RE: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread David Aldrich
credentialId? Best regards David From: thomas.lehm...@teamaol.com [mailto:thomas.lehm...@teamaol.com] Sent: 20 April 2017 11:39 To: Jenkins Users Cc: David Aldrich Subject: Re: How to specify svn credentialsId in pipeline job? Usually the adminstrator of a Jenkins is reponsible to register

RE: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread David Aldrich
...@teamaol.com; David Aldrich Subject: Re: How to specify svn credentialsId in pipeline job? Click on the link an a table is shown and there is the columns ID ... One note: if you forgot to provide a readable name you cannot change it. You have to re-create it then. On Thursday, April 20, 2017 at 1:07:53

Basic pipeline questions (using svn)

2017-04-20 Thread David Aldrich
Hi Sorry for asking basic questions, but I need some help with my first pipeline. Here's what I have so far: node { stage('Checkout') { checkout([$class: 'SubversionSCM', additionalCredentials: [], excludedCommitMessages: '', excludedRegions: '', excludedRevpr

RE: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread David Aldrich
ehm...@teamaol.com [mailto:thomas.lehm...@teamaol.com] Sent: 20 April 2017 12:48 To: Jenkins Users Cc: thomas.lehm...@teamaol.com; David Aldrich Subject: Re: How to specify svn credentialsId in pipeline job? You assing it to the parameter credentialsId. On Thursday, April 20, 2017 at

RE: How to specify svn credentialsId in pipeline job?

2017-04-20 Thread David Aldrich
The snippet generator has solved this for me: additionalCredentials: [[credentialsId: '', realm: '']], From: David Aldrich Sent: 20 April 2017 16:29 To: 'thomas.lehm...@teamaol.com' ; Jenkins Users Subject: RE: How to specify svn credentialsId in pipeline job? H

E200015: ISVNAuthentication provider did not provide credentials

2017-04-20 Thread David Aldrich
Hi Occasionally our jobs that require an svn checkout are failing with svn error 'E200015: ISVNAuthentication provider did not provide credentials'. The failure is fixed by simply running the job again. We are running Jenkins 2.55 with Subversion Plugin 2.7.2. An example exception trace is sh

Pipeline job: How to build entire script from SCM?

2017-04-21 Thread David Aldrich
Hi The deprecated pipeline tutorial: https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md states: 'Building Entire Script from SCM: The easiest way to do this is to select Pipeline script from SCM when defining the pipeline.' When I create a new pipeline job I don't see an opt

Pipeline jobs: How are return codes handled?

2017-04-21 Thread David Aldrich
Hi In a conventional Jenkins job, my understanding is that the job will fail if the last command of a shell build step indicates an error. I am now experimenting with pipeline jobs and have something like: node { stage('Checkout') {} sh returnStatus: true, script: '''cd software

RE: Pipeline jobs: How are return codes handled?

2017-04-21 Thread David Aldrich
will get an exception on a failure. Will that fail the job neatly or will I get an exception trace? From: Ramanathan Muthaiah [mailto:rus.cah...@gmail.com] Sent: 21 April 2017 11:05 To: Jenkins Users Cc: David Aldrich Subject: Re: Pipeline jobs: How are return codes handled? On Friday, April

RE: Pipeline job: How to build entire script from SCM?

2017-04-21 Thread David Aldrich
Found it: Dropdown list in Pipeline > Definition on the job’s configuration page. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of David Aldrich Sent: 21 April 2017 10:42 To: jenkinsci-users@googlegroups.com Subject: Pipeline job: How to bu

How to use email-ext plugin in pipeline script?

2017-04-24 Thread David Aldrich
Hi Here's my pipeline: 1. node('pc1') { 2. 3. stage('Checkout') { 4. checkout([$class: 'SubversionSCM', 5. additionalCredentials: [[credentialsId: '', realm: '']], 6. excludedCommitMessages: '', 7. excludedRegions: '', 8. excludedRevprop: '', 9. excludedUsers: '',

RE: How to use email-ext plugin in pipeline script?

2017-04-24 Thread David Aldrich
very user friendly to difficult ☹ From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of jer...@bodycad.com Sent: 24 April 2017 17:13 To: Jenkins Users Cc: David Aldrich Subject: Re: How to use email-ext plugin in pipeline script? You can check the

RE: How to use email-ext plugin in pipeline script?

2017-04-24 Thread David Aldrich
e and say that pipeline isn't for everyone. Not ever build setup needs pipeline. Free style projects are just fine to use still. If they meet your needs, then I don't see a reason to switch to pipeline. On Mon, Apr 24, 2017 at 9:17 AM David Aldrich mailto:david.aldr...@emea.nec.com>&

RE: How to use email-ext plugin in pipeline script?

2017-04-25 Thread David Aldrich
end it to me by email? Best regards David From: jer...@bodycad.com [mailto:jer...@bodycad.com] Sent: 24 April 2017 18:32 To: Jenkins Users Cc: David Aldrich Subject: Re: How to use email-ext plugin in pipeline script? It's not so hard, it's just some behavior/limitations that are

Request for simple pipeline example to do checkout, run shell script, email result

2017-04-27 Thread David Aldrich
Hi Please can anyone point me to, or provide, a simple and complete pipeline script example to do a checkout, run a shell script and email the result? I am using svn, but a git example would be ok. Best regards David -- You received this message because you are subscribed to the Google Group

RE: Request for simple pipeline example to do checkout, run shell script, email result

2017-04-28 Thread David Aldrich
n Behalf Of David Karr > Sent: 27 April 2017 18:08 > To: Jenkins Users > Subject: Re: Request for simple pipeline example to do checkout, run shell > script, email result > > On Thu, Apr 27, 2017 at 3:05 AM, David Aldrich > wrote: > > Hi > > > > > > &

How to get started with Blue Ocean for Subversion user?

2017-05-11 Thread David Aldrich
Hi I am finding it difficult to construct declarative pipelines as code, so I want to try out Blue Ocean to construct them graphically. However, we store our project repositories in Subversion not Git. Blue Ocean wants a Git repository or GitHub. I can't use the latter because our IT policy

RE: How to get started with Blue Ocean for Subversion user?

2017-05-11 Thread David Aldrich
ative pipeline. Probably best to use github rather than hosting your own git server because blue ocean declarative pipeline editing works best with github. Mark Waite On Thu, May 11, 2017, 10:26 AM David Aldrich mailto:david.aldr...@emea.nec.com>> wrote: Hi I am finding it difficult t

Syntax for "mail to" in declarative script?

2017-05-15 Thread David Aldrich
Hi Where can I find a definition and syntax for "mail to" for a declarative script? Specifically I want to know: 1) Is it possible to specify a recipient by user name rather than full email address? 2) How to specify 'committers'? 3) How can I set the message body to be similar to that sent by

<    1   2   3   4   >