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: > Whi

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 wit

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 an

"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, se

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 th

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 https://github.com/jenkinsci/jep/pull/24

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 sc

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: 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

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 v

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. https://maven.apac

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 vie

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 be

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 pipe

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 jenkinsci-

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 (jun

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. To

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 on

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 con

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 this

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 jenkinsci-users+unsubscr...@google

Re: Jenkins problem with clocks going back?

2014-10-27 Thread James Nord
Hi Dirk, If you set the timezone to Etc/UTC even on windows the hardware clock will never jump - as there is no DST to adjust the clock by. /James -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiv

claiming individual tests

2014-10-31 Thread James Nord
Have you tried the claim plugin[1]? /James [1] https://wiki.jenkins-ci.org/display/JENKINS/Claim+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 jenkin

Re: claiming individual tests

2014-10-31 Thread James Nord
Pretty sure you can claim test failures with it. -- 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. For more options,

Re: workflow plugin error

2014-11-04 Thread James Nord
Hi, at first glance that might be as you are not using a node/workspace and the shell step requires one. Regards, /James On Monday, 3 November 2014 18:25:18 UTC, kptishere wrote: > > Hi, > I've installed the beta version of Workflow plugin > (https://github.com/jenkinsci/workflow-plugin)

Re: subversion plugin within jenkins and subversion command line client the conundrum

2014-11-04 Thread James Nord
Hi Narahari, The version of svnkit used in the jenkins subversion plugin only supports up to subversion 1.7 workspace. So you have a few possible solutions: 1) update and test the plugin and send a pull request 2) downgrade your native svn client to 1.7 3) configure maven to use the java svn cl

How to set the upstream job build status based on downstream build status.

2014-11-06 Thread James Nord
You can't change the result of a build after the build has completed. If you can explain what you are trying to accomplish at a higher level then we can probably let you know several ways in which you can accomplish this. Regards James -- You received this message because you are subscribed

[workflow-plugin] no workspace for parallel steps

2014-11-19 Thread James Nord
Could you paste a simple workflow that shows this? >From the log, to me it looks like your parallels are executed outside the node >and workspace blocks. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop

Re: [workflow-plugin] no workspace for parallel steps

2014-11-19 Thread James Nord
I can't obviously see why that would fail - however even if it worked it would not do what I think you expect it to do (copy the unit test results from the invoked job). The test results need to come from the node&workspace that the workflow has used - however the 'build' step just triggers a r

Re: Designing pre-tested commit strategy with jenkins and git repo

2014-11-24 Thread James Nord
HI, I'm not entirely sure what Team City does - and how tied into your git infrastructure you are - but Gerrit[1] along with the gerrit trigger plugin can provide a pre-tested commit if you can change your git server (or put something infront of it and make all users push to gerrit). There is

Re: [workflow-plugin] Passing parameters to triggered jobs

2014-11-24 Thread James Nord
Hi, the syntax is something like ArrayList yourparamaters=new ArrayList(); yourparamaters.add(new hudson.model.StringParameterValue('PARAM','123')); build job: 'yourJobNameToBuild', parameters: yourparamaters you can also shorthand this if you don;t need to re-use the same parameters build

Re: workflow plugin start parameterized job

2014-11-24 Thread James Nord
Hi Eric the syntax is something like ArrayList yourparamaters=new ArrayList(); yourparamaters.add(new hudson.model.StringParameterValue('PARAM','123')); build job: 'yourJobNameToBuild', parameters: yourparamaters you can also shorthand this if you don't need to re-use the same parameters bui

Re: [workflow-plugin] Reading and parsing property file

2014-11-27 Thread James Nord
Hi Rupali, readFile returns a String object with the entire contents of the file - so you can parse it using stand java/groovy APIs. .e.g. you can chain a StringReader and Properties https://docs.oracle.com/javase/7/docs/api/java/util/Properties.html#load(java.io.Reader) http://docs.oracle.com/

Re: Best way to re-configure Jobs on-the-fly

2014-12-02 Thread James Nord
Hi What you are attempting sounds like the litterate job type - have you looked at this plugin? /James On 2 December 2014 13:31:19 GMT+00:00, Kenneth Baltrinic wrote: >I have been tasked to look at how we can set up a self service CI >system >for a large development shop, much along the l

Re: [workflow-plugin] Determine current directory

2014-12-05 Thread James Nord
Hi Rupali The following should work node('windows') { def myDir = pwd bat "echo ${myDir}" } /James On 05/12/2014 13:11, Rupali wrote: Hi, I am using workflow plugin and in one of the workflow steps, I would like to know my current directory (full path) and use that in my b

Re: [workflow-plugin] Determine current directory

2014-12-05 Thread James Nord
try node('windows') { def myDir = pwd*()* bat "echo ${myDir}" } /James On 05/12/2014 14:30, Rupali wrote: Hi James, Thanks for quick reply. I tried this. But I get same exception. Regards, Rupali On Friday, December 5, 2014 7:25:51 PM UTC+5:30, James Nord wrote:

Re: Jenkins is now using embedded jetty

