RE: GIT sparse checkout and triggering a build

2023-11-13 Thread 'David Balazic' via Jenkins Users
A small typo: the actual lines under "Included Regions" were: ^foo1/.* ^foo2/.* ^foo3/.* Sorry, David Balažic -Original Message----- From: 'David Balazic' via Jenkins Users Sent: Monday, 13 November 2023 13:54 To: jenkinsci-users@googlegroups.com Subject: RE: GIT

RE: GIT sparse checkout and triggering a build

2023-11-13 Thread 'David Balazic' via Jenkins Users
file.ext (no leading slash, unlike the sparse chekout paths) A clearer documentation would be nice. Regards, David Balažic (sorry fort he long email footer inserted by my organization) -Original Message- From: 'David Balazic' via Jenkins Users Sent: Thursday, 26 October

GIT sparse checkout and triggering a build

2023-10-26 Thread 'David Balazic' via Jenkins Users
n all into one multiline text box, while for sparse checkout a new single line input element must be added for each path element Lep pozdrav, David Balažic The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Any opinions expressed

RE: git job weirdness (in Changes)

2023-09-05 Thread 'David Balazic' via Jenkins Users
es not exist in that > local copy. Thanks, in between I created another project, that was the same as the original (with the history issue), but without the "Shallow clone" option. Now the changed file list is as expected, "correct". Only listing the actually changed versio

RE: git job weirdness (in Changes)

2023-07-04 Thread 'David Balazic' via Jenkins Users
the first (changes list) was not tested as only one commit was done between latest en previous build. Regards, David From: 'David Balazic' via Jenkins Users Sent: Tuesday, 20 June 2023 10:17 To: 'David Balazic' via Jenkins Users Subject: git job weirdness (in Changes) Hi!

git job weirdness (in Changes)

2023-06-20 Thread 'David Balazic' via Jenkins Users
nes? - why the blue underlined text? Regards, Lep pozdrav, David Balažic The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Any opinions expressed are mine and do not necessarily represent the opinions of the Company. Emails are suscepti

RE: git plugin, use --single-branch option to save disk space?

2023-05-26 Thread 'David Balazic' via Jenkins Users
Thanks! That did the trick. David Balažic Lead engineer Endava From: jenkinsci-users@googlegroups.com On Behalf Of Mark Waite Sent: Friday, 26 May 2023 15:47 To: Jenkins Users Subject: Re: git plugin, use --single

RE: git plugin, use --single-branch option to save disk space?

2023-05-26 Thread 'David Balazic' via Jenkins Users
risks with "main") Regards, David Balažic From: 'David Balazic' via Jenkins Users Sent: Friday, 26 May 2023 15:23 Thanks but I already tested those: Refspec: refs/heads/main Honor refspec on initial clone: enabled Shallow clone: enabled Shallow clone depth: 1 They downlo

RE: git plugin, use --single-branch option to save disk space?

2023-05-26 Thread 'David Balazic' via Jenkins Users
. Even the commands seem to be unaffected by it. Maybe the refspec option is missing from the GUI? The example on the web has it. Regards, David Balažic Lead engineer Endava From: jenkinsci-users@googlegroups.com On Behalf Of

git plugin, use --single-branch option to save disk space?

