Re: How to disable branch scan while running job created by multi branch pipeline

2023-11-14 Thread James Nord
Hi Marco, Are you sure the build of the branch job is actually scanning all the branches? What's normally happening is the scan is only checking for new "interesting” branches, or changes to existing branches for which a job has already been created. this can be time consuming and so you

Re: using multi-line parameter

2023-08-11 Thread James Nord
Take Jenkins out of the equation for a moment. How would you run this command from a command line prompt in windows? There is an answer to that, but then your input is going to have to be munged to match that input which is not so user friendly. I would guess that whatever maven plugin reads

Re: Jenkins && DEBUG logging

2023-07-27 Thread James Nord
`.level=TRACE` is not valid level for java until logging so will probably be ignored or use the default (info). Use `FINEST` (this will likely severely hamper Jenkins startup, you should target specific classes or packages instead)

Re: substituting different credentials() in a multibranch pipeline depending on branch

2022-11-29 Thread James Nord
Try credentials(env.BRANCH_NAME='main' ? 'PROD_CLIENT_ID' : 'DEV...') or some syntax like that.. On Mon, 28 Nov 2022, 06:05 Victor Sudakov, wrote: > Dear Colleagues, > > Can you please suggest a way to use different credentials depending on the > Git > branch in a multi-branch pipeline? In

Re: HTTPS - works okay, but 2 problems

2022-09-28 Thread James Nord
jenkins (winstone) can load arguments from a config file in addition to the command line (--config). https://github.com/jenkinsci/winstone#configuration-file so you can (should be able) to put the password in that file. Now if you put the password in that file and make it read only by the

Re: [email-ext plugin] it failed to get instances of the class CucumberTestResultAction in groovy email template

2022-02-17 Thread James Nord
cucumber-reports does not contain CucumberTestResultAction so the action will never be added by it which is the main issue you have. CucumberTestResultAction is provided by the cucumber-testresult plugin cucmber-reports as far as I am

Re: Fail to upgrade Jenkins on windows

2022-02-02 Thread James Nord
Jenkins can upgrade itself when run as a service in windows It can not when launched manually, at the same time it should not offer to update itself either. You can install the service most simply with the msi installer, but then if you install is a package you should upgrade via a package to

Re: Support for CloudBees plugins

2022-02-02 Thread James Nord
If the PR builds then you can try the resulting binary. Download from the links to Jenkins the PR https://github.com/jenkinsci/aws-credentials-plugin/pull/125 I say if, because I wrote the patch on a mobile phone On Monday, 31 January 2022 at 17:51:00 UTC alan.l...@gmail.com wrote: > I do

Re: SSL invalid handshake issue

2021-10-08 Thread James Nord
Most recent JDK dropped support for TLS 1.1 and below as they are considered insecure. So it's likely the JDK TLS versions are incompatible with your perforce servers TLS versions. You could tune the JDK list of disabled TLS versions, or ensure your perforce server uses a secure TLS version.

Re: Views on Folders

2021-06-21 Thread James Nord
I fixed this recently, what version of Jenkins are you using ? https://github.com/jenkinsci/jenkins/pull/5377 jenkins-2.288 and higher /James On Thu, 17 Jun 2021 at 16:43, Anderson Cruz < anderson.siqueira.c...@gmail.com>

Re: 1 build run at a time

2021-04-29 Thread James Nord
You could define a single lockable resource and then ensure all your jobs grab it. https://plugins.jenkins.io/lockable-resources/ On Tuesday, 20 April 2021 at 15:16:02 UTC+1 priy...@gmail.com wrote: > Hi All, > > I have two branches A and B. 2 builds from 2 branches are running at the > same

Re: Master Jenkins High CPU utilization

2021-04-29 Thread James Nord
Hi Dhaval, A single thread dump (or even multiple) is not enough to see why the server is consuming excessive cpu. https://stackoverflow.com/a/29148553 will show how how to track the CPU to a specific (or set of) java threads. Once armed with that, then the thread dump will help us see what

