Re: Help on hosting Jenkins controllers

2025-01-10 Thread James Nord
shell step can be a factor limiting scalability. Regards James On Wednesday, 8 January 2025 at 12:23:33 UTC ravirajk...@gmail.com wrote: > We have a large Jenkins installation, we have scaled the controller > vertically. > Currently our memory allocated is ~40 GB for the controller. We w

Re: Unable to download and launch plugins on jenkins

2024-08-06 Thread 'James Nord' via Jenkins Users
raised https://github.com/jenkins-infra/helpdesk/issues/4211 On Tuesday, August 6, 2024 at 1:55:58 PM UTC+1 James Nord wrote: > The certificate that xmission uses has been revoked. > > probably something to make the infra hosting team aware so they can > (temporaily) remove the mir

Re: Unable to download and launch plugins on jenkins

2024-08-06 Thread 'James Nord' via Jenkins Users
The certificate that xmission uses has been revoked. probably something to make the infra hosting team aware so they can (temporaily) remove the mirror from the pool /James On Thursday, July 4, 2024 at 7:42:21 AM UTC+1 sai.bh...@gmail.com wrote: > Hi, > > I have newly provision

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

2023-11-14 Thread James Nord
Onelce you have the Jenkinsfile this is parsed and run on the controller. The agent will only be used for specific steps within a `node` block (like `sh`), all the groovy code is always run on the controller. HTH /James On Tue, 14 Nov 2023, 10:51 TechnoLost, wrote: > Hi all, > I&

Re: using multi-line parameter

2023-08-11 Thread James Nord
. /James On Fri, 4 Aug 2023, 17:45 idan...@gmail.com, wrote: > Hi, > > I try and this is what I got : > *19:34:43* [multiline] $ cmd.exe /C > "C:\jenkins\tools\hudson.tasks.Maven_MavenInstallation\3.3.9\bin\mvn.cmd -f > pom.xml '"-DDescription=Line1 \ *19:34:43

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: ‘Discard Old Items’ not removing all directories for multi-branch pipeline

2023-07-25 Thread James Robson
cff14364235a61e8bdf/plugin/src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java#L659 > ) > > Perhaps you had some dirty shutdown of Jenkins and are using a non > survivable performace strategy rather than MAX_SURVIVABILITY ? > https://www.jenkins.io/doc/book/pipeli

‘Discard Old Items’ not removing all directories for multi-branch pipeline

2023-07-10 Thread james....@secondmind.ai
I have a multi-branch pipeline with ‘Discard old Items’ set up to get rid of old PRs, but I’ve noticed that the directories aren’t all being removed completely from the controller’s filesystem. These directories have no confg.xml and they disappear from the UI but it leads to warning messages

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: HTTPS - works okay, but 2 problems

2022-09-28 Thread James Nord
, then only root has access normally to the password in the systemd configuration) /James On Wed, 14 Sept 2022 at 17:35, John Horne wrote: > Thanks for that. I looked through bug reports and found someone else > saying that port 8080 remained open. It was you (I think) that replied to >

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

2022-02-17 Thread James Nord
s I am aware does (at least did not) not provide a model you can inteorogate or otherwise integrate with Jenkins and is a mostly dumb publisher around converted HTML. /James On Monday, 14 February 2022 at 06:31:17 UTC Oxygen wrote: > I need to write a groovy email template to send HTML e

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 u

Re: SSL invalid handshake issue

2021-10-08 Thread James Nord
rsion. I would recommend the later and you can find some info on how to do that over at https://community.perforce.com/s/article/2620 Regards /James On Thursday, 7 October 2021 at 12:12:37 UTC+1 jesusfern...@gmail.com wrote: > I am using the P4 plugin for Jenkins, I had this SSL invalid h

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 <https://github.com/jenkinsci/jenkins/releases/tag/jenkins-2.288> and higher /James On Thu, 17 Jun 2021 at 16:43, Anderson Cruz < anderson.siqueira.c...@gmail.c

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 tho

Re: Extracting of jenkins error

2021-01-20 Thread james prakash
Thanks alot for your help @victor On Wednesday, January 20, 2021 at 6:35:59 PM UTC+5:30 victormar...@gmail.com wrote: > I understand now, thanks. > > I'm afraid in your case the issue is related to a syntax error in the > Pipeline so nothing about a runtime error, so there is no way to run any