2023-05-26 Thread 'David Balazic' via Jenkins Users
foo/bar.git +refs/heads/*:refs/remotes/origin/* # > timeout=10 I suspect the asterisk in the last command makes it download more than I need, but I'm no git expert. Lep pozdrav, David Balažic The information in this email is confidential and may be legally privileged. It is intended sole

Advanced parameters or env vars for maven build step properties?

2023-05-16 Thread 'David Balazic' via Jenkins Users
ins is "half plugins", one more will not hurt. (there are so many plugins, which is the reason to ask first instead of just pick some that sound right, like the envinject plugin) NOTE: those parameters will mostly be to read, process, and pass on GIT related things. Lep pozdrav,

Re: Adopting the ruby-runtime plugin

2021-10-15 Thread David at Groups360
I think you're right, sorry for the miscategorization. And thanks for the link, that clears up some things for me. I assumed `ruby-runtime` was for running ruby projects, not plugins. On Wednesday, October 13, 2021 at 5:39:44 PM UTC-5 Jesse Glick wrote: > I think you meant to post to the dev l

Adopting the ruby-runtime plugin

2021-10-13 Thread David at Groups360
PRs at this time my github username is davidatgroups360 My Jenkins Infrastructure account id is davidatgroups360 Let me know if you’re amenable and if so, what the next steps are. Thanks! David -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: Any way to construct a url to a particular file in the jenkins workspace?

2021-09-22 Thread David Karr
On Wed, Sep 22, 2021 at 8:16 AM 'Björn Pedersen' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > > >> I'm not familiar with the archive process. If you could provide me some >> quick links for information, that would be useful. I'll also ask our >> internal ops team. >> >> > > Archi

Re: Any way to construct a url to a particular file in the jenkins workspace?

2021-09-22 Thread David Karr
On Wed, Sep 22, 2021 at 7:29 AM 'Björn Pedersen' via Jenkins Users < jenkinsci-users@googlegroups.com> wrote: > > > db...@cloudbees.com schrieb am Mittwoch, 22. September 2021 um 14:54:48 > UTC+2: > >> On Mon, Sep 13, 2021 at 5:49 PM Jerome Godbout >> wrote: >> >>> Humm, that would be hard and se

Re: Can vars scripts reference variables defined in a higher scope?

2021-09-16 Thread David Karr
I've managed to implement something that is effectively the same. I realized that I can define a class in "src" that is just a static data container and can be accessed from any of the "vars" scripts. On Thursday, September 16, 2021 at 1:21:10 PM UTC-7 David Kar

Can vars scripts reference variables defined in a higher scope?

2021-09-16 Thread David Karr
I work on a somewhat complicated build process using Jenkins scripted pipeline, where the Jenkinsfile is very small, but it imports a large shared library, sets some application-specific properties, and then calls a top-level function in the "vars" section of the shared library. The top-level

Re: Any way to construct a url to a particular file in the jenkins workspace?

2021-09-13 Thread David Karr
;> Björn >> >> davidmic...@gmail.com schrieb am Freitag, 10. September 2021 um 22:09:36 >> UTC+2: >> >>> I do notice that my build has a "BUILD_URL" var in the environment, so >>> that gives me the "prefix" of the url, but the url to th

Re: Any way to construct a url to a particular file in the jenkins workspace?

2021-09-10 Thread David Karr
e in the environment that can help me construct that part of the url. On Friday, September 10, 2021 at 9:22:16 AM UTC-7 David Karr wrote: > When a Jenkins build completes, I can navigate to "Workspaces" to manually > inspect files in the workspace. While I'm navigating that

Any way to construct a url to a particular file in the jenkins workspace?

2021-09-10 Thread David Karr
When a Jenkins build completes, I can navigate to "Workspaces" to manually inspect files in the workspace. While I'm navigating that tree, and viewing specific files, I can see that the current browser url goes directly to that point in the tree, and to the specific file I am viewing. Is there a

Fwd: How to fix 'invalid crumb' warnings?

2021-06-09 Thread David Aldrich
them? If so, how? Best Regards David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discuss

Re: Override Label parameter in Freestyle job

2021-04-19 Thread David Drum
The Groovy Label Assignment plugin <https://plugins.jenkins.io/groovy-label-assignment/> does what I want. On Friday, April 16, 2021 at 8:50:43 PM UTC-5 David Drum wrote: > Thanks; that is the exact plugin whose Label parameter value I am trying > to override and have Jenkins use

Re: how can I iterate a json with a list of objects in a pipeline?

2021-04-19 Thread David Karr
You're missing the most important value of what JsonSlurper (and similar tools) provides. There is no reason to iterate maps, and it's important to realize that there is no ordering guarantee of map values. If you want to reference the "issues" property, just reference "json.issues". You will n

Re: Override Label parameter in Freestyle job

2021-04-16 Thread David Drum
or node and label usage with Freestyle jobs. > > On Friday, April 16, 2021 at 4:35:17 PM UTC-6 david...@sciplay.com wrote: > >> Hello, I am at wit's end trying to make Jenkins run a freestyle job build >> on a node based on a Label parameter I set using a Groovy script in t

Override Label parameter in Freestyle job

2021-04-16 Thread David Drum
t perhaps for Pipeline, which would not be my first choice of a solution, given its intrusiveness. Thank you for reading to the end and I hope someone can help me out. David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubsc

Re: job migration issues

2021-03-22 Thread David Maul
than inside? THANKS On Monday, March 22, 2021 at 8:46:26 AM UTC-4 David Maul wrote: > Thanks. I have verified that all plugins *referred to by the XML* are > present, and of the same version. But I do think it is something like > this, perhaps some other system-level configuration tha

Re: job migration issues

2021-03-22 Thread David Maul
r jobs AFTER installing those missing plugins. > > Hope this helps > -Fritz > > On 19.03.21 14:52, David Maul wrote: > > I am retiring an old jenkins server (Win Server 2008 R2) in favor of a > new one on Centos. I am using the jenkins CLI (get-job from source, > create-j

Re: job migration issues

2021-03-19 Thread David Maul
gt; >> I have also tried directly placing the config.xml file from the source >> computer into the destination computer's jobs/ tree. The build steps are >> still NOT showing up in the Jankins UI. Very curious. >> >> On Friday, March 19, 2021 at 9:52:32 AM

Re: job migration issues

2021-03-19 Thread David Maul
I have also tried directly placing the config.xml file from the source computer into the destination computer's jobs/ tree. The build steps are still NOT showing up in the Jankins UI. Very curious. On Friday, March 19, 2021 at 9:52:32 AM UTC-4 David Maul wrote: > I am retirin

job migration issues

2021-03-19 Thread David Maul
I am retiring an old jenkins server (Win Server 2008 R2) in favor of a new one on Centos. I am using the jenkins CLI (get-job from source, create-job on destination), as I have done many times before, but: build steps are being ignored in the "destination" job, despite them being clearly presen

Re: All jobs disappeared from view

2021-01-03 Thread David Maul
/jobs folder if all jobs >>> present in this folder just restart Jenkins service >>> >>> On Sat, 2 Jan 2021, 8:37 am David Maul, wrote: >>> >>>> All of a sudden my jobs have all disappeared from the :8080 web page. >>>> They are very muc

Re: All jobs disappeared from view

2021-01-01 Thread David Maul
someone else*. On Friday, January 1, 2021 at 10:19:55 PM UTC-5 jaychandran...@gmail.com wrote: > Pls check what is there in /var/lib/jenkins/jobs folder if all jobs > present in this folder just restart Jenkins service > > On Sat, 2 Jan 2021, 8:37 am David Maul, wrote: > >&g

All jobs disappeared from view

2021-01-01 Thread David Maul
All of a sudden my jobs have all disappeared from the :8080 web page. They are very much there on disk. I have tried reloading configuration from disk - no luck. I have tried restoring /var/lib/jenkins entirely from a backup, still no luck. Nothing seems to help. I am only greeted with: "Th

Release plugin XSS vulnerability - alternatives?

2020-12-05 Thread David Hearn
things which it made easier as well. Thanks David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To vi

Re: High memory usage by Java process

2020-12-03 Thread David Aldrich
C+1: >> >>> Hi >>> >>> I have a Centos 7 Jenkins agent. 'top' shows that Jenkins is running a >>> Java process on it (as expected) but shows 22GB Virtual Memory allocated to >>> that process. Seems very high, is that reasonable? >&

High memory usage by Java process

2020-12-03 Thread David Aldrich
Hi I have a Centos 7 Jenkins agent. 'top' shows that Jenkins is running a Java process on it (as expected) but shows 22GB Virtual Memory allocated to that process. Seems very high, is that reasonable? Best regards David -- You received this message because you are subscribed to

Re: Java install for Windows agent?

2020-11-27 Thread David Aldrich
glad to inform you that Amotus > <https://www.amotus-solutions.com/> are up and running with limited impact > on our performance. We will keep you informed of any changes as they occur.* > > *COVID-19 : nous sommes fiers d’informer nos collaborateurs que Amotus > opèrent a

Re: Java install for Windows agent?

2020-11-27 Thread David Aldrich
che E:\jenkins/remoting/jarCache Error: Unable to access jarfile remoting.jar Agent JVM has terminated. Exit code=1 [11/27/20 09:15:16] Launch failed - cleaning up connection [11/27/20 09:15:16] [SSH] Connection closed. Any idea why it can't access remoting.jar? Best regards David On

Java install for Windows agent?

2020-11-26 Thread David Aldrich
not specified a Java path. I know this is basic, but please suggest which JRE/JDK I should use and where I should install it. Thanks David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receivin

Re: Recommended way to setup a windows agent nowadays ?

2020-11-26 Thread David Aldrich
tions will be denied until this new host and its associated key is added to the Known Hosts file. Key exchange was not finished, connection is closed. What should I do now? (Don't know how to add the host to /var/lib/jenkins/.ssh/known_hosts). Best regards David On Mon, Nov 23, 2020 at 10:01

Re: Azure pull request plugin?

2020-11-19 Thread David Maul
Turns out my eyes were fooling me. Yes, the ref is contained in the webhook JSON received from Azure DevOps. I just haven't figured out a way to extract that value from the JSON. If anyone has any ideas, I'm all ears. thanks On Thursday, November 19, 2020 at 3:38:55 PM UTC-5

Re: Azure pull request plugin?

2020-11-19 Thread David Maul
zure > DevOps present a ref which contains a merged result? > > Richard. > > > On Fri, 20 Nov 2020, 5:02 AM David Maul, wrote: > >> Azure DevOps hosts Git repos, so I consider them a SCM provider. >> >> I have pull requests emanating from Azure Repos, and

Re: Azure pull request plugin?

2020-11-19 Thread David Maul
0 at 10:54:59 AM UTC-5 slide wrote: > Hi David, > > Most of those are SCM providers. Azure in and of itself is not an SCM > provider. What type of functionality are you looking for? > > Regards, > > Alex > > On Thu, Nov 19, 2020, 08:36 David Maul wrote: > >>

Re: Azure pull request plugin?

2020-11-19 Thread David Maul
/plugins.jenkins.io/aws-codecommit-jobs> On Thursday, November 19, 2020 at 10:33:14 AM UTC-5 David Maul wrote: > Jenkins has a plugin for pull requests from most cloud services: Why not > Azure? > > > > -- You received this message because you are subscribed to the Google G

Azure pull request plugin?

2020-11-19 Thread David Maul
Jenkins has a plugin for pull requests from most cloud services: Why not Azure? -- 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...

Azure / Local Jenkins / Pull request

2020-11-18 Thread David Maul
I have repo in Azure, and local Jenkins infrastructure. I’m trying to figure out how to build a PR commit locally. I have the signaling all working via webhooks. The request has in it the pre-merge commit. But the multibranch pipeline job builds the two *individual* branches (source and t

agent not working since 266

2020-11-17 Thread David Koenig
Hi, i using the docker plugin with cloud configuration. Since Jenkins Version 266 i think there is a bug in Jenkins. By default, Jenkins tries to start the agent with the parameter "-slaveLog", but since version 4.6 of remote.jar just "-agentLog" is accepted as parameter (in 4.5 both were all

Re: Job stuck on "git pull --no-edit"

2020-11-17 Thread David Villasmil Govea
Thanks for replying. I understand that “—no-edit” would prevent git from asking for a commit message. And indeed this is the case if I do it manually. But I do get your point about working in a clean environment... I think I’ll go for that, don’t want anti-patterns happening here. Thanks! David

Re: Job stuck on "git pull --no-edit"

2020-11-17 Thread David Villasmil Govea
No, I’m CONNECTING to the build box as root. On Tue, 17 Nov 2020 at 14:50, chencho wrote: > Are you running jenkins as root? > > > > On Tue, Nov 17, 2020 at 3:41 PM David Villasmil Govea < > david.villas...@gmail.com> wrote: > >> Thanks Jerome. >> >&g

Re: Job stuck on "git pull --no-edit"

2020-11-17 Thread David Villasmil Govea
any changes as they occur.* > > *COVID-19 : nous sommes fiers d’informer nos collaborateurs que Amotus > opèrent adéquatement et que l’impact sur notre productivité est minimisé. > Nous vous tiendrons au courant de tout changement.* > > > > *From:* jenkinsci-users@googlegroups.co

Job stuck on "git pull --no-edit"

2020-11-17 Thread David Villasmil
manually, works properly) YML_FILES="eks/" YML_PATH="infra-api-server-deployment.yaml" DOCKER_PATH="/api-server" IMAGE_NAME="api-server" cd $DOCKER_PATH git pull --no-edit *< STUCK HERE* docker build -t $IMAGE_NAME:$NEW_VER . docker push $IMAGE_N

Re: Renew expired certificate for Jenkins SAML plugin

2020-11-13 Thread Igor David
one you have to > configure in the SAML plugin > > El domingo, 8 de noviembre de 2020 a las 20:26:50 UTC+1, > david...@gmail.com escribió: > >> Thank you for reply. >> >> If we are using encryption, does it means that typically when starting >> with Jenkins S

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

2020-11-12 Thread David Karr
:26:43.791 DEBUG: 'C++ (Community) XunitSensor' skipped >>>> because one of the required properties is missing >>>> 00:00:04.783 11:26:43.791 DEBUG: 'C++ (Community) Unit Test Results >>>> Import' skipped because there is no related file in curr

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

2020-11-11 Thread David Karr
t; } >> } >> >> ``` >> >> Thanks! >> >> El miércoles, 11 de noviembre de 2020 a las 20:45:45 UTC+1, >> geoffroy...@gmail.com escribió: >> >>> Hello >>> you should probably ask here: https://community.sonarsource.com/ >>> A

Re: where do I have to set the sonar-project.properties file to make sonar work in Jenkins?

2020-11-10 Thread David Karr
I believe that the mistake that most people make with running the sonarqube scan from a CI build is TRYING to define a sonarqube properties file. It's best to simply provide all of the required options on the sonar-scanner command line, using "-D". On Tue, Nov 10, 2020 at 3:44 AM jesus fernandez <

Re: Renew expired certificate for Jenkins SAML plugin

2020-11-08 Thread Igor David
irect Binding >Auth Request, If you enable it the encryption and signing key would >available in the SP metadata file and URL >(JENKINS_URL/securityRealm/metadata). The disable of signing auth request >does not work with HTTP redirection binging, it only works for POST > bin

Renew expired certificate for Jenkins SAML plugin

2020-11-03 Thread Igor David
Hello, What is the correct way to renew an expired certificate (JENKINS_HOME/saml-jenkins-keystore.jks) which is used for SAML Plugin please? https://github.com/jenkinsci/saml-plugin In that process, what is the purpose of saml-jenkins-keystore.xml (e.g. is it generated every time a new certifi

Re: How to get container logs in kubernetes if user has no admin access to execute kubectl commands

2020-10-29 Thread David Karr
In general, it would be pretty silly if anyone could get access to the internals of a pod if they didn't have the proper authentication. Is your enterprise using Jenkins to build the applications that you deploy to kubernetes? Are those builds using kubectl to do those deployments? If you can

Re: Jenkins Kuberenet Plugin

2020-10-07 Thread David Foley
Am I correct that pipelines are only supported and not Freestyle? I created a Test Pipeline, and am able to see the ansible version when I ran "sh 'ansible --version'" so it appears the freestyle is using the JNLP container. On Wed, 7 Oct 2020 at 21:24, David Foley wrote:

Re: Jenkins Kuberenet Plugin

2020-10-07 Thread David Foley
Hi Nigel I'm using FreeStyle Project. I have selected restricted to run on Node: Ansible On Wed, 7 Oct 2020 at 20:42, Nigel Armstrong wrote: > David, > > It sounds like you might not be running the step inside the > right container. By default steps are runin the jnlp conta

Re: Jenkins Kuberenet Plugin

2020-10-07 Thread David Foley
2020, 19:41 nigel.a...@braincorp.com, < nigel.armstr...@braincorp.com> wrote: > David, > > Looks like your issue isn't with the dockerfile, but with ansible. The > failure is listed as `ansible: not found`. Make sure your executor has > ansible and its in the path. N

Jenkins Kuberenet Plugin

2020-10-06 Thread david...@mycit.ie
Hi All, Could do with some help with this one, I'm currently trying to use Kubernetes to build containers for jobs that will run within Jenkins. I'm currently having the issue where my Docker File has Ansible installed but, for some reason,it's not able to run if the Container is built with Je

Re: Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

2020-08-12 Thread David Karr
ava/org/sonarsource/scanner/jenkins/pipeline/WaitForQualityGateStep.java > is > probably what you are looking for. > > Richard. > > On Thu, 13 Aug 2020 at 11:27, David Karr > wrote: > >> I'm trying to troubleshoot a problem with our integration between Jenkins &

Where is source for the "withSonarQubeEnv" and "waitForQualityGate" pipeline steps?

2020-08-12 Thread David Karr
I'm trying to troubleshoot a problem with our integration between Jenkins and our enterprise SonarQube instance. I need to see the source code for the "waitForQualityGate()" pipeline step. Is that available somewhere? We're using a SonarQube server definition that uses "http:", but the "waitFor

Re: Jenkins emailext plugin with default subject and body in pipeline script

2020-08-06 Thread David Koenig
body: 'testbtesttestinew area', > mimeType: 'text/html' > ) > > On Wed, Aug 5, 2020 at 5:55 AM David Koenig > wrote: > >> Hi, >> >> sorry for the late response, i was away a few days. >> i am new to jen

Start other Job from Jenkinsfile or wait until other job is finished

2020-08-05 Thread David Koenig
Hi, i want to start another Jenkinsjob from within my declarative Jenkinsfile. I do that with following command: build *job*: 'My-gitea-org/my-gitea-repo2/master', *wait*: *true* This sub-job (my-gitea-repo2) will be triggered by several other jobs. So i want to check if the sub-job is curre

Re: Jenkins emailext plugin with default subject and body in pipeline script

2020-08-05 Thread David Koenig
config. If you want to get the value you set, you have to use the > macro for it. > > subject: '$DEFAULT_SUBJECT' > > This is the same with the other items as well. > > You could wrap this into a shared library so that it's just a simple call > to do ev

Jenkins emailext plugin with default subject and body in pipeline script

2020-07-31 Thread David Koenig
i am using Jenkins with the email extension plugin and declarative pipelines. In https://jenkinsserver/configure i configured the "Default Subject" and "Default Content" with some variables and nice looking content which i want to use in a pipeline script. When i add the following code to a pi

Calling writeFile for every entry of a map requires somewhat ugly code

2020-07-18 Thread David Karr
I'm posting this mostly so people can find it. Perhaps it's already well-known, and perhaps I'm missing some simple thing that makes this easier to do, but I think not. In my Jenkinsfile, I need to iterate over a map created with Groovy, calling "writeFile" with the key as the file name, and t

RE: How to pull parameters from excel sheet and pass it to job

2020-07-15 Thread &#x27;David Riemens' via Jenkins Users
Is XLS a requirement? If not too difficult you could go for a simpler format (INI ?) that you could parse using some relatively simple Groovy code ? From: Slide Sent: Wednesday, July 1, 2020 21:56 To: Jenkins User Mailing List Subject: Re: How to pull parameters from excel sheet and pass it to

Performance plugin - how to use both relative and error threshold?

2020-05-28 Thread David Balažic
n't see an Issues tab on its github page [2]. [1] https://plugins.jenkins.io/performance/ [2] https://github.com/jenkinsci/performance-plugin Regards, David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this

Kubernetes plugin + vanilla node/agent - classcast exception

2020-05-07 Thread David Karlsen
ecorator.java:250) at hudson.Launcher$ProcStarter.start(Launcher.java:455) at org.jenkinsci.plugins.durabletask.BourneShellScript.launchWithCookie(BourneShellScript.java:233) at org.jenkinsci.plugins.durabletask.FileMonitoringTask.launch(FileMonitoring Is this not supported? -- -- David J

Re: persistentVolumeClaimWorkspaceVolume produced emptyDir volume instead of PVC

2020-04-28 Thread David Warburton
Hmm, I lost the correct indentation in the message, but the yaml indentation is correct in my project. On Tuesday, April 28, 2020 at 2:56:40 PM UTC-4, David Warburton wrote: > > Hi mailing list, > > I'm building a pipeline for neural net training that needs to operate on >

persistentVolumeClaimWorkspaceVolume produced emptyDir volume instead of PVC

2020-04-28 Thread David Warburton
Hi mailing list, I'm building a pipeline for neural net training that needs to operate on around 650G of data using the kubernetes plugin to run agents in pods. In between builds I'd like the data to stick around in a persistent volume for the workspace. It seems like the persistentVolumeClaimW

How to get graphical staging view of a particular build instance?

2020-04-23 Thread David Karr
In the classic view, when viewing a job with the list of recent builds on the left, the center area shows the "Stage View" that shows how long each stage of the most recent builds are taking. I often want to see this data for builds that are not currently showing in the staging view. I could m

Jenkins Remote Build

2020-04-21 Thread David Foley
Hi All Not sure if someone here could Help me with this one... Currently I have a Remote Build within my Flask Web Application.. That Triggers the Job: I would like to display the results as a Flash Message within my Webpage. Is it possible to display the Results of the Job ( Failed or Succe

Jenkins Build Timeout

2020-04-06 Thread David Foley
Hi All, Currently I'm having an Issue with jenkins Hearbeat Timeout, during my build stage within a Pipeline: Within my build Stage I'm after adding in a System.setPropery but still this doesn't seem to dealing with the Timout of 10Mins stage('Creating Virutal Machine'){ script {

Jenkins Laggy Filesystem

2020-04-06 Thread David Foley
Hi All, Currently i have a Pipeline that Create a Virtual Machine on vSphere using Ansible, which works fine, but lately i'm getting the following: TASK [Virtual Machine customization] *** wrapper script does not seem to be touching the log file in /va

Re: Shared library function cannot call other shared library function in separate file if called function uses "writeFile"

2020-02-08 Thread David Karr
que. If I call the "vars" function that calls "writeFile", I get the seemingly generic error with no other information. If I instead call the inline function with contents identical to the "vars" function, it works fine. On Friday, February 7, 2020 at 12:51:42 PM UT

Shared library function cannot call other shared library function in separate file if called function uses "writeFile"

2020-02-07 Thread David Karr
The statement I make in the subject doesn't make sense, but I don't know how else to describe it. I'm working on a set of builds using scripted pipelines. Our Jenkinsfiles are very short, all of the build logic is in the shared library. In the "main" shared library function, I'm trying to cal

Re: Declarative script syntax: Archive from specific stage?

2020-01-24 Thread David Aldrich
>According to doc this is supported: https://jenkins.io/doc/book/pipeline/syntax/#post >Syntax is like this https://code-maven.com/slides/jenkins-intro/pipeline-post Thank you. That has fixed my problem. David -- You received this message because you are subscribed to the Google

Re: Declarative script syntax: Archive from specific stage?

2020-01-23 Thread David Aldrich
> Did you try to write post after stage? It seems that is not allowed: WorkflowScript: 140: Expected a stage @ line 140, column 9. post{ ^ On Thu, Jan 23, 2020 at 4:34 PM David Aldrich wrote: > > try this url > > > https://Jenkins.io/doc/pipel

Re: Declarative script syntax: Archive from specific stage?

2020-01-23 Thread David Aldrich
> try this url > https://Jenkins.io/doc/pipeline/tour/tests-and-artifacts/ Thanks, but that doesn't address my situation where I have stages running on different agents and I want to archive results from a specific agent. > -- You received this message because you are subscribed to the Google

Declarative script syntax: Archive from specific stage?

2020-01-23 Thread David Aldrich
a specific stage). How would I do that? Best regards David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegrou

JAVA_HOME on Windows?

2020-01-20 Thread David Aldrich
ected at this time. I want to check the value of JAVA_HOME. Where is that set for a Windows agent? Best regards David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails fro

Jenkins with Parallel Builds?

2020-01-15 Thread David Aldrich
is way? I saw a similar question discussed in a StackOverflow question: https://stackoverflow.com/questions/20003919/jenkins-with-parallel-builds. The answer given there was to use the Heavy Job Plugin. But that plugin seems quite old. Is it still the best solution? Best regards David -- You rec

Re: Jenkins job dsl- any way to dry run before affecting changes?

2019-12-30 Thread David Karr
It seems to me that the only reasonable way to "integration test" pipeline changes before deployment is simply to deploy the changes to a job that is not used for regular work, one that you can manually send events to, to make sure it does what it needs to do. This is sort of like a "canary deploy

Re: k8s plugin

2019-12-03 Thread David Karlsen
It would be super useful agent and templates could come from workflow libraries so that they could be shared man. 2. des. 2019, 17:16 skrev Carlos Sanchez : > No, It has to live in the same repo > > On Mon, Dec 2, 2019, 16:39 YD wrote: > >> Hi all >> >> in kubernetes plugin i want to use yaml th

Re: Help request for Java exception

2019-10-09 Thread David Aldrich
The exception started happening after a minor jdk upgrade: java-1.8.0-openjdk-1:1.8.0.181-3.b13.el7_5.x86_64 -> java-1.8.0-openjdk-1.8.0.222.b10-1.el7_7.x86_64 On Wed, Oct 9, 2019 at 1:54 PM David Aldrich wrote: > I am seeing this Java exception trace for one of our declarative scripts

Help request for Java exception

2019-10-09 Thread David Aldrich
I am seeing this Java exception trace for one of our declarative scripts. It happens on a Centos 7 machine. Please can anyone suggest the reason? [Pipeline] End of Pipelinejava.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$TLSContext at java.lang.Cla

Re: Confused by declarative pipeline trigger specifications

2019-09-26 Thread David Aldrich
>> We use declarative pipelines extensively, triggered by SCM change. We use a >> cron spec to specify a SCM polling interval. >> It seems that the trigger specification can be set in two places: in the GUI >> configuration for the job and in the pipeline itself. >> Do I need to set both tri

Confused by declarative pipeline trigger specifications

2019-09-25 Thread David Aldrich
specifications (to the same specification)? Do they have different purposes? Best regards David -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenki

Re: kubernetes-pipeline-plugin when using declarative pipelines?

2019-09-03 Thread David Karlsen
Yes - but it seems it can only be statically declared at the agent level, can it be declared as reusable workflow-lib ( https://plugins.jenkins.io/workflow-cps-global-lib)? tir. 3. sep. 2019 kl. 13:53 skrev Emilio Escobar Reyero < eescobarrey...@cloudbees.com>: > Hi David, &g

kubernetes-pipeline-plugin when using declarative pipelines?

2019-09-03 Thread David Karlsen
Am I right in that kubernetes-pipeline-plugin can only be used with scripted pipelines - not declarative ones? -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To u

Re: Get stage name in pipeline

2019-08-25 Thread David Karr
On Fri, Aug 23, 2019 at 3:42 AM Sureshkumar Ramar < sureshkumar.ra...@gmail.com> wrote: > Hi, > i am using jenkins pipeline. i want to send the failed stage name to the > developer. is there a way to capture the failure stage in jenkins. it > should work in parallel stages also. > The basic idea

Re: "Team-folder" multibranch pipelines for github

2019-08-06 Thread David Karlsen
to change the actual Jenkinsfile to have some team-custom name - which works - but is a bit quirky. tir. 6. aug. 2019 kl. 14:34 skrev David Karlsen : > Hi - yes, list repos via teams, or filter repos based on team-access level > - but the marker-file approach should work equally well - wh

Re: "Team-folder" multibranch pipelines for github

2019-08-06 Thread David Karlsen
given Jenkins org folder (using ghbs plugin, yes). > > Cheers > > Le mar. 6 août 2019 à 13:10, David Karlsen a > écrit : > >> Bitbuckets offers "teamfolders" - which are multibranch pipelines around >> the project scope in bitbucket. One project contains s

"Team-folder" multibranch pipelines for github

2019-08-06 Thread David Karlsen
tion (or user account) for all repositories matching some defined markers."). I find organization too wide (as they can grow very large) - and individuals to narrow - while team-level would be perfect. Any thoughts? -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen -- Yo

Difficult to softcode credential references in property scripts

2019-06-24 Thread David Karr
I'm working with someone who has defined a Jenkins job that does some sophisticated work to set up choice properties. Each property has a small script that computes the possible values. It attempts to get the values from the same git repository that the Jenkinsfile resides in. Unfortunately,

Long delays in multibranch pipelines "Seen X remote branches"

2019-06-24 Thread David Resnick
checkout the different branches and get the appropriate Jenkinsfile. Does anyone know why takes so long (the master has more than enough resources)? Or how I can improve this? I'm using Jenkins ver. 2.89.4 Thanks, David -- You received this message because you are subscribed to the Google Group

  1   2   3   4   5   6   7   8   9   10   >