Re: Improper format in build history

2021-06-10 Thread Jérôme Godbout
It would help if you would show us the code that modify that value and what you are expecting instead. Jérôme Godbout, B. Ing. Software / Firmware Team Lead O: (418) 682-3636 ext.: 114 C: (581) 777-0050 godbo...@dimonoff.com<mailto:godbo...@dimonoff.com> [signature_1519103440]

Re: selenium runs in headless mode if a slave connected via SSH.

2021-04-01 Thread Jérôme Godbout
this in Vista if I remember well). Jérôme Godbout, B. Ing. Software / Firmware Team Lead O: (418) 682-3636 ext.: 114 C: (581) 777-0050 godbo...@dimonoff.com<mailto:godbo...@dimonoff.com> [signature_469259410]<https://www.dimonoff.com/> dimonoff.com<https://www.dimonoff.com/> 1

Re: how can I run cppcheck in Jenkins?

2021-03-31 Thread Jérôme Godbout
m wide). Jérôme Godbout, B. Ing. Software / Firmware Team Lead O: (418) 682-3636 ext.: 114 C: (581) 777-0050 godbo...@dimonoff.com<mailto:godbo...@dimonoff.com> [signature_16446078]<https://www.dimonoff.com/> dimonoff.com<https://www.dimonoff.com/> 1015 Avenue Wilfrid-Pelletier, Québ

Re: GitHub Clone to Different Local Directory

2021-03-30 Thread Jérôme Godbout
t rsa ${domain} >> \".ssh/known_hosts\"") Now that should do it, you do not really care if the remove hit something or not, just make sure you do not have an old invalid entry. Jérôme Godbout, B. Ing. Software / Firmware Team Lead O: (418) 682-3636 ext.: 114 C: (581) 777-0050 godb

Re: GitHub Clone to Different Local Directory

2021-03-30 Thread Jérôme Godbout
one removes any old entry, the second one adds the record to the file. Jérôme Godbout, B. Ing. Software / Firmware Team Lead O: (418) 682-3636 ext.: 114 C: (581) 777-0050 godbo...@dimonoff.com<mailto:godbo...@dimonoff.com> [signature_796898478]<https://www.dimonoff.com/> dimonoff.com<https:/

Re: GitHub Clone to Different Local Directory

2021-03-29 Thread Jérôme Godbout
used. Use the domain of the repos url domain. Jérôme Godbout, B. Ing. Software / Firmware Team Lead O: (418) 682-3636 ext.: 114 C: (581) 777-0050 godbo...@dimonoff.com<mailto:godbo...@dimonoff.com> [signature_168530195]<https://www.dimonoff.com/> dimonoff.com<https://www.dimonoff.com/

Re: How to publish cppcheck results in a pipeline?

2021-03-26 Thread Jérôme Godbout
, but failure is unreliable like you did discover. When I got time I would give https://codechecker.readthedocs.io/en/latest/ a go to see what it can do, it use llvm/clang with a better CLI Jérôme Godbout, B. Ing. Software / Firmware Team Lead O: (418) 682-3636 ext.: 114 C: (581) 777-0050 godbo...

Re: How to publish cppcheck results in a pipeline?

2021-03-26 Thread Jérôme Godbout
our static analysis into your CI. Jérôme Godbout, B. Ing. Software / Firmware Team Lead O: (418) 682-3636 ext.: 114 C: (581) 777-0050 godbo...@dimonoff.com<mailto:godbo...@dimonoff.com> [signature_1613841900]<https://www.dimonoff.com/> dimonoff.com<https://www.dimonoff.com/>

RE: Documentation

2021-02-10 Thread Jérôme Godbout
Hi, good to know those are going to improve, thanks for the heads up. regards, Jerome From: jenkinsci-users@googlegroups.com On Behalf Of Mark Waite Sent: February 9, 2021 7:36 PM To: Jenkins Users Subject: Re: Documentation On Tue, Feb 9, 2021 at 3:20 PM Jérôme Godbout mailto:godbo

Documentation

2021-02-09 Thread Jérôme Godbout
21 at 8:08:50 AM UTC-7 Jérôme Godbout wrote: +1 online pipeline syntax generator. The online documentation is such a pain, page too long to scroll, no type or any example, no freaking idea what the hell the value shape must be sometime. You kind of need deep knowledge of Java/Jenkins Groovy to have