Extracting of jenkins error

2021-01-19 Thread james prakash
How to find specific errors from jenkins console output and print them by echo statement -- 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+unsub

Re: Jenkins agent websocket performance

2020-11-20 Thread James Nord
ay or a week), then if things don't work you will be able to track it to a specific plugin upgrade, or a core upgrade, or in this case switching agents to websocket. Regards /James On Friday, 20 November 2020 at 21:02:47 UTC Alex Williams wrote: > Evening/Morning/Afternoon, > > I&#

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

load Jenkins pipeline shared library failed

2020-05-29 Thread james
Hi, Can anyone please help me? I have a pipeline shared library in Groovy. When I tried to load and run it in Jenkins multibranch pipeline, then I got below error. Here are installed plugins. Pipeline: Groovy 2.80 Pipeline: Groovy HTTP 0.2.1 Pipeline: Shared Groovy Libraries 2.16 Struct

ec2-plugin: now really slow on first build

2020-05-28 Thread James Green
ection? Thanks, 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, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussio

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

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

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

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

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

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-

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

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

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

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

Jenkins pipeline jobs being triggered by github webhooks from wrong repository

2020-02-12 Thread James Robson
I have 1 code repo that should be triggering jobs, and a separate repo for a jenkins pipeline library. There are 2 jenkins jobs that use the ‘GitHub hook trigger for GITScm polling’ build trigger, both are pipeline jobs using the ‘Pipeline script from SCM’ with the repository configured to p

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: 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
g with the script. try changing 'os' to 'agent-os' and see how you get on. /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

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

2019-12-13 Thread James Nord
, if not I know CloudBees Core <https://www.cloudbees.com/products/core/overview> can provide this last peice of the puzzle (disclaimer: as you can tell from my email I work for CloudBees). Regards /James On Friday, December 13, 2019 at 9:37:41 AM UTC, Nick Howard wrote: > > Right no

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

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

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

Re: Delay agent execution for auto-updates at boot

2019-09-04 Thread James Green
nit script when used on an Amazon Linux 2 AMI (there is cloud-init). If I get further I will update this thread. James On Tue, 3 Sep 2019 at 09:35, Toni Van de Voorde wrote: > Hey James, > > I had the same issue without understanding what happened. Meanwhile I also > understan

Re: Delay agent execution for auto-updates at boot

2019-09-03 Thread James Green
. Solves our issue. Ticket if anyone is interested: https://issues.jenkins-ci.org/browse/JENKINS-59180 On Thu, 29 Aug 2019 at 10:17, James Green wrote: > I finally used Packer to build an AMI based on Amazon Linux 2 to act as as > agent. Yesterday, the builds began failing with a Java stack

Re: Trigger build via REST API since 2.176.3

2019-09-02 Thread James Telfer
for a "How-To Guide" > to be added to https://jenkins.io/doc/developer/guides/ . > > On Mon, Sep 2, 2019 at 4:09 AM James Telfer > wrote: > >> Hi, >> >> I've been bitten by the security fix in Jenkins LTS 2.176.3 to the CSRF >> protection, speci

Trigger build via REST API since 2.176.3

2019-09-02 Thread James Telfer
Hi, I've been bitten by the security fix in Jenkins LTS 2.176.3 to the CSRF protection, specifically the tying of a crumb to the session ID it was generated in. There is a note in the upgrade guide which suggests I can trigger builds

Delay agent execution for auto-updates at boot

2019-08-29 Thread James Green
. Rebuild the AMI and the new agent worked a treat. Is there a way of avoiding this problem by preventing Jenkins from launching the agent until the boot steps are complete? I cannot be the first to encounter this issue :-) Thanks, James -- You received this message because you are subscribed to the

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: Git scm fails to check the expected branch when another branch has the target branch name as a suffix

2019-05-16 Thread James Robson
tactic > sugar" command `git` with the `checkout` command. Pipeline Syntax link on > the Pipeline pages will help get the correct syntax for the details of the > checkout command. > > On Thu, May 16, 2019 at 7:25 AM James Robson > wrote: > >> >>

Re: Git scm fails to check the expected branch when another branch has the target branch name as a suffix