Re: Jenkins agent websocket performance

2020-11-20 Thread James Nord
Hi Alex, I can not directly comment - I use them for all my windows k8s agents but that's not a huge load compared to the linux ones which have not yet switched. However, I would rather suggest that if your instance is requiring some upgrading I would setup some monitoring (OS metrics,

How to enable timeout in pipeline based on a condition?

2020-06-29 Thread James Nord
something like 'timeout(time: ${timeoutEnabled ? 5 : }, unit: 'MINUTES') -- 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 Complex Pipeline gets constant: "Queued Waiting for run to start"

2020-03-28 Thread James Nord
> We started getting some issues that manifest as follows: - UI gets very slugish - The pipeline jobs get stuck with message: Queued Waiting for run to start the queue performs badly when there are lots (n hundreds) of tasks stuck waiting to be scheduled. it may be you are starting to hit

Getting Error when running Gcloud commands on jenkins windows agent "When Running Gcloud commands on jenkins windows agent getting error like "This may be due to network connectivity issues. Please ch

2020-03-28 Thread James Nord
some built-in service accounts by their nature do not have network access for security. generally don't run Jenkins or its agents as a built-in service type as it exposes your infrastructure too much (like running as root on Linux). try setting up a separate service account for Jenkins and

Re: Jenkins + Kubernetes - Cache .m2 for jobs

2020-03-26 Thread James Nord
you can massively speed up the build (even without caching) by having a maven repository proxy/cache nexus etc) in the same cluster (or at least on a high bandwidth low latency link). even when you have things local to the container the remote maven repo will still be contacted and depending

Regarding Jenkins Abort

2020-03-03 Thread James Nord
that should happen automatically. can you provide more details? -- 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.

maven best practice

2020-03-02 Thread James Nord
I would steer clear of option 3 (and I wrote the maven-releasr-plugin-plugin) I use option 2 daily. whatever you choose manage your maven settings with config-file-provider plugin and credentials. option 2 is quicker to setup than a quick pipeline and then adding all the reporters you want

Re: maven build success despite OOM

2020-02-26 Thread James Nord
I'm assuming if you run that outside of Jenkins that the maven command returns a non zero exit code? -- 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: maven build success despite OOM

2020-02-26 Thread James Nord
that sounds like a bug in the maven job type. if you can reproduce it with something you share can you file an issue in issues.jenkins-ci.org along with the source, Jenkins plugin versions jdk and maven versions. you can get very similar results to the maven job type in pipeline using the

adding an ldap group to Project-based Matrix Authorization when an ldap user exists with the same name?

2020-02-25 Thread James Nord
you may get lucky if you prepend ROLE_ to the group name. long long ago you needed to do that before it was improved (like 10 years ago). I think that functionality remains to retain backwards compatibility and thus it may work to disambiguate the user and role. -- You received this message

maven build success despite OOM

2020-02-25 Thread James Nord
what kind of job are you using and how do you launch maven? -- 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

Re: step in build suddenly injecting new parameter flags, resulting in build failure

2020-02-15 Thread James Nord
Could it be that you have not locked the versions of maven plugins in your maven pom.xml? the axis-maven-plugin or whatever you are using to generate the wsdl that's failing could have been updated and you may be getting a newer version than you used to in the CO environment.

freeze that doesn't work for Jobs in the subfolder

2020-02-07 Thread James Nord
try allItems instead of items -- 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

Re: JNLP agent and proxy

2020-01-29 Thread James Nord
if you can access the server bypassing the reverse proxy (recommended) you need to configure Jenkins to advertise it's address https://wiki.jenkins.io/plugins/servlet/mobile?contentId=38929503#content/view/38929503 hudson.TcpSlaveAgentListener.hostName -- You received this message because you

About recommended RAM memory limit for Jenkins master docker for k8s deployment