RE: Permissions to see pipeline syntax

2021-02-09 Thread Jérôme Godbout
+1 online pipeline syntax generator. The online documentation is such a pain, page too long to scroll, no type or any example, no freaking idea what the hell the value shape must be sometime. You kind of need deep knowledge of Java/Jenkins Groovy to have a slight idea of what the value are or

RE: Environment variable - shell

2021-02-02 Thread Jérôme Godbout
Can you use withEnv([“GOOL =${params.GOOL”}]) { sh(…); } Jérôme Godbout Software / Firmware Lead C: (581) 777-0050 O: (418) 800-1073 ext.: 109 godbo...@amotus.ca<mailto:godbo...@amotus.ca> [cid:image001.png@01D6F95A.14BD9530] dimonoff.com<https://www.dimonoff.com/> | amo

RE: Needed suggestions for Jenkins Master/Slave architecture

2021-02-02 Thread Jérôme Godbout
with raid there. Slave are burnable, you don’t really care, fast enough to do the job, died, just put back a new image that kickstart a slave with a new harddrive and up you go. Jérôme Godbout Software / Firmware Lead C: (581) 777-0050 O: (418) 800-1073 ext.: 109 godbo...@amotus.ca<mailto:go

RE: Java install for Windows agent?

2020-11-27 Thread Jérôme Godbout
:jenkinsci-users@googlegroups.com> [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jérôme Godbout Sent: Friday, November 27, 2020 10:15 AM To: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com> Subject: RE: Java install for Windows agent? Ho right

RE: Java install for Windows agent?

2020-11-27 Thread Jérôme Godbout
@01D6C49C.0A6A4FD0] RAPPROCHEZ LA DISTANCE Jérôme Godbout Software / Firmware Lead p: +1 (418) 800-1073 ext.:109 amotus.ca<http://www.amotus-solutions.com/> statum-iot.com<http://statum-iot.com/> [cid:image022.png@01D6C49C.0A6A4FD0]<https://www.facebook.com/LesSolutionsAmotus/>

RE: Java install for Windows agent?

2020-11-26 Thread Jérôme Godbout
it and can will use it to load the slave properly. [cid:image002.jpg@01D6C410.D2280FD0] une compagnie [cid:image003.jpg@01D6C410.D2280FD0] RAPPROCHEZ LA DISTANCE Jérôme Godbout Software / Firmware Lead p: +1 (418) 800-1073 ext.:109 amotus.ca<http://www.amotus-solutions.com/> statum-iot.co

RE: Recommended way to setup a windows agent nowadays ?

2020-11-26 Thread Jérôme Godbout
${know_host_path}\"" know_host_path is normally ~/.ssh/ known_hosts [cid:image001.jpg@01D6C3FB.FA99CF40] une compagnie [cid:image002.jpg@01D6C3FB.FA99CF40] RAPPROCHEZ LA DISTANCE Jérôme Godbout Software / Firmware Lead p: +1 (418) 800-1073 ext.:109 amotus.ca<http://www.amotus-sol

RE: Pipeline with multiple Git repositories - how to checkout and Skip particular Repo

2020-11-23 Thread Jérôme Godbout
Not sure you can put the if before the whole stage (I’m using scripted pipeline, not declared one du to limitation). but Having stage that appear or disappear make the GUI stage display do weird think into scripted pipeline for the job table. I often just skip the inner content of the steps and

RE: Recommended way to setup a windows agent nowadays ?

2020-11-23 Thread Jérôme Godbout
). That make it easier as it do just like linux to log in and seem more safe to me, you just put the credentials into the Jenkins master for the ssh key. [cid:image001.jpg@01D6C178.AFBDB4D0] une compagnie [cid:image002.jpg@01D6C178.AFBDB4D0] RAPPROCHEZ LA DISTANCE Jérôme Godbout Développeur

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

2020-11-17 Thread Jérôme Godbout
478270] RAPPROCHEZ LA DISTANCE Jérôme Godbout Développeur Logiciel Sénior / Senior Software Developer p: +1 (418) 800-1073 ext.:109 amotus.ca<http://www.amotus-solutions.com/> statum-iot.com<http://statum-iot.com/> [cid:image015.png@01D6BCC5.66478270]<https://www.facebook.com/LesSolutionsAm