2019-05-16 Thread James Robson
On Wednesday, 15 May 2019 21:28:52 UTC+1, Mark Waite wrote: > > > You can often avoid the guessing by naming the branch precisely, as in > 'origin/develop'. > I attempted to use 'origin/develop' as the branch name, but that causes the job to fail the checkout with "ERROR: Couldn't find any rev

Git scm fails to check the expected branch when another branch has the target branch name as a suffix

2019-05-15 Thread James Robson
I have a repo with a branch called ‘develop’ and another branch called ‘kassandra/develop’. I have created a pipeline job that is building on ‘develop’, set to trigger with the ‘GitHub hook trigger for GITScm polling’. I expect this job to run only when ‘develop’ is changed, however it is

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

Recovering jenkins.io account

2019-04-23 Thread James Telfer
Hi, Not sure this is the right place, but https://accounts.jenkins.io/passwordReset just says 'contact us' without a link as to how I believe I have an existing jenkins.io account linked to an email address I no longer have access to. I'd like to continue using that account and link to a

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

Re: Console output getting hidden when running from library step

2019-02-04 Thread James Telfer
In case anyone else runs into this; the problem was nothing to do with Jenkins, it was a change I'd made to the second script, which hid all output internally. Coincidence that both changes went in together! On Monday, 4 February 2019 12:16:53 UTC, James Telfer wrote: > > Hi, >

Console output getting hidden when running from library step