2020-01-29 Thread James Nord
unfortunately there is no quick answer. I have seen much bigger instances work flawlessly with 4GB and much smaller instances need 32GB. the big difference is on what plugins you have installed, especially around report visualisation / transformation and if you are using pipelines that you are

Re: withMaven step not working with altDeploymentRepository when jenkins job parameters are specified?

2020-01-04 Thread James Nord
'OS' is an environment variable on windows. the maven scripts are likely looking at it and expecting one that is defined for Windows to set some parameters. the job parameter gets set in the environment for the process in the bat step if I recall correctly and this is likely messing with the

Re: Can access to “Configure Global Security” be restricted while allowing other admin access?

2019-12-13 Thread James Nord
Hi Nick, it's not currently possible with Jenkins. (but even if you could the users can still do anything including changing security permissions by running a script in the console or uploading a plugin). Part of what you are asking will be addressed by

How to copy a folder one location to another location via jenkins.instance groovy scripts

2019-11-13 Thread James Nord
this is not as simple as it sounds. first off a disclaimer CloudBees (my employer) as a proprietary feature that does this. the reason it is not simple is each job type may have special folders. then you have builds which again may have artifacts may have special files etc etc... trust me

"A" and "AU" Annotations in Jenkins Console Next to Files Being Checked Out

2019-11-04 Thread James Nord
This is output from the subversion command http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.update.html Added Updated /James -- 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,

Re: Jenkins NON-GUI notification of core / plug-in vulnerabilities / warnings and updates

2019-10-08 Thread James Nord
I think that cloudbees Jenkins health check can do this. https://go.cloudbees.com/docs/plugins/cloudbees-jenkins-advisor/ -- 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

Re: Windows Docker Master

2019-08-27 Thread James Nord
I found the Linux ones just as easy to use on windows. there is also LCOW if you want to mix and match but never tried this fully as I expected the ATH to barf  internally I have been running Windows containers for build agents for a long while (so much easier to build than full blown images

Re: Error : Unable to load maven-metadata.xml while executing Jenkins project

2019-05-06 Thread James Nord
the error you are getting is artifactory is saying the user running the build needs to give it some credentials (401) not sure how you configure Gradle to use username/password for repositories, but if you start there you should find your answer. /Janes On Fri, 3 May 2019, 12:13 , wrote: >

Re: What are the reasons for using "Merging the pull request with the current target branch revision"

2019-02-14 Thread James Nord
the main reason for using it is you want to check that the result of a PR if merged would result in working code. a PR can be based on any code even 1 year old, so this strategy makes sure it is up to date before building and testing. On Thu, 14 Feb 2019, 05:58 Vitaly Karasik GitHub Branch

Re: Building Jenkins in Eclipse

2019-01-01 Thread James Nord
Alas that page is complete bunkum... if you are using eclipse make sure you use a distribution with m2eclipse (or add it) then after building Jenkins at the command line (mvn install -DskipTests) import the projects in the normal eclipse way as a "Maven" project. /James On Tue, 1 Jan 2019 at

Re: Jenkins plugin to access Kubernetes API

2018-10-05 Thread James Nord
Why do you want a plugin? Logic is best done in scripts that can be debugged locally outside of Jenkins leaving pipeline to do orchestration and reporting. Is there a reason you can not use kubectl directly? On Thu, 4 Oct 2018, 18:15 olivier blanc, wrote: > I am looking for a Jenkins plugin to

Re: How do you evaluate the risk of allowing a particular static method call in a pipeline?

2018-09-26 Thread James Nord
well toJson can take a URL which could be a file:// path to some file on the master which you should not be able to read which could allow you to retrieve anything (including all secrets) in a Jenkins home. (There is also a method that takes a closure which is abitrary code.) Basically yeah -

Re: Configuration as code and preservation of credentials

2018-09-26 Thread James Nord
On Tuesday, September 25, 2018 at 9:38:10 PM UTC+1, Damien Coraboeuf wrote: > > Hi Nicolas, > > Thanks for your feedback. > > In our case, we're using CasC to maintain and push known and tested > versions of a Jenkins master into a production environment, but we wanted > to still accept some

Locked logs files and cannot delete a job or folder

2017-11-18 Thread James Nord
What version of jenkins? There was a bug fixed around this area since time around 2.3x IIRC. Otherwise may be someone is viewing the console from the run. Windows will not let you delete a file even if it is the same process that has it open and owns the lock. Can you see this on the latest

Re: Pipeline powershell

2017-07-11 Thread James Nord
Given you can reliably reproduce if can you open a new ticket with the minimum steps to reproduce (this likely includes an msbuild project) and include your plugin versions, build logs and a stack trace then it is more likely to get fixed - if you can attach a support bundle

Re: Does the sh pipeline step not work in windows with cygwin?

2017-07-01 Thread James Nord
Any form of Linux emulation on Windows will bring you a world of pain at some point especially inside pipeline. Even the bash on windows can give you interesting and wonderful results as the jvm launch could be the windows one or the Linux one... My recommendation is to either 1) just use a