2014-12-15 Thread James Nord
Hi, Jenkins does not need JSP support - it uses alternate technology for building its web pages. So you can safely ignore this message. /James On 15/12/2014 02:20, Indra Gunawan (ingunawa) wrote: Ever since version 1.535, java –jar jenkins.war now runs on Jetty8: (issue 18366

Re: Workflow Plugin questions

2014-12-16 Thread James Nord
On 16/12/2014 10:15, Jo Shields wrote: Hi, We're looking to use Jenkins w/ workflow to replace our in-house CI system. However, there's a bunch of stuff that doesn't seem to be present in the addin (some of it might be missing features, some might be plugin compatibility, some might be me not s

Re: Workflow and ArtifactArchiver?

2014-12-19 Thread James Nord
On 19/12/2014 16:47, Les Mikesell wrote: If I create a workflow with multiple node {} operations and have step([$class: 'ArtifactArchiver', artifacts: '**/something/*.something', fingerprint: true]) inside more than one, what is supposed to happen to duplicates? No idea - I suggest a suck it a

Re: Workflow and ArtifactArchiver?

2014-12-19 Thread James Nord
On 19/12/2014 16:53, James Nord wrote: On 19/12/2014 16:47, Les Mikesell wrote: If I create a workflow with multiple node {} operations and have step([$class: 'ArtifactArchiver', artifacts: '**/something/*.something', fingerprint: true]) inside more than one, what is s

Re: manual jobs in pipeline

2014-12-24 Thread James Nord
You could probably use the workflow plugin to do this with an 'input' step Waiting for the user to say I've finished the tests and they passed (so the user can say no) and the job can fail. On 23 December 2014 18:35:53 GMT+00:00, Marc Tompkins wrote: > > >I have some manual test phases tha

Re: Git based builds; one commit at a time

2015-01-03 Thread James Nord
Or just use Gerrit and the Gerrit trigger plugin :-) On 31 December 2014 14:59:28 GMT+00:00, Mark Waite wrote: >If that's the case, you should probably consider the pre-tested commit >plugin that is part of the Cloudbees commercial offering. > >On Wed, Dec 31, 2014 at 7:48 AM, Steve K > >wrote:

Re: Open file handles becoming an issue

2015-01-07 Thread James Nord
The default max file handles in most Linux installs (1024) for Jenkins is woefully inadequate. Java itself will have many open files to libs and jars, jenkins will then have the for jobs, users and slaves. I recall also that the lib used by the fd plugin doesn't count all for descriptors and I

Re: Open file handles becoming an issue

2015-01-08 Thread James Nord
ough jenkins and use the plot plugin to visualize :-) /James On 07/01/2015 22:05, Sean Last wrote: Ok, i'll up the limit, but is there any metric I can use for what's reasonable versus what's worrisome in an average case/per job? On Wednesday, January 7, 2015 5:00:55 PM UTC-5

Re: Oddities in display formatting...

2015-01-10 Thread James Nord
On 09/01/2015 21:29, Daniel Beck wrote: ISSUE #1 Is there a way to make it not wrap the right pane below the left pane when the window size is smaller and instead make it stay in position and scroll to the right instead? That's a feature. Make the window wider, Jenkins needs the space to show

Re: Gerrit Trigger plugin - detect when number of failing tests has INCREASED

2015-01-12 Thread James Nord
On 12/01/2015 16:58, matthew.web...@diamond.ac.uk wrote: I've just started experimenting with the Gerrit Trigger Plugin. It's great, but I have one problem: If the build job is UNSTABLE (i.e. if any tests fail) Jenkins will post this status back to Gerrit, and flag the Gerrit patchset as not p

Re: [workflow-plugin] can a workflow be defined by stitching together existing jobs (local or remote) in parallel/serial?

2015-01-14 Thread James Nord
Hi Drug, 'build' of the step you are looking for. It takes a job name and a map of parameters. The has been discussion of this on this list so a quick Google should get you to more information. /James On 14 January 2015 17:54:30 GMT+00:00, Doug Lethin wrote: >I'm a complete newbie here to t

Re: Extension availability from Workflow Groovy CPS DSL

2015-01-15 Thread James Nord
On 14/01/2015 21:20, Mikhail Vassiliev wrote: Hello, I have searched through the entire email group and did not find an answer on my question. I would like to use “External Resource Dispatcher plugin” in my workflow test job. The idea is to connect several devices to Jenkins slaves, config

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 e

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 attempted

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 view

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 emails

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

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 1

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 at

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 creden

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: 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: SSH vs java web start for windows slave and Linux master in jenkins

2016-04-24 Thread James Nord
It requires a .Net 3.5 compatible runtime. You can use. Net 4.0 for example. Ssh slaves will auto update the remote, jnlp slaves (iirc) need to be updated manually. Ssh on windows is generally a world of pain at some point, YMMV, if your Setting up a few try both and see what works best for you

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 eac

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 de

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 - t

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: 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 15:5

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 Source

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 so

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

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 discuss

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 CREATE_RE

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 threa

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 are not familiar wi

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 wrote:all of the examples

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 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 Chelladhurai <sjeeva@gmail.com> wrote:

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 (x86)\Jenkins\jreIt looks like Jenkins now

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 (https://su

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 muc

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 f

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 Groups

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 jenkin

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

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 Je

Re: locks vs stage w/concurrency

2016-09-27 Thread James Nord
The new way to do this is with a milestone. https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Milestone+Step+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 em

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

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 a

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 jenkinsci-users+unsubscr.

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, process

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 tho

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: 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> wrote:

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: 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 u

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: [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 aw

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 jenkins

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 oth

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) https://docs.oracle.com/javase/8/docs/api/java/util/logging/clas

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 tha

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 general

Re: [workflow plugin] list files in workspace

2015-02-05 Thread James Nord
It is either dir or pwd step, I don't recall which of the top of my head but one of those will return it for you. On 4 February 2015 22:28:49 GMT+00:00, Shane Kim wrote: >maybe it's simple thing but I just couldn't find or get it working. How > >would I get the current workspace directory path?

  1   2   3   >