2019-02-04 Thread James Telfer
Hi, I'm pulling some common functionality out of my pipelines into a global library. I've come across the following odd (and unwanted) behaviour; The original, Declarative Pipeline did something like this: pipeline { ... stages { stage('Build') { steps{ bat 'call setup-en

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

Re: Problem with Java 8 update 191?

2018-10-30 Thread James Fairweather
Thanks for the suggestion of using $WORKSPACE, that's an improvement. I still don't know why Jenkins thought the primary workspace was in use but since the problem has disappeared, I won't worry about it for now. On Tue, Oct 30, 2018 at 10:09 AM matthew.web...@diamond.ac.uk < matthew.web...@diamo

Re: Problem with Java 8 update 191?

2018-10-30 Thread James Fairweather
he workspace name. > > Mark Waite > > On Mon, Oct 29, 2018 at 11:28 PM James Fairweather < > james.fairweat...@blackbirdinteractive.com> wrote: > >> Today I installed the version of Java from 8 build 181 to 8 build 191 on >> several build slaves. After doing tha

Problem with Java 8 update 191?

2018-10-29 Thread James Fairweather
Today I installed the version of Java from 8 build 181 to 8 build 191 on several build slaves. After doing that, Jenkins started allocating a 2nd workspace on the some of the build agents. For example, instead of running here: D:\projects\lion\main They were running here: D:\projects\lion\main

Re: Post Build Actions: Archive Artifacts

2018-10-25 Thread James Otto
Where does the archive end up, and what does it get named? On Friday, September 26, 2014 at 11:27:44 PM UTC-4, Indra Gunawan (ingunawa) wrote: > > It is under “Post build Actions“ : “Archive the artifacts” > You specify the regex of files in the workspace to archive. > > > From: Michael Nguyen

Re: Run script before build is deleted?

2018-10-24 Thread James Green
I filed this as https://issues.jenkins-ci.org/browse/JENKINS-54164 On Sat, 13 Oct 2018 at 16:32, Slide wrote: > I think James is looking for something that allows him to run a script or > something before a build is deleted from Jenkins, NOT during a build run. > It would have to be

Re: Pipeline checkout persistence issue

2018-10-17 Thread James Chapman
at for now, albeit a little bit annoying because the checkout is common. The other option that works is to completely remove the call to checkout because it does a full checkout by default. Either way, the default checkout seems to be the cause of my headaches and I now know how to get around it, tha

Pipeline checkout persistence issue

2018-10-17 Thread James Chapman
just checked out get deleted and the build then fails because the required buildproj.pl file is missing. All that remains after the checkout step is the Jenkinsfiles. Can anyone help me understand why the checked out files are being deleted? Thanks James In the *project root* I have: build

Re: Testing shared libraries locally

2018-10-16 Thread James Fairweather
Why don't you want to go through GitHub? That workflow works really well in my experience. On Tue, Oct 16, 2018, 4:24 PM Hari Phaneendra, wrote: > Hi, > I am looking for ideas on how to test shared libraries locally without > having to push my changes to github and have my local jenkins point t

Re: Run script before build is deleted?

2018-10-12 Thread James Green
How so? I need this to run as the build gets expired but as it completes. On Thu, 11 Oct 2018 at 17:58, Jan Monterrubio wrote: > As a post build script, probably. > > On Thu, Oct 11, 2018 at 11:35 James Green > wrote: > >> Is this possible? >> >> What I would

Run script before build is deleted?

2018-10-11 Thread James Green
Is this possible? What I would like to do: examine the build and discover if there are any docker images. If there are, delete them from the registry first. Is this feasible? Thanks, James -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

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

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: Relationship between GitHub credentials and Jenkins Service account (running as Windows Service)

2018-09-13 Thread James Fairweather
We are running the Jenkins service under another account (i.e. not the Local System Account), and accessing our GitHub projects via ssh. The private key is stored in Jenkins. I assume that's what you're doing too. It's working fine here. Are you sure the credential stored in Jenkins is actually

Re: trigger jenkins build from bitbucket

2018-04-27 Thread James Telfer
Not a direct answer to your question, but have you considered using the Bitbucket Branch Source Plugin (https://plugins.jenkins.io/cloudbees-bitbucket-branch-source)? This gives you multibranch pipelines and integrates with Bitbucket, creating those webhooks automatically for you when you crea

Re: Jenkins X - no JENKINS_URL environment variable is set

2018-03-22 Thread James Strachan
I just saw you raised an issue and answered this there... https://github.com/jenkins-x/jx/issues/477#issuecomment-375360275 On Thursday, March 22, 2018 at 3:02:15 PM UTC, ey...@jfrog.com wrote: > > Hi, > I set up JenkinsX and trued using the hjx import command as follows: > > eyalb-mac:maven-examp

Re: Advice on how to do CI for C++/CMake project

2018-02-07 Thread James Telfer
Your requirements to have each library build in a separate job and it all sit in the same workspace are rather at odds with each other, even without using Pipeline. What you describe sounds more like a multijob project, which would then pull artefacts out of each of the library jobs for the ov

Separating JUnit test reporting for files in different folders

2018-01-31 Thread James Telfer
in the test results view. Is there any way to get the reporter to report the results from each stage separately? Thanks, James Telfer -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emai

Advanced / Deprecated plugins

2018-01-04 Thread James Green
rong plugin for. Thanks, 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, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussio

Pipeline options incorrectly documented?

2018-01-02 Thread James Green
9. timestamps() ^ The documentation's list of options and the accepted options seem to differ quite a bit and there's nothing noted in the Changelog about this. What gives? Thanks, James -- You received this message because you are subscribed to the Google Groups "Jenkin

Re: [multibranch] [bitbucket] Code push tells Jenkins, Jenkins doesn't build anything

2017-12-22 Thread James Green
reation screen mentioned the need for a new web hook... Oh well! James On 22 December 2017 at 09:27, James Green wrote: > I've just converted a Pipeline job that built every time a change was > pushed into BitBucket to the equivalent as a multibranch project. > > Trouble is,

[multibranch] [bitbucket] Code push tells Jenkins, Jenkins doesn't build anything

2017-12-22 Thread James Green
. This appears to be a bug but I might expect more complaints when I search for it. I wonder if it is some requirement of the user that connects to BitBucket - like it doesn't have sufficient rights for something not involving cloning? Thoughts? James -- You received this message because y

Reliable Job Name?

2017-12-21 Thread James Green
I have a multibranch job inside a folder. It's JOB_BASE_NAME is the name of the git branch name, not the job's base name. I'm slightly bemused that there appears no API means of acquiring such information, at least not from the Google Fu I have so far. Any ideas? James -- Yo

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: Suggestions for a jenkins dashboard

2017-11-08 Thread James Telfer
We use Atlasboard (https://bitbucket.org/atlassian/atlasboard) along with the Atlasboard Jenkins Package (https://github.com/incentro/atlasboard-jenkins-package) to display build status. Pretty simple to get set up as it goes, and the views are driven by creating views in Jenkins, so very easy

Re: Getting the real Jenkins job status for a pipeline job.

2017-08-17 Thread James Dumay
Hopefully before the year is out. It's hard to say. We are focused on getting things right once than doing it quickly. On Fri, 18 Aug 2017 at 2:10 pm, Dallas Clement wrote: > James, how soon do you think these changes will come to fruition? Looking > at the Jira issues you noted

Re: Getting the real Jenkins job status for a pipeline job.

2017-08-17 Thread James Dumay
ork we need to do for all of these things is highly related. On Fri, Aug 18, 2017 at 12:43 AM Dallas Clement wrote: > Hi James. This sounds like a dream come true to have status for > individual stages and steps. In my particular situation I need to collect > test results from a lot of b

Re: Getting the real Jenkins job status for a pipeline job.

2017-08-16 Thread James Dumay
Oh, and if your use case is covered by an existing ticket, providing us with more context (like I described for new tickets) as a comment would be fantastic. On Thursday, August 17, 2017 at 4:52:43 PM UTC+10, James Dumay wrote: > > We are working right now on making sure steps, stage

Re: Getting the real Jenkins job status for a pipeline job.

2017-08-16 Thread James Dumay
We are working right now on making sure steps, stages, etc having individual statuses, a method for setting them at a stage/parallel level instead of for the whole pipeline and to introduce consistent behaviour for those statuses in the Blue Ocean pipeline visualisation. You can check the sta

Re: jenkins-jira-plugin: Failed to authenticate with JIRA

2017-07-26 Thread James Green
terface since around version 4. There's no suggestion that the plugin should not work against the REST interface in JIRA-6. My copy of IntelliJ is working against our JIRA-6 instance via the Tasks component without trouble - which I strongly suspect is also using the REST interface. James

jenkins-jira-plugin: Failed to authenticate with JIRA

2017-07-24 Thread James Green
ate. The stack trace itself says it expected a JSON response! I'm sure this must be pretty fundamental. Does it somehow require a more recent version of JIRA or something that I've not spotted? Thanks, James -- You received this message because you are subscribed to the Google Gro

Re: Discard old build artifacts?

2017-07-21 Thread James Green
Hi, Sorry but how does this retain the logs forever but discard the artifacts? Reading the example I would expect the logs to be rotated and the artifacts to be maintained which is the opposite. Where is the documentation for the other options? Thanks, James On 21 July 2017 at 07:27

Discard old build artifacts?

2017-07-20 Thread James Green
I don't want to remove the entire job - having the logs of what the SCM commit was and build output logs is really useful alongside the Jenkins build number. But I'm generating gigs of artifacts that I don't need. Is there a way of discarding these within a Jenkinsfile? Thanks,

Re: Proxy server between Jenkins and the Internet

2017-07-19 Thread James Telfer
which include the proxy configuration and work from there. Regards, James On Tuesday, 11 July 2017 20:25:34 UTC+1, Curtis Kline wrote: > > Hello all, > > I am setting up a new Jenkins server and some build nodes to replace an > old one. The cloud instances running Jenkins job

Re: Use of personal credentials in Jenkins Pipeline (Declarative)

2017-07-16 Thread James Dumay
Hi Drew, There is a big of a gap in capabilities for when and where personal credentials could be used within the Pipeline. Its near the top of the list of things to have our Pipeline team at CloudBees fix soon. You can watch and vote for this ticket JENKINS-38963

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: [blueocean] multi-platform builds with multi-stage completely parallel tracks

2017-07-04 Thread James Dumay
Not at the moment, no. Sorry On Tue, 4 Jul 2017 at 6:52 pm, wrote: > On Tuesday, 4 July 2017 08:57:23 UTC+2, James Dumay wrote: >> >> Michael's solution is probably the closest to that for the time being. We >> are looking at adding a "matrix" style pipeline c

Re: [blueocean] multi-platform builds with multi-stage completely parallel tracks

2017-07-03 Thread James Dumay
Michael's solution is probably the closest to that for the time being. We are looking at adding a "matrix" style pipeline capability to Declarative and Blue Ocean in the future. Watch and vote for JENKINS-40986 On Tuesday, July 4, 2017 at 2:

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 jenkin

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

Blue Ocean 1.1 has been released with fast search and more

2017-06-16 Thread James Dumay
-definition-plugin/blob/master/rfc/JENKINS-41334-parallel-stage-execution.md> . Thanks for your support and enjoy the new release :) Cheers, James -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and

  1   2   3   4   5   >