Choice picker is recently broken?

2020-10-15 Thread Giles Orr
nd if so, where). Thanks. [I'm aware that pausing during a stage isn't considered good form, and let's not even start on what's wrong with SVN ... you work with what you got.] -- Giles https://www.gilesorr.com/ giles...@gmail.com -- You received this message because you

Re: How to get logged in username of Jenkins in parameter's Groovy script?

2020-06-11 Thread Giles
I use scripted pipeline. The method I use: def String JenkinsUserID; wrap([$class: 'BuildUser']) { JenkinsUserID = env.BUILD_USER_ID; } println("DEBUG: found user '${JenkinsUserID}'."); I'm embarrassed to admit that solution is more Internet-copy-paste than full comprehension (I don't unde

Re: Many Freestyle jobs or many Jenkinsfiles?

2020-06-02 Thread Giles
I wrote a large library file full of Groovy methods. I have a big stack of Jenkinsfiles, similar to Randy Beckworth, although mine are generally named "/.Jenkinsfile" (as you can see, Jenkins isn't very particular about naming). The Jenkinsfiles are generally very short, just long enough to c

Re: How to configure Jenkins 2.190.1 to use TLS 1.2?

2019-10-18 Thread Giles
Unfortunately, that's a huge question. Or a really simple one, depending on if you've done it before. We use Nginx with TLS as the front-end for many services and plain HTML websites at my work, so putting Jenkins behind Nginx/TLS was just like putting any other service behind Nginx/TLS - per

Re: How to override "Shell executable" in declarative JenkinsFile

2019-08-23 Thread Giles
On Tuesday, 6 August 2019 11:01:45 UTC-4, Jérémie Faucher-Goulet wrote: > > Hi, I find myself in a bit of a bind and would like suggestions on how to > move forward with our Jenkins cluster. > > We've recently updated from a 3 year old version to start using all the > beautiful pipeline plugins

Re: Why does my pipeline have 2 workspaces?

2019-08-21 Thread Giles
On Wednesday, 21 August 2019 11:43:35 UTC-4, John Lussmyer wrote: > > I've noticed that my single pipeline ends up with 2 separate workspaces > each time it runs. > What is the one ending in @script for? > > -- > CasaDelGato Sensible Email package: > https://sourceforge.net/projects/sensibleemail

Re: gitSCM failed after updates

2019-06-12 Thread Giles
ug-In" and "GitHub Branch Source Plugin" as we apparently don't use them at all ... Once again, thank you very much for your help. On Tuesday, 11 June 2019 19:02:56 UTC-4, Mark Waite wrote: > > > > On Tue, Jun 11, 2019 at 4:53 PM Giles > > wrote: > &g

Re: gitSCM failed after updates

2019-06-11 Thread Giles
ame code, with only varying parameters) don't, all failing with this: Started by user Giles java.lang.NoSuchMethodError: org.eclipse.jgit.lib.Repository.getRef(Ljava/lang/String;)Lorg/eclipse/jgit/lib/Ref; at jenkins.plugins.git.GitSCMFileSystem$1.invoke(GitSCMFileSy

Re: gitSCM failed after updates

2019-06-11 Thread Giles
t of updates. As > far as I can tell, none of them should have changed that behavior of the > git plugin. > > On Tue, Jun 11, 2019 at 1:54 PM Giles > > wrote: > >> I'm running Jenkins 2.164.3 on a Windows server. It's been running well >> for several

gitSCM failed after updates

2019-06-11 Thread Giles
I'm running Jenkins 2.164.3 on a Windows server. It's been running well for several months. Every Friday evening I do all the Jenkins plugin updates. After this past Friday's updates (details below), all our jobs are broken - apparently because the GitSCM checkout is broken. Our Jenkinsfile

Re: A recent change (or bug) in either Docker and/or Jenkins is breaking most tutorials in the Jenkins User Documentation.