Re: Pipeline powershell

2017-07-01 Thread James Nord
You can you use powershell natively in pipeline now. https://issues.jenkins-ci.org/browse/JENKINS-34581 -- 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

Error connecting windows slave

2017-06-23 Thread James Nord
You will find less pain if you launch the agent by hand using the jnlp agent method and then using the install as service option. The error you are seeing looks like a firewall blocking the CIFS ports (file sharing) -- You received this message because you are subscribed to the Google

Re: repo auth problems in Jenkins v2.46 copied from working v2.19 instance

2017-06-19 Thread James Nord
When you are trying to *copy* things you will generally find you have missed something, jobs with secrets won;t work as Jenkins will no longer be able to decrypt the secret etc etc... Given the error is around authentication I would hazard a guess that this is the cause of your woes. did some

Re: SSH Slave crashing immediately after start

2017-06-14 Thread James Nord
> java -version returned 1.7.0_75. Jenkins 2.58+ only support java8 or higher, this includes your agents JVM. /James On Tuesday, June 13, 2017 at 9:05:40 PM UTC+1, Peter Berghold wrote: > > I'm trying to re-establish connectivity to an SSH slave that used to work > when I was running a

Re:

2017-06-07 Thread James Nord
So I guess you have been using https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Remote+Trigger+Plugin, other than that I do not know of an oss pluggin. There is a proprietary comercial feature that does sound Ds like it does exactly what you want in CloudBees Jenkins Enterprise

Re: Having Jenkins update itself from 2.52 to 2.62 fails, saying it needs Java7

2017-05-25 Thread James Nord
Given you installed from the msi I would upgrade from the msi (running the new msi should upgrade everything. Test first!) On 24 May 2017 7:39 pm, Jeremy Morton wrote:Jenkins requires Java7 or later, but you are running 1.7.0_25-b17 from C:\Program Files

Re: jenkins plugin in groovy, python or some other scripting language

2017-05-18 Thread James Nord
Damn auto-correct On 18 May 2017 9:13 pm, Slide <slide.o@gmail.com> wrote:Developers list that is :-)On Thu, May 18, 2017 at 11:54 AM James Nord <teilo@teilo.net> wrote:Yes, but for the love of God please no! Ask on the device list. On 18 May 2017 9:37 am, Jeeva Chelladh

Re: parallel and splitTests questions

2017-05-18 Thread James Nord
See https://issues.jenkins-ci.org/browse/JENKINS-44085 and the workaround in the comments. That is if you want to limit per run of a job. If you want to limit across runs of a job or across multiple jobs then look at lockable resources plugin. On 18 May 2017 10:12 pm, Tim

Re: jenkins plugin in groovy, python or some other scripting language

2017-05-18 Thread James Nord
Yes, but for the love of God please no! Ask on the device list. On 18 May 2017 9:37 am, Jeeva Chelladhurai wrote:Oops! posted by mistake.. let me rephrase my questionIs it possible to write Jenkins plugin in groovy, python or some other scripting language? Many devops engineers