RE: Ansible constructs ssh command that hangs and never returns.

2020-11-05 Thread Jérôme Godbout
Make sure your ssh host is added to the known host prior to executing any ssh command, the do you want to add the host [yes, no] question might be blocking you and await user interaction… which in case of automated system is not great. From: jenkinsci-users@googlegroups.com On Behalf Of Shifa

RE: how to execute a bash script in a jenkins declarative pipeline

2020-09-24 Thread Jérôme Godbout
Hi, make sure to escape the path if it has spaces: bat('start “C:/Users/User/.jenkins/workspace/Project/Steam Build Scripts/scripts/build_dev.bat”'); Why do you need the start? Is the command return before completion or something? From: jenkinsci-users@googlegroups.com On Behalf Of jesus

RE: Use of "local" function in shared library

2020-09-09 Thread Jérôme Godbout
My bad typo: Out of curiosity, why don’t you pass the function as a argument to your call block? You could pass a functor there that will be reuse, so you do not need any env var or weird scope. This would give something like this to your call: defaultCiPipelineGeneric({ // previous stuff of

RE: Use of "local" function in shared library

2020-09-09 Thread Jérôme Godbout
Out of curiosity, why don’t you pass the function as a argument to your call block? You could pass a functor there that will be reuse, so you do not need any env var or weird scope. This would give something like this to your call: defaultCiPipelineGeneric({ // previous stuff of body goes

RE: Windows client ssh connection error

2020-09-01 Thread Jérôme Godbout
the Jenkins instance and see if the remoting process stars? ssh user@jenkins_agent "cd c:\JenkinsSlave && C:\Java\1_8_0_261\bin\java -jar remoting.jar -workDir c:\JenkinsSlave -jar-cache c:\JenkinsSlave\remoting\jarCache" El martes, 1 de septiembre de 2020 a las 20:26:20 U

RE: Windows client ssh connection error

2020-09-01 Thread Jérôme Godbout
Maybe this unresolved issue is still there!? https://issues.jenkins-ci.org/browse/JENKINS-48850 From: jenkinsci-users@googlegroups.com On Behalf Of Jérôme Godbout Sent: September 1, 2020 2:12 PM To: jenkinsci-users@googlegroups.com Subject: RE: Windows client ssh connection error Did try

RE: Windows client ssh connection error

2020-09-01 Thread Jérôme Godbout
is happening and it can transfer the file. From: jenkinsci-users@googlegroups.com On Behalf Of Jérôme Godbout Sent: September 1, 2020 2:05 PM To: jenkinsci-users@googlegroups.com Subject: RE: Windows client ssh connection error Hi, Is there any special requirements? (ssh does work from both Linux

RE: Windows client ssh connection error

2020-09-01 Thread Jérôme Godbout
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63) [09/01/20 14:00:21] Launch failed - cleaning up connection [09/01/20 14:00:21] [SSH] Connection closed. From: jenkinsci-users@googlegroups.com On Behalf Of Jérôme Godbout Sent: September

RE: Windows client ssh connection error

2020-09-01 Thread Jérôme Godbout
? Are there some err_pid* files or log files in c:\JenkinsSlave folder? El martes, 1 de septiembre de 2020 a las 17:48:39 UTC+2, Jérôme Godbout escribió: Hi, I did solve my issue with the ssh agent I had earlier, but when I try to do the same on another Windows client machine I get this weird error

RE: Windows client ssh connection error

2020-09-01 Thread Jérôme Godbout
folder? El martes, 1 de septiembre de 2020 a las 17:48:39 UTC+2, Jérôme Godbout escribió: Hi, I did solve my issue with the ssh agent I had earlier, but when I try to do the same on another Windows client machine I get this weird error below. The log on the slave are empty (c:\JenkinsSlave\remoting

Windows client ssh connection error

2020-09-01 Thread Jérôme Godbout
Hi, I did solve my issue with the ssh agent I had earlier, but when I try to do the same on another Windows client machine I get this weird error below. The log on the slave are empty (c:\JenkinsSlave\remoting). The error is a bit vague and I have no clue what is wrong. I can connect with ssh,

RE: Windows slave by ssh

2020-08-27 Thread Jérôme Godbout
insci-users@googlegroups.com On Behalf Of Slide Sent: August 27, 2020 10:11 AM To: Jenkins User Mailing List Subject: Re: Windows slave by ssh I opened this PR against the ssh-agents-plugin https://github.com/jenkinsci/ssh-slaves-plugin/pull/183 On Thu, Aug 27, 2020 at 6:22 AM Jérôme Go

RE: Windows slave by ssh

2020-08-27 Thread Jérôme Godbout
s couldn't really be run using this plugin, it is only somewhat recently that Windows had good SSH support. So, there are probably some leftovers from the plugin only being used on *NIX systems. On Wed, Aug 26, 2020 at 2:07 PM Jérôme Godbout mailto:godbo...@amotus.ca>> wrote: Hi, Reinstalling

RE: Windows slave by ssh

2020-08-26 Thread Jérôme Godbout
#L91. I have the reverse, a Windows controller and Linux agents. I specify the JAVA_HOME environment variable in my agent configuration and that works. Can you try that? On Wed, Aug 26, 2020 at 12:38 PM Jérôme Godbout mailto:godbo...@amotus.ca>> wrote: Hi, I’m trying to access a Windows

RE: Windows slave by ssh

2020-08-26 Thread Jérôme Godbout
indows controller and Linux agents. I specify the JAVA_HOME environment variable in my agent configuration and that works. Can you try that? On Wed, Aug 26, 2020 at 12:38 PM Jérôme Godbout mailto:godbo...@amotus.ca>> wrote: Hi, I’m trying to access a Windows slave with SSH using Linux ma

RE: Windows slave by ssh

2020-08-26 Thread Jérôme Godbout
ou try that? On Wed, Aug 26, 2020 at 12:38 PM Jérôme Godbout mailto:godbo...@amotus.ca>> wrote: Hi, I’m trying to access a Windows slave with SSH using Linux master Jenkins 2.235.5. [08/26/20 15:24:48] [SSH] Checking java version of c:\JenkinsSlave/jdk/bin/java Couldn't figure out the Jav

RE: Vulnerability in JQuery on Jenkins

2020-08-26 Thread Jérôme Godbout
So it mean the LTS 2.235.5 is not cover by those security fix? jquery 1.11 is old, like 2014 and security patch stopped in 2015. From: jenkinsci-users@googlegroups.com On Behalf Of vince bailey Sent: August 26, 2020 10:45 AM To: 'Björn Pedersen' via Jenkins Users Subject: Re: Vulnerability in

RE: Newbie questions about the declarative syntax

2020-08-17 Thread Jérôme Godbout
There is many things that work in Groovy that doesn't in Pipeline scripting. Also the scripts approval for string manipulation and all those nightmare ish behavior make it trial and error to write something that actually work. Often I end up doing ugly for loop just because foreach and the like

RE: Pipeline design question

2020-08-14 Thread Jérôme Godbout
changed dramatically over the years and if I had my devops code in it's own repo, I would have to create branches to match the product branches anyway so why not keep it all together? On Friday, August 14, 2020 at 1:30:49 PM UTC-4 Jérôme Godbout wrote: ** So you add all

RE: Pipeline design question

2020-08-14 Thread Jérôme Godbout
ittle time allowed for my DevOps... -Original Message- From: jenkinsci-users@googlegroups.com On Behalf Of Sébastien Hinderer Sent: August 14, 2020 11:29 AM To: jenkinsci-users@googlegroups.com Subject: Re: Pipeline design question Hello Jérôme, thanks a lot for your response. Jérôme Godbout

RE: Pipeline design question

2020-08-11 Thread Jérôme Godbout
Hi, this is my point of view only,but using a single script (that you put into your repos make it easier to perform the build, I put my pipeline script into a separated folder). But you need to make sure your script is verbose enough to see where it has fail if anything goes wrong, sinlent and

Shell command with (

2020-06-30 Thread Jérôme Godbout
Hi, I'm trying to run the following command: String name = '"download"'; sh(script: "rm -fr -v !(${name})"); this results into the following string: rm -fr -v !("download") This run just fine into bash shell, I also tried with /bin/bash rm -fr -v !("download") But I always end up with:

RE: Unable to get value of password parameter into another parameter

2020-06-22 Thread Jérôme Godbout
://www.jenkins.io/doc/book/using/using-credentials/ [cid:image001.jpg@01D64872.B950F310] une compagnie [cid:image002.jpg@01D64872.B950F310] RAPPROCHEZ LA DISTANCE Jérôme Godbout Développeur Logiciel Sénior / Senior Software Developer p: +1 (418) 800-1073 ext.:109 amotus.ca<http://www.amo

RE: error trying to clone submodule

2020-06-11 Thread Jérôme Godbout
code 128: stdout: Synchronizing submodule url for 'mylib' stderr: error: could not lock config file /var/jenkins_home/workspace/myproject/.git/modules/mylib/config: Permission denied El jueves, 11 de junio de 2020, 16:55:01 (UTC-4), Jérôme Godbout escribió: This is what I do use and it w

RE: error trying to clone submodule

2020-06-11 Thread Jérôme Godbout
This is what I do use and it work for me checkout([$class: 'GitSCM' , branches: [[name: 'master']] , browser: [$class: 'BitbucketWeb', repoUrl: 'https://bitbucket.org/mynamepath.git'] , doGenerateSubmoduleConfigurations: false ,

RE: java.io.NotSerializableException: java.lang.UNIXProcess

2020-06-08 Thread Jérôme Godbout
Yet another case of @NonCPS, this serializable requirements for functions is such a terrible idea, talk about tentacular requirements that destroy standard calls. They should have put recovery point function, where the context would have been saved and the script could add them as it please,

RE: sh vs execute

2020-06-08 Thread Jérôme Godbout
Sounds like you need to put the function where the sh is called into a @NonCPS decorator on that function. @NonCPS def MyFct() { sh(“ls”); } That should remove the need for serialization of that command ainto this function. From: jenkinsci-users@googlegroups.com On Behalf Of chencho m-a

RE: Pull two repos into one build

2020-05-19 Thread Jérôme Godbout
Simply checkout into Agent workspace subfolder: dir(“source1”){ checkout(…); } dir(“source2”){ checkout(…); } I do 3-4 checkout for my builds (my common jenkins tools libraries repos, my provisioning repos, my source code and his submodules and sometimes some unit tests repos). My

RE: Differents credentials per node

2020-05-18 Thread Jérôme Godbout
age, but it might be possible, but utterly useless for dynamic nodes. So asking some questions that might lead to a solution Gavin On Friday, May 15, 2020 at 7:12:19 AM UTC-7, Jérôme Godbout wrote: Hi, I would like to use a custom credential per slave node. I did not found any way to ent

Differents credentials per node

2020-05-15 Thread Jérôme Godbout
Hi, I would like to use a custom credential per slave node. I did not found any way to enter a credential that is attach to a particular node only. Is this possible? Let's say I have 2 slave node (Slave1 and Slave2), I would like to write the script that request the credential with a single ID

RE: Jenkinsfile naming convention

2020-05-14 Thread Jérôme Godbout
Probably because only one OS (read Windows here) only rely on extension to open file. The shebang is enough on most system. Pipeline Groovy is not pure groovy, the script into pipeline is a Frankenstein of Groovy and Jenkins features. Like some other point out, it should have been .pipeline or

RE: How do you debug Jenkins pipelines?

2020-04-20 Thread Jérôme Godbout
I have a test project pipeline where I copy my code and test it there, only the part I want to test, avoid the long checkout, I copy the source into the workspace directly. The painfull part is testing with interaction with external server (that actually deploy, AppCenter, Azure, Amazone Cloud,

RE: Jenkins and xcodebuild iOS signing

2020-04-13 Thread Jérôme Godbout
. Is the bash inside Jenkins running with some different env or restriction? Not another one of those security road block from Jenkins please, I will try to start a python script to do the same command to see if this pass somehow. From: jenkinsci-users@googlegroups.com On Behalf Of Jérôme Godbout Sent

Jenkins and xcodebuild iOS signing

2020-04-13 Thread Jérôme Godbout
Hi. I'm having a hard time to finish my scripted pipeline to automate the iOS building of application from unity. I manage to do into bash console, but for some reason into Jenkins it failed with xcodebuild with codesign. Executing the following with the same user as Jenkins run into a bash

RE: CppCheck(XML parsing) with Warning-Next-Generation plugins

2020-04-03 Thread Jérôme Godbout
Hi, maybe not what you are looking for, but I do run my cppcheck with the following command (bat or sh): def RunCppCheck(scriptConfig, outputXml, otherOptions = "") { String cmd = “cppcheck --project=${scriptConfig} --xml --xml-version=2 ${otherOptions} 2> ${outputXml}”; if(isUnix()) {

RE: Jenkins.war and Jenkins as service

2020-03-24 Thread Jérôme Godbout
If you run as service under Windows, you might want to change the user that use to run your services (log on) of the service. Use a user with a login desktop capability. The only downfall I see is when I ask the Jenkins to restart it always hang, I have to restart the service manually. Linux

RE: passing variable to bash script in a jenkins pipeline job

2020-03-12 Thread Jérôme Godbout
There is an extra space between your (.) and your opt/setup.sh. If the variabel come from Jenkins pipeline script, you need double quote (“) to get evaluate, single quote (‘) won’t. You should also pass the value as a string and escape it for your argument something like this: def

RE: Xunit and python xmlrunner

2020-01-17 Thread Jérôme Godbout
and be done with it, at the very least I would have cross platform out of the box and file manipulation would not be such a nightmare. I would only need a good API to collect the results that actually work decently. regards, Jerome From: jenkinsci-users@googlegroups.com On Behalf Of Jérôme Godbout

Xunit and python xmlrunner

2020-01-16 Thread Jérôme Godbout
as working. Any clue why is this an invalid file or why I don't have any results? [36E56279] une compagnie [cid:image004.jpg@01D5CC75.EB8DDB00] RAPPROCHEZ LA DISTANCE Jérôme Godbout Développeur Logiciel Sénior / Senior Software Developer p: +1 (418) 800-1073 ext.:109 amotus.ca<http

RE: Jenkins build status always shows success

2020-01-13 Thread Jérôme Godbout
changes and is not backward compatible. [36E56279] une compagnie [cid:image002.jpg@01D5C9F3.18FF0620] RAPPROCHEZ LA DISTANCE Jérôme Godbout Développeur Logiciel Sénior / Senior Software Developer p: +1 (418) 800-1073 ext.:109 amotus.ca<http://www.amotus-solutions.com/> statum-iot.co

Re: SCM polling into recent Jenkins version

2017-08-04 Thread Jérôme Godbout
Is it possible that it check the lastSuccessful one only? if so, I think this is a bad behavior, it should always use the lastest no matter the result. [image: bodycad] Jerome Godbout Software Developer 2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7 T: +1 418

Re: Q: How to choose nodes for build based on parameter?

2017-07-31 Thread Jérôme Godbout
If you need to target a specific node, which label match and others node also match I don't think this is possible, jenkins master take whatever node that match as he please (a priority number or rules would be great). You would need a specific label on each and target that specific label. Maybe

Re: Pipeline powershell

2017-07-04 Thread Jérôme Godbout
Not even 3 triggered build did terminate, it's still hanging itself. So the powershell is no better then batch into this regard. This is getting ridiculous, a CI system who hang is worthless. I guess it's time to find an alternative. [image: bodycad] Jerome Godbout

Re: emailext jelly template access changetSet

2017-05-25 Thread Jérôme Godbout
I haven't found the way to make it work into Jelly and did not found time to test Groovy template either sadly :-( I made many changes manually by a replace function into a copy of the template before sending the template so I probably will be able to replace the changelog with the following

Re: Issue/question with Pipeline and SCM

2017-05-09 Thread Jérôme Godbout
t in the Master > > At the moment I have the Master and one agent > > The Master has the label 'Master' and Only build jobs with label > expressions matching this nose > The Agent has the label 'Axis' and Use this node as much as possible > > >> On Tuesday, May 9, 20

Re: Issue/question with Pipeline and SCM

2017-05-09 Thread Jérôme Godbout
Because if both master and slave have the Axis labels and both are setup to be used, there's multiples option to build, the first free may be taken (in your case probably the master is taken). Maybe there's a bug into the usage ( 'use as much as possible' and the 'only use when labels match') but

Re: Build always ends with FAILURE after setting currentBuild.result = 'STABLE' / 'SUCCESS'

2017-03-28 Thread Jérôme Godbout
Setting stable is not an available enum value, so you fall back to FAILURE I guess. If you set success, make sure you make it case sensitive currentBuild.result = 'SUCCESS' [image: bodycad] Jerome Godbout Software Developer 2035 rue du Haut-Bord, Québec, QC, Canada.

Re: Zip and archive folder/sub folders

2017-03-13 Thread Jérôme Godbout
No need to use 'bat' command, there is a zip command directly. Change: bat 'zip zipFile: \'screen.zip\' archive: true dir: \'screenprint\' glob: \'**/*.png\'' for this: zip zipFile: 'screen.zip' archive: true dir: 'screenprint' glob: '**/*.png' it should work directly [image: bodycad]

Re: Workspace root directory (Jenkinsfile)

2017-02-21 Thread Jérôme Godbout
can > provide some assistance. > > On Tuesday, February 21, 2017 at 2:53:44 PM UTC-5, Jérôme Godbout wrote: >> >> Humm, maybe someone from Jenkins can step in on this I'm out of idea. >> Else the only think I could see is permission problems for the service to >> write a

Re: Workspace root directory (Jenkinsfile)

2017-02-21 Thread Jérôme Godbout
rogram Files (x86)\Jenkins\workspace\i_api. > asicentral.com_master-BLRHPIOJSBVARDRRLSJX5OHVKMDV5UTXULFID5BU57E37BSQ > > On Tuesday, February 21, 2017 at 2:13:47 PM UTC-5, Jérôme Godbout wrote: >> >> can you try d:/${ITEM_FULLNAME} >> >> reverse the backslash just in case... >

Re: Workspace root directory (Jenkinsfile)

2017-02-21 Thread Jérôme Godbout
uary 21, 2017 at 1:50:40 PM UTC-5, Ryan Hutchison wrote: >> >> Thanks - I will check everything again and try to recycle the service. >> >> I am simply mapping to D:\${ITEM_FULLNAME} - where D: is a physical disk. >> >> On Tuesday, February 21, 2017 at 1:45:38 PM UT

Re: Workspace root directory (Jenkinsfile)

2017-02-21 Thread Jérôme Godbout
The drive you see into the user account and the one a services can access are 2 different thing under Windows, try with another path on a local drive after that you will pinpoint the drive usage with the service if this work properly. If so here some information that can be useful net use

Re: Workspace root directory (Jenkinsfile)

2017-02-21 Thread Jérôme Godbout
Have you try to restart the Jenkins server so it can take into account this new path? If so, which version, cause if the path is truly valid, it should work? I have a Window server which was working fine with another drive. Just a note, if the other drive is a network drive, make sure your

Re: LogParserPublisher rules on slave

2017-01-26 Thread Jérôme Godbout
what's the difference between the projectRulePath and parsingRulesPath exactly? I though the project was the one set into the master config, but I may totally be wrong about this. The API is confusing. Would also be nice to call this per stage console output, so I don't parse the huge build /

Re: Python script development

2016-10-11 Thread Jérôme Godbout
Hi, There's a JenkinsApi package for Python: https://jenkinsapi.readthedocs.io/en/latest/ Not sure what is accessible during a pipeline or if this is just for completed build or old standard build for the Python API module (I haven't test this yet). You probably could pass the current build

Re: [pipeline] publishHtml failed with file present

2016-07-12 Thread Jérôme Godbout
Ok, thanks, get inline with what I observed. You say not the only step impacted, but how one fetch those name? any link to API or doc somewhere? I was lucky to find an example into the a plugin that showed it, but for other I'm a little lost to find those API naming (I'm totaly new to Groovy

Re: Access workspace of other project

2016-07-11 Thread Jérôme Godbout
Hi Björn Pedersen, Wouldn't that be a huge waste of disk I/O just to run a small script and output some data. I would rather not copy over 6Go of project data (without the SCM, with SCM this copy will be a huge waste and burn hard drive for nothing). I do it into another project only to have