2018-01-31 Thread Giles Gaskell
to this version (or later), these tutorials will resume running successfully again. Cheers, Giles. On Tuesday, January 30, 2018 at 9:56:01 PM UTC+11, Damien Duportal wrote: > > Hi, > > you did everything good, it is just that the plugin had not been released > yet with the fix (it

Re: A recent change (or bug) in either Docker and/or Jenkins is breaking most tutorials in the Jenkins User Documentation.

2018-01-23 Thread Giles Gaskell
ocker-workflow-plugin/pull/128) is merged and a new version of this plugin released, then these tutorials should start working again (as documented). Cheers, Giles. On Wednesday, January 24, 2018 at 12:10:09 PM UTC+11, Giles Gaskell wrote: > > Thanks so much for all the sleuthing work Dami

Re: A recent change (or bug) in either Docker and/or Jenkins is breaking most tutorials in the Jenkins User Documentation.

2018-01-23 Thread Giles Gaskell
Thanks so much for all the sleuthing work Damien - you've hit the nail on the head with this one. Cheers, Giles. On 24 January 2018 at 00:43, Damien Duportal wrote: > This issue is related to the "Docker Pipeline" plugin ("docker-workflow") > which has an issue

Re: A recent change (or bug) in either Docker and/or Jenkins is breaking most tutorials in the Jenkins User Documentation.

2018-01-21 Thread Giles Gaskell
rable-9030abcd/script.sh: > 2: > /var/jenkins_home/workspace/simple-java-maven-app@tmp/durable-9030abcd/script.sh: > > docker: not found > [Pipeline] } ... Giles On Monday, January 22, 2018 at 2:03:31 PM UTC+11, Mark Waite wrote: > > That sounds like a bug.

A recent change (or bug) in either Docker and/or Jenkins is breaking most tutorials in the Jenkins User Documentation.

2018-01-21 Thread Giles Gaskell
so that the tutorials will start working again). Therefore, does anyone here have any suggestions as what might be the cause of this issue and/or how I might amend the tutorials to get them working again. For example, are there additional options I could add to the docker run ... command? Many

Re: If you're a Python developer who uses Jenkins to build your project, how do you do this and what technologies do you utilise to help build your Python project?

2017-12-14 Thread Giles Gaskell
n Blue Ocean) and finally builds a self-contained Linux executable of the Python application using PyInstaller, which you can download from Jenkins. Best regards, GIles On Wednesday, September 27, 2017 at 10:29:30 AM UTC+10, Giles Gaskell wrote: > > Hello Björn, > > You're we

Re: If you're a Python developer who uses Jenkins to build your project, how do you do this and what technologies do you utilise to help build your Python project?

2017-09-26 Thread Giles Gaskell
es here in this thread. Thank you and best regards, Giles. On Tuesday, September 26, 2017 at 2:33:46 AM UTC+10, Björn Rohlén wrote: > > Oh, this is great! Thank you Giles! > > The Java/C++/NodeJS/Chromedriver/et. al with SonarCube, Nexus2/3 and > Coverity integration took a while alo

If you're a Python developer who uses Jenkins to build your project, how do you do this and what technologies do you utilise to help build your Python project?

2017-09-24 Thread Giles Gaskell
Hi everyone, My name is Giles Gaskell and I recently joined CloudBees as a technical writer (based in Sydney, Australia). Just a bit about me first - I'm reasonably new to Jenkins (including its documentation), but I've had some degree of experience in using CI/CD tools and a l

Re: Jenkins Job Builder - one template with different params

2017-08-04 Thread Mike Giles
I did get this one part working. Turns out I just needed to quote the value in defaults and in the num-to-keep area. Still unable to figure out the templating of nested param values. On Thursday, July 20, 2017 at 4:35:41 PM UTC-4, Mike Giles wrote: > > > P.S. Bonus points for an

Jenkins Job Builder - one template with different params

2017-07-20 Thread Mike Giles
About 48 hours new to yaml and JJB as we migrate from Hudson to Jenkins and have thousands of jobs to move (hence trying to find a better way to manage them). In one case we have 4 sets of jobs (about 20 each) that have very similar options except for some of the params. For the other jenkins