Re: Intermittent 504s when browser is accessing ajaxBuildQueue and ajaxExecutors endpoints

2017-05-18 Thread James Nord
This could be a number of things without any data to correlate1. Garbage collection performing stop the world collection (Google 'Sam van oort jenkins garbage collection cloudbees')2. Not enough http handlers in jenkins and someone is making http requests that are not quick so you exhaust the

Re: Access M2 Release Plugin release permission through groovy

2017-05-17 Thread James Nord
Did you try org.jvnet.hudson.plugins.m2release.M2ReleaseBuildWrapper.DescriptorImpl.CREATE_RELEASE ? /James On 5/16/2017 7:50 PM, Logan Twedt wrote: Hi Tina, et all, I'm also trying to configure the Release permission using a groovy script. I do see that the permission is called

Cucumber report plugin, How can I get custom Output text to show on the report

2017-05-15 Thread James Nord
https://gist.github.com/aslakhellesoy/4072962 -- 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

Cucumber report plugin, How can I get custom Output text to show on the report

2017-05-15 Thread James Nord
I'm pretty sure I implemented this... Which plugin are you using in jenkins (there are about 3 or 4 of them :( ) -- 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

Default way to see workspace in Blue Ocean

2017-05-15 Thread James Nord
If you want to see the files (rather than parsed results from files) then you need to fall back to the classic UI to browse the workspace (on the build, workflow steps, find the node containing the bit you want, go to that step, click browse workspace) Workspaces are designed to be ephemeral

Jenkins World 2017 Sponser Link is Insecure

2017-03-07 Thread James Nord
I guess this is fixed as that link takes me to https://www.cloudbees.com/juc/sponsors -- 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

Parallel pipeline - use clean node for each run

2017-03-07 Thread James Nord
Check deleteDir() step https://jenkins.io/doc/pipeline/steps/workflow-basic-steps/#code-deletedir-code-recursively-delete-the-current-directory-from-the-workspace -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group

multi module jenkins Aggrigate report

2016-09-27 Thread James Nord
Does this not work or of the box? I could have sworn there was aggregation support. Any logs or stack traces? -- 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: Request: Option to install plugins through web client instead of server-side.

2016-04-28 Thread James Nord
Good news this has been discussed, bad news is that there is no implementation of this yet. a slightly hacky workaround to save you pulling your hair out every time you want to upgrade... on your desktop (or machine with access to t'internet) download the json file, then parse it and for

Re: Is it possible to to have a third state (apart from "STABLE" and "UNSTABLE") for builds?

2016-03-10 Thread James Nord
Technically yes - as the Result is extensible. In reality you would then have to fork various plugins. However there already is NOT_BUILT which sounds like what you want - so the question becomes how to get the build to show this state given your conditions. If Jenkins is doing the clone then

Re: Jenkins Task - Is it possible to add a windows shell commands as a step ( on Windows salve) inside a Linux master job.

2016-03-10 Thread James Nord
Yes - use the https://wiki.jenkins-ci.org/display/JENKINS/DistFork+Plugin with appropriate labels. Or change your job type to pipeline that will allow you to use multiple `node`s /James On Sunday, March 6, 2016 at 10:48:10 PM UTC, jpd4nt wrote: > > Hi > > Either run the job on a windows slave

Re: Jenkins CLI

2016-02-25 Thread James Nord
On Wednesday, February 24, 2016 at 4:21:36 PM UTC, Hector Magnanao wrote: > > I'm trying to use the Jenkins CLI in Windows by issuing the command: java > -jar Jenkins-cli -s build 'test' > and it keeps returning an error saying no such job ''test'' > > My guess would be not specifying any

Re: Workflow: will executing node('some_machine') twice yield the same current directory

2016-02-16 Thread James Nord
short answer no - it is not guaranteed. - you may have more than 1 executor on that node and you may have multiple simultaneous runs of the same pipeline so they would get different workspaces. There are also other reasons why you should not do that... If you need the files to be there look

Re: Jenkins LTS 1.532.2 and Java8

2016-02-05 Thread James Nord
> is in any way possible to understand if Jenkins LTS 1.532.2 can run on a > Tomcat 7 configured to use Java8? I tried and I get lot of exceptions in > the logs. > That version has a number of remotely exploitable security holes - are you sure you want to run it? > Using the latest LTS

Re: How can I POST data to a remote service in Jenkins pipeline/workflow?

2016-02-02 Thread James Nord
Curl is just a program that most Unix like OSes happen to have installed by default. There are native binaries available for windows (both 32 and 64bit ) that you could install on your

Re: LDAP authentication problem for multiple OUs

2015-11-26 Thread James Nord
As you have country -> users. You need to have a common root. In your case that is dc=ca which given your root dn would be a blank entry. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving

Confusion of Maven build jobs sequence

2015-11-08 Thread James Nord
Short answer - yes. Each project is polling individually. -- 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

Re: Ugrading a quite old Jenkins server version (1.564) to the latest (1.636)

2015-11-06 Thread James Nord
On 06/11/2015 18:49, jks3 wrote: Hi, While not a newbie to Jenkins, I am certainly a newbie to Jenkins admin and I've been handed the task of upgrading our Jenkins server from its current version of *1.564* to the latest, which, as of today, is *1.636*. Now, when someone else here

Re: Error in installing Ruby runtime plugin on the latest version of Jenkins

2015-11-03 Thread James Nord
https://issues.jenkins-ci.org/browse/JENKINS-31019 includes the 2 possible workarounds and potential side effects. On Monday, November 2, 2015 at 11:37:29 AM UTC, Hossein Riazi wrote: > > As part of installation of GitLab Hook plugin, the ruby runtime dependency > is failing with the following

Re: Workflow question - children jobs as steps?

2015-10-28 Thread James Nord
> > I'm working on migrating an existing build setup with a number of > individual "component" builds that both can run individually and run as > part of a "full" build > Urgh non-linear history :-( if you separate out the logic of the individual job into a re-usable flow script that can

Re: Proposal: revisiting JUC in 2016

2015-10-20 Thread James Nord
Taking off my cloudbees hat and putting on my old hat being based in Europe. Getting approval to attend conferences abroad (outside Europe) for me was not always easy - as it involves large travel and time lost due to this. As such it was easier to go to a european conference. I also feel

Re: Workflow manual input step: how do I use it the right way?

2015-10-13 Thread James Nord
On Tuesday, October 13, 2015 at 3:58:02 PM UTC+2, Martin d'Anjou wrote: > > if you are using all the executors then you are using the "input" step >> inside a node block. >> > > Thanks. Putting the input step outside of a node block releases the > execution slot. But the blue ball keep blinking

Re: LDAP in Jenkins Fails, but ldapsearch works

2015-10-13 Thread James Nord
if you are using port 389 then unless TLS upgrade is happening then this is all plaintext (including your passwords!) so I would suggest a network capture with wireshark and then compare Jenkins and ldapsearch and see if you can spot some differences that can lead you to understand why this is

Re: Workflow manual input step: how do I use it the right way?

2015-10-09 Thread James Nord
if you are using all the executors then you are using the "input" step inside a node block. Use it outside of a node block and it won't consume any executors (and IIRC as of recently it won't consume any threads either!) If you need access to your files (which may be true if you are keeping the

Re: is 51,000 tests too much in a job?

2015-10-09 Thread James Nord
Check how much heap you have allowed jenkins to use. If too low unit tests will spend a hugely disproportionate % of their time in garbage collection and loading from disk rather than parsing the results (load the prior build to get the failing since for a test, do the next test get the

Re: Pass parent workspace in build flow

2015-10-05 Thread James Nord
no matter what you do this is not really a good thing to do and does not scale (the workspace is tied to the node) - so you will require all the jobs to run on the same node (it is a good practice to have a single exectutor per node - so you can see where this is heading!). If you want to do

Re: Running build across slave nodes

2015-10-05 Thread James Nord
workflow with a parallel fork will give you this if you can do the "split" (that is you will only have one workflow build). On Sunday, October 4, 2015 at 10:20:05 PM UTC+1, uscen...@gmail.com wrote: > > I am using

Authenticate with Global Credential from Remote Server

2015-10-03 Thread James Nord
Credentials are for jenkins to use to access systems, not for you to access jenkins. To set an shh key for cli auth you need to set they key on the user in /user/. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Re: Local User as well as AD User

2015-10-03 Thread James Nord
You cant do what you are trying to do. There is no support for 2 different security realms. Credentials are by jenkins to authenticate with other systems, or to be used in a build. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To

Re: Authenticate with Global Credential from Remote Server

2015-10-03 Thread James Nord
No. The normal approach would be for your AD admin to create a (limited) service account. -- 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

[workflow-plugin] Workflow Steps - custom names

2015-09-05 Thread James Nord
There is (should be) an open rfe in jira, if you search for it you should be able to vote/watch. -- 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 parse Squish JSON with Cucumber json test reporting plugin

2015-08-17 Thread James Nord
Not without a bug being raised and a some sample output from the tool showing how to reproduce. But it may be that the tool is outputting garbage in which case this may not be fixed and the tool vendor may need to output JSON that is actually parsable by gherkin. On Monday, August 17, 2015 at

Re: monitor if a has NOT changed?

2015-08-04 Thread James Nord
not that I am aware of - but that doesn't mean that one of the 1000+ plugins doesn;t support this. I guess it could be a simple tweak to the https://wiki.jenkins-ci.org/display/JENKINS/FSTrigger+Plugin if you are a java coder. On Tuesday, 4 August 2015 04:53:45 UTC+1, moodysma sma wrote: Is

Re: Difference in behavior of PluginWrapper.getDependencies() and UpdateSite.Plugin.dependencies

2015-08-04 Thread James Nord
the former looks should include all transative deps which will likely incluce the dependencies that are bundled with Jenkins core for the version of jenkins you target (like junit that used to not be a plugin). The UpdateSite should match exactly the json from the updateCenter. On Monday, 3

Re: OOME PermGen space

2015-08-04 Thread James Nord
e:\Java\jdk1.7.0_55/bin/java, -Xmx1024m, -cp, E:\Jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-agent-1.6.jar;e:\apache-maven-3.0.4\boot\plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, e:\apache-maven-3.0.4, E:\Jenkins\war\WEB-INF\lib\remoting-2.47.jar,

Re: Using Jenkins to manage my target devices

2015-07-15 Thread James Nord
Hi CHandra, Take a look at the following - they may help with what you are wanting to do. https://wiki.jenkins-ci.org/display/JENKINS/External+Resource+Dispatcher https://wiki.jenkins-ci.org/display/JENKINS/Lockable+Resources+Plugin /James On 14/07/2015 19:06, Chandra Kumar wrote: My

Re: Jenkins Job spawning a thread that creates an ever-growing log file

2015-07-15 Thread James Nord
On 15/07/2015 18:07, Jeff Dickerson wrote: The only way to recover from this, is to restart the Jenkins service on the master. Well depending what that thread is you could kill it in the script console. (Killing threads is considered 7/10 on my evil scale) I really don't like the idea that

Re: Naming jobs : delimiters : hyphens vs. underscores

2015-07-14 Thread James Nord
On 14/07/2015 08:44, Brantone wrote: I fully appreciate that this one's a preference thing, but curious if there's general consensus, and if any technical gotchas one way or another. (actually surprised search find anything) if you use an underscore then the link will contain the underscore.

Re: M2 Release Plugin - MAVE_OPTS not picked up and getting java.lang.OutOfMemoryError: PermGen space

2015-07-04 Thread James Nord
release:perform -Dresume=false -s /users/px-build/commonTools/maven/sjc-hudson62-lnx/apache-maven-3.0.4/conf/settings-rel.xml -Dmaven.test.skip=true … -Indra From: jenkinsci-users@googlegroups.com mailto:jenkinsci-users@googlegroups.com on behalf of James Nord jamestn...@gmail.com mailto:jamestn

Re: Restore of Jenkins 1.616 back to 1.555

2015-06-13 Thread James Nord
By any chance did you upgrade to jdk 8 at the same time? You may get lucky by downgrading to 1.7 as that looks like a buggy comparator being called to null. But only lucky if you never saved the system or job configurations post upgrade... -- You received this message because you are

Re: Let running Jenkins job fail/succeed from outside?

2015-06-10 Thread James Nord
You can do this in workflow if you use input https://github.com/jenkinsci/workflow-plugin/blob/master/TUTORIAL.md#pausing-flyweight-vs-heavyweight-executors . Or if you want the build to immediatly stop you can abort it - but that then may not run post build tasks. On Tuesday, 2 June 2015

Re: Why is a release candidate plugin update available from the stable update site?

2015-05-04 Thread James Nord
IIRC only plugins that have a alpha or beta version are filtered out of the stable update center and shown in the experimental update center. RC versions are not considered experimental. On Thursday, 30 April 2015 18:47:24 UTC+1, Ullrich Hafner wrote: I don’t think that plugins are yet part of

Re: M2 Release Plugin - MAVE_OPTS not picked up and getting java.lang.OutOfMemoryError: PermGen space

2015-04-17 Thread James Nord
The memory arguments don't get injected randomly - so I would track down where the values 384m and 192m are set and work backwards. If possible can you post your job config.xml and the full output of the build? /James On Friday, 10 April 2015 16:56:59 UTC+1, Keith O'Brien wrote: Hi all,

Re: M2 Release Plugin - mask scm password issue

2015-04-09 Thread James Nord
Can you file an RFE on the issue tracker for the m2release plugin. You shouldn't need to jump through hoops for this to work. On Monday, March 30, 2015 at 10:17:11 PM UTC+1, Andreas wrote: Eric, thanks for the hint. Nevertheless, the masking just works if I also expose the password as SCM

Re: Jenkins burning devil w/Stack trace--how to recover???

2015-03-27 Thread James Nord
You may get some pointers on here if you paste the stack trace, otherwise all you can get is generic pointers. -- 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: Unable to use CUDA context for automatic unit testing

2015-03-26 Thread James Nord
CUDA being related to using graphics card to run code I would suggest that if what Richard suggested doesn't work that you look at the option to run service with allow interaction with the desktop enabled. Otherwise you may need to change the slave launch method so that windows auto-logs in

Re: Password Parameter not masked in Console output

2015-03-21 Thread James Nord
There are a few plugins that handle the masking of passwords. Take a look at https://wiki.jenkins-ci.org/display/JENKINS/Mask+Passwords+Plugin Iirc there is also another plugin. -- Sent from my phone. Please excuse my brevity and any auto correct issues. On 17 March 2015 10:03:48 GMT+00:00,

Re: cucumber-plugin added build ste[p disappearing

2015-03-09 Thread James Nord
Looks like a big in the plugin you are using. I'm not aware of that plugin so it may be DOA or some work in progress. If you need a quick workaround why don't you run your tests like you would from the command line with rake. If you want to visualise the test results you can use one of the

Re: Concurrent builds in a BuildFlow

2015-02-19 Thread James Nord
HI, I'm not clear on your use case but BuildFlowExtensions[1] contains a block DSL that may help you. The block DSL ensures that only one Run (build) of a particular BuildFlow will execute the steps contained within it concurrently. It further will only allow the most recent FlowRun to

  1   2   3   >