Re: Start up Jenkins from another Windows User Account

2016-11-16 Thread jerome
my Jenkins managed part is as follow: Home Directory: c:\Jenkins Workspace RootDirectory: d:/JenkinsWorkspace/${ITEM_FULL_NAME} Build Record Root Directory: ${ITEM_ROOTDIR}/builds Assuming the above: Your jobs info should be locate into C:/Jenkins/jobs The system no matter what should them from

Re: Pipeline: Multiproject repository

2016-11-14 Thread jerome
to date Jenkins version to do so, I ran into bugs until really recently to make this work properly. Hope it help, Jerome -- 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

Re: Start up Jenkins from another Windows User Account

2016-11-14 Thread jerome
environment for 3D rendering unit tests and other mounted drive path. Jerome On Friday, November 11, 2016 at 6:13:10 AM UTC-5, Andreas Hetz wrote: > > Hi there, > > acutally i have the problem starting up Jenkins from another Windows User > Account. > > The last year was started up

Re: 2.29 step view and console output

2016-11-08 Thread jerome
Sadly I don't see the Jenkins version or any other information related to plugins version into the Build log/xml, is there a good way to retrive those information from a build or a way to activate it for the future? That would be a good way to ease the downgrade in case of problems. The only

2.29 step view and console output

2016-11-08 Thread jerome
erformed before release (the new pipeline API I can understand, since it's brand new and API change a lot, but the old MSBuild Task is a real pain to see those old working part gone into the drain). Jerome -- You received this message because you are subscribed to the Google Groups "Jen

Re: How to MsBuild for certain project

2016-10-27 Thread jerome
msbuild subfolder/myproject.vcxproj /t:build /p:Configuration="Release"; Platform="x64";SolutionDir=MyPathToSln\ Make sure you don't use any absolute or relative path to the project, try to use path with $(SolutionDir)\MyPathToRessource and specify your path according to the provided

Re: emailext jelly template access changetSet

2016-10-19 Thread jerome
template before I converted everything to Jelly. The Jelly equivalent doesn't seem to work. I wonder if this is du to Jelly templating or the pipeline??? If this is the jelly, I will convert back to Groovy, else I will stick to Jelly, the template is cleaner IMO. Thanks, Jerome I will try

Re: Jenkins EMail Reporting

2016-10-18 Thread jerome
I got some Jelly template working for this. First the jenkins file: Make sure you collect your unit test results: step([$class: 'JUnitResultArchiver', testResults: 'TestResult/*.xml']); Then send the email: emailext body: '${JELLY_SCRIPT,template="

emailext jelly template access changetSet

2016-10-17 Thread jerome
} The warning were: ${WARNINGS_RESULT()} ${WARNINGS_COUNT()} ${WARNINGS_NEW()} ${WARNINGS_FIXED()} but now if used they generate a jelly parsing error. if any body have any tips or info on this I would be glad, Thanks Jerome -- You received this message because you are subscribed to the Google Groups

Re: Email ext to send html body in Pipeline

2016-10-17 Thread jerome
Hi, Sam I was just wondering if the FILE type could use the token replacement like the follwoing: Jenkins project into the email body. I tested it on my side just out of curiosity and it does not make the token replacement as of writting this. For those who need it:

Re: pipeline emailext template

2016-10-14 Thread jerome
Sweet, thanks you slide for the info! -- 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

Re: Email ext to send html body in Pipeline

2016-10-14 Thread jerome
Hi, I found the Jelly script way of doing it, see my post into this forum. does the '${FILE,path="/tmp/test.html"}' does the Token replacement? can you use any form of script into it (for loop? jelly? groovy?). Thanks -- You received this message because you are subscribed to the Google

Re: pipeline emailext template

2016-10-14 Thread jerome
just found some info and by trial and error: emailext body: '${JELLY_SCRIPT,template="myFilePath.jelly"}' I try the old groovy template without success. '${GROOVY_SCRIPT,template="myFilePath.template"}' <-- does not work I also found that Windows path are not supported \ are not compatible

pipeline emailext template

2016-10-14 Thread jerome
that would be welcome. Jerome -- 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

Pipeline LogParserPublisher weird behavior

2016-10-14 Thread jerome
and plugins @ 2016-10-14 @10h35 EST) Thanks, Jerome -- 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. T

Re: Python script development

2016-10-06 Thread jerome
have a clear solution for this. Sorry again. Jerome -- 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.co

Re: Python script development

2016-10-06 Thread jerome
sh ""). Ex (this depends on you script implementation): sh "python mytestScript.py -o outputdir/test.xml" Parse the xunit result with the JUnitResultArchiver: step([$class: 'JUnitResultArchiver', testResults: 'outputdir/*.xml']); Jerome On Thursday, October 6, 2016 at 8:23:59 AM UT

Re: Unable to execute a windows batch command in Jenkins Build

2016-10-04 Thread jerome
Like stated by slide, the drive is not accessible by Jenkins like most services doesn't see the same drive letter as user. I would recommend add crendential into Windows credential manager and use absolute machine path where the share is access: \\10.1.10.66\Share\MyPath You can also use the

Re: Jenkins EMail Reporting

2016-09-21 Thread jerome
I known my answer will not be received well by most, but that was the fastest way I could find, I did a Python script with XunitParser module made that a breeze (I can even test it better or use other tools to run them). https://pypi.python.org/pypi/xunitparser Just write to a temporary file

Re: Jenkins Workspace

2016-09-12 Thread jerome
you may want to backup along the config. Jerome -- 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.co

Re: Loading properties from a file in Jenkins 2.0 pipeline

2016-09-09 Thread jerome
I haven't test it but saw it while checking for something else (zip): Pipeline Utility Steps https://github.com/jenkinsci/pipeline-utility-steps-plugin/blob/master/docs/STEPS.md Maybe that's what you're looking for with

Re: Loading properties from a file in Jenkins 2.0 pipeline

2016-09-07 Thread jerome
Not sure about the Java properties file, but I succeed by doing a .groovy file if that's interest you (probably not, but here it is if someone need it, it's unsafe but in controlled env it doesn't matter): *Jenkinsfile* def my_var = evaluate(new File("myEnv.groovy")); bat

Re: Building RPMS from Jenkins job

2016-09-07 Thread jerome
Parser plugin or something like it. Else you can do the same but just mark the check as temporary until the appropriate channel fix it. Are you using something that wrap the rpmbuild command? Jerome -- You received this message because you are subscribed to the Google Groups "Jenkins

[pipeline][email][pre-send script]

2016-09-06 Thread jerome
uld be glade, Thanks, Jerome -- 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 disc

Re: Not able to see Jenkin's execution in local desktop

2016-09-06 Thread jerome
s as admin and start/restart Jenkins. Access Jenkins url then go to Manage Jenkins. All the setup aside the Jenkins.xml arguments are made within the web interface. Jerome -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubsc

Re: Pipeline stage deprecated without block

2016-09-02 Thread jerome
ok, great thanks it now have a scope of operation, that was not clear with the error message (at first I was under the impression I needed to give it an argument of some sort: stage([name:'checkout', block: ???]) Now it's clear. -- You received this message because you are subscribed to the

Pipeline stage deprecated without block

2016-09-01 Thread jerome
stage now takes a block argument, what is that argument exactly? what is considered a block? Thanks Jerome -- 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 ema

Re: Not able to see Jenkin's execution in local desktop

2016-08-31 Thread jerome
The best you can do now, is create a normal loggable account and set the Jenkins service to run under that account. I had to do this for unit tests that required some OpenGL and other environment features. -- You received this message because you are subscribed to the Google Groups "Jenkins

pipeline bat return -1 without any info, cmd work into cmd.exe

2016-08-26 Thread jerome
Hi, I have the following simple script (I reduce the number of output to debug it to a single file): node { bat "\"" + pwd() + "\\external\\Qt55\\msvc2015_64_opengl\\bin\\qmllint.exe\" \"" + pwd() + "\\QmlScripts\\Production\\GeometryCleaner\\GeometryCleaner.qml\""; } [Pipeline]

Re: Pipeline bat stdout redirection

2016-08-25 Thread jerome
I tried to execute the def out_str = bat([returnStdout:true, script:"..."]); println out_str; without any luck, still have the same result. That's sad, why does normal print succeed, the Subprocess are run, and the proper return code is returned for each subprocess indicating they are running

Re: Pipeline bat stdout redirection

2016-08-25 Thread jerome
This is really weird, even making the subprocess.Popen redirect out and error to a file the content is empty inside Jenkinsfile script only. Running the same script with the same cwd and same parameters from a console work normaly. Also try to set sys.stdout = sys.__stdout__ just to make sure,

Re: FilePath in Jenkinsfile

2016-08-25 Thread jerome
See this link for more file manipulation with groovy: http://grails.asia/groovy-file-examples -- 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

Pipeline bat stdout redirection

2016-08-25 Thread jerome
messup. Anybody know what is going on? as for why I do Python script, my tooling was made into python and have many issue with groovy into JenkinsFile and iterator to still avoid porting right now. Thanks Jerome -- You received this message because you are subscribed to the Google Groups

Re: FilePath in Jenkinsfile

2016-08-25 Thread jerome
Not sure if you need recursion or not but: new File(".").eachDir() { it -> println it.getAbsolutePath() } new File(".").eachFileRecurse() { it -> println it.getAbsolutePath() } I had many problem with iterator into JenkinsFile where only the first match ever get executed. But if your bash

Re: Pipeline: How to access Jenkins build information from pipeline?

2016-08-22 Thread jerome
very script possible branches. Jerome -- 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 disc

Re: [LogParserPublisher] pipeline doesn't set currentBuild.result

2016-08-19 Thread jerome
If the log is null (default value) use the normal full consoleOutput. -- 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

[LogParserPublisher] pipeline doesn't set currentBuild.result

2016-08-19 Thread jerome
lts. Those would avoid having a melting pot of the parsing at the end of the node grouped all together and parsing big chunk of unrelated console output for other stage part (like the long build console output for example). What do you think? Jerome -- You received this message because yo

Re: Are pipelines incompatible with local developer builds?

2016-08-19 Thread jerome
Hi, I think you makefile script is just fine and you should keep it this way. I think what you want to split into stage is not what happen during the build but what goes around it. here's an example of my jenkinsfile stages for a build: - stage 'Checkout' - stage 'Clean' // make clean

Re: [pipeline][parametrized build][Jenkinsfile]Cannot use variable to checkout the parametrized build

2016-08-17 Thread jerome
I use a project direct script that perform a first checkout (checkout scm: [...]) with the branch then append the repos Jenkinsfile to the current script execution if that's even possible??? Thanks, Jerome -- You received this message because you are subscribed to the Google Groups "Je

Re: [pipeline][groovy postbuild] Groovy manager access

2016-08-15 Thread jerome
ing this: > > *if(manager.build.result.isBetterOrEqualTo(hudson.model.Result.SUCCESS)) * > *{* > * manager.addShortText("${APPLY_TAG}");* > *}* > > But it doesn't work. Anyone have any idea? > > Jerome > -- You received this message because you are subscribe

[pipeline][parametrized build][Jenkinsfile]Cannot use variable to checkout the parametrized build

2016-08-05 Thread jerome
ean: false, credentialsId: '', revision: "${BRANCH_NAME}", revisionType: "BRANCH"], poll: false* This work, but I also need to checkout the Jenkinsfile from that branch too. Anybody know of a way to do this? Thanks Jerome -- You received this message because you are subscribed

Re: [pipeline][checkout][@script] Checkout procedure

2016-08-04 Thread jerome
thing twice, once in @script and one in the normal workspace. This is a real let down, since we have a huge repos with many external sub repos. Maybe I'm missing something here but this feel like a weird features (maybe an option to disable that @script thing would be very welcom). Jerome -- You

Re: Question regarding Jenkins pipeline setup

2016-08-04 Thread jerome
Just realized the same thing, after developing my JenkinsFile inline with sandbox removed, then approved the whole operation into white listing. That @script folder was unexpected for the least I could say On Monday, August 1, 2016 at 7:30:04 PM UTC-4, Peter Wiseman wrote: > > Likewise, I'm

[pipeline][checkout][@script] Checkout procedure

2016-08-04 Thread jerome
(10 years in fact), so I hope I won't have to sync 2 repos over time too much, I was really looking forward to have the JenskinsFile into the source repos and not having a subrepos for 1-2 files only. Jerome -- You received this message because you are subscribed to the Google Groups "Je

Re: Groovy script other script tools functions

2016-07-29 Thread jerome
Seem like the pipeline output cannot be parsed by the console log parser (he don't see them inside the node, some flushing or redirection is not properly done). so I'm move back to Python and did a simple script invoke with batch (this work): bat "\"${bcad.python_2_exe}\"

Re: Groovy script other script tools functions

2016-07-28 Thread jerome
rights reserved * * \date 2016-07-13 * \author Jerome Godbout * * \fileTools.groovy * \infoThis is common function to use with JenkinsFile or other groovy scripts * */ import static groovy.io.FileType.* import java.util.regex.Pattern cla

Groovy script other script tools functions

2016-07-28 Thread jerome
Hi, First of, I'm totaly new to the Groovy thing (I'm not a Java dev either, I'm a C/C++/C#/Python/Bash guys). I'm trying (without any success so far) to use a common files between my JenkinsFiles as Tools.groovy to have a single implementation for them. I'm having problems to just find out

Re: .bat running on jenkins

2016-07-14 Thread jerome
For old Jenkins project: select the build step: *Execute Windows batch command* If you need to have cross platform compilation (node into Unix/Windows), you may want to take a look at xShell plugin): https://wiki.jenkins-ci.org/display/JENKINS/XShell+Plugin The new pipeline project have the

[pipeline][groovy postbuild] Groovy manager access

2016-07-13 Thread jerome
rOrEqualTo(hudson.model.Result.SUCCESS)) * *{* * manager.addShortText("${APPLY_TAG}");* *}* But it doesn't work. Anyone have any idea? Jerome -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group

[pipeline][plugins] Various plugin into pipeline

2016-07-13 Thread jerome
but still it's easy and neat. Nice work, this aim in the right direction, will be able to port many of those python script into groovy into the futur and this already solve problems with loop over dynamic repetition (unknown number by Jenkins at project level). Big thumbs up from here

Re: [pipeline] publishHtml failed with file present

2016-07-12 Thread jerome
does it represent? Any place where we can find the API doc for all > those pipeline functions? > > > Thanks, > > Jerome > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and st

[pipeline] publishHtml failed with file present

2016-07-12 Thread jerome
RE I generate my line with the pipeline syntax tools. My question is what is the target and does it represent? Any place where we can find the API doc for all those pipeline functions? Thanks, Jerome -- You received this message because you are subscribed to the Google Groups "Jenkins U

Re: Access workspace of other project

2016-07-11 Thread jerome
Hi again, I'm trying that pipeline plugin (did not touched it yet) just to give myself an idea of what it look like. I'm facing a weird display problem I guess, because the example and walkthrough are talking about Script textArea, but I don't see any into my config web page??? See what I see

Access workspace of other project

2016-07-11 Thread jerome
:/JenkinsWorkspace/AA I would rather have something like: *Directory* = ${DEFAULT_WORKSPACE}/../AA or even better: *Directory* = ${ALL_WORKSPACE}["AA"] Thanks, Jerome -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

Plot graph per XPATH or file into directory

2016-07-05 Thread jerome
change per revision and growth really quickly). Thanks Jerome -- 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...@googlegroup

Re: Editable Email Notification

2016-06-03 Thread jerome
Finaly found the problem, the password into the Extended E-mail Notification plugin was not set properly, but was into the E-mail Notification so the test email was going out but not the one from template. The error about not found was due to env var and reboot Jenkins. Why is Extended need

Re: Editable Email Notification

2016-06-03 Thread jerome
Sorry for the polution, but just realized my notepad++ didn't reload the log after Jenkins wrote to it. I have a new errors, but I checked the file path and the file are there?!? maybe it doesn't support multiple file anymore?!! SEVERE: Groovy Template file [CieTemplate1.template,

Editable Email Notification

2016-06-03 Thread jerome
Hi, After moving to Jenkins 2.7 (from 1.5.x) I got everything running except the *editable email notification* the way we used to do it. We were using 2 template file per project, 1 that define a few env variables first then the second one to generate the email. So we have different project

Re: Opening Html files failed

2016-03-24 Thread jerome
Even with all the allow possible given to the sandbox, Doxygen search could not work properly with the navigation error. So I went into the Apache Rewrite route to avoid the iframe entirely: RewriteRule ^/Jenkins/job/CAD_Doxygen/Doxygen$ /Jenkins/job/CAD_Doxygen/Doxygen/index.html [R] This

Re: Opening Html files failed

2016-03-24 Thread jerome
> > > > BTW, the page: > > > https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy > > > > > is

Re: Opening Html files failed

2016-03-23 Thread jerome
.html when the frame page is load by the Apache server in front of Jenkins, rewrite route into Apache it will be ;-) Thanks for your help, Jerome On Tuesday, March 22, 2016 at 3:16:36 PM UTC-4, Daniel Beck wrote: > > > On 18.03.2016, at 15:48, jer...@bodycad.com wrote: > > > R

Re: Opening Html files failed

2016-03-21 Thread jerome
That's exactly what I trying to figure out, the value is set but doesn't have any effect, I guess I'm filling it badly (did try the console, see message above). Anybody have it working and can print the actual value inside it with the

Re: Opening Html files failed

2016-03-21 Thread jerome
I did try that right away, doesn't change anything. On Friday, March 18, 2016 at 6:38:43 PM UTC-4, Daniel Beck wrote: > > > On 18.03.2016, at 15:48, jer...@bodycad.com wrote: > > > I still cannot access the web content and I get the same error as if > allow-scripts is not > > Reload the page,

Re: Opening Html files failed

2016-03-19 Thread jerome
hat the problems is, but it totaly lack clarity to where > to set those policy. Why is this not part of the Manage jenkins interfaces? > why can't we set this per project? > > Thanks, > Jerome > > On Tuesday, January 12, 2016 at 9:17:13 AM UTC-5, Daniel Beck wrote: >> >&

Re: Opening Html files failed

2016-03-18 Thread jerome
; is great to know what the problems is, but it totaly lack clarity to where to set those policy. Why is this not part of the Manage jenkins interfaces? why can't we set this per project? Thanks, Jerome On Tuesday, January 12, 2016 at 9:17:13 AM UTC-5, Daniel Beck wrote: > > Does it w

Re: Running Jenkins as a different Windows User

2016-03-10 Thread jerome
/bb842062.aspx 2. install the tools 3. open a cmd.exe 4. type psexec -i -s cmd.exe 1. into new shell type whoami 1. should see: nt authority\system 2. mount the drive with net use Jerome On Thursday, March 10, 2016 at 4:53:56 AM UTC-5, ayesha s wrote: > > &g

Helping to improve the state of building IOS/Mac apps using jenkins

2013-11-20 Thread Jerome Lacoste
Hello, If you are in any way interested in the future of building IOS/Mac apps using jenkins, then you should participate to this thread. Please answer, even in a few months :) I've had various conversations with different parties off list and I would prefer to consolidate the conversations

Re: Helping to improve the state of building IOS/Mac apps using jenkins

2013-11-20 Thread Jerome Lacoste
On Wednesday, November 20, 2013 10:56:36 AM UTC+1, Jerome Lacoste wrote: Hello, If you are in any way interested in the future of building IOS/Mac apps using jenkins, then you should participate to this thread. Please answer, even in a few months :) I've had various conversations

Re: Does XCode plugin read environment vars?

2013-05-22 Thread Jerome Lacoste
. Jerome On Wednesday, 8 May 2013 16:39:58 UTC+10, Stephen Connolly wrote: If the Xcode plugin does not depend on token-macro then it is 99% certan to not support expansion... Now I am 99.5% certain that supporting expansion is a good and desirable thing for this plugin Hope

Re: Xcode Plugin: Unit test output stops

2013-05-22 Thread Jerome Lacoste
Greg, would you be willing to contribute a small xcode project that contains your tests and the associated build commands ? If so, please open an issue and attach a zip with the code or point to a git repo somewhere. Thanks Jerome On Wednesday, March 20, 2013 3:54:18 PM UTC+1, Greg Cooksey

Re: Warning - the XCode plugin does not work with static libraries

2013-05-22 Thread Jerome Lacoste
Martin * is this issue opened in jira ? * would you be willing to provide a dummy test project for me to use as integration test ? Thanks Jerome On Saturday, December 8, 2012 12:20:24 AM UTC+1, Martin wrote: If you have a workspace containing a library, and a project that includes

Sharing files between master and slave (dropbox like)

2012-09-06 Thread Jerome Lacoste
I am trying to centralize on my master the list of files required for my various slaves. My current solution(s) including drawbacks are described below. Feel free to comment if you have a better alternative. Because of security reasons, I want to keep a minimal number of connections between

Transcient error on slave: java.lang.NoClassDefFoundError: Could not initialize class jenkins.model.Jenkins$MasterComputer

2012-09-05 Thread Jerome Lacoste
For the record, I encountered the following exception on a slave on Amazon ec2 (Windows 2008 R2 64bits). Restarting the Jenkins service solved it. hudson.util.IOException2: remote file operation failed: c:\jenkins\workspace\Project-1.x-win32_wix at

Windows slave in the cloud ?

2012-08-28 Thread Jerome Lacoste
to connect to and I don't have any... Cheers, Jerome

Unity3d plugin 0.3 released, synced with DragonBox official release

2012-06-13 Thread Jerome Lacoste
. Cheers, Jerome, for WeWantToKnow

Re: Jenkins dying regularly -- how to diagnose

2012-03-07 Thread Jerome Lacoste
. defaults write /Library/Preferences/org.jenkins-ci permGen 128M Cheers, Jerome

Upgrading Jenkins to 1.454 from the command line on Mac OS X caused file permission changes.

2012-03-06 Thread Jerome Lacoste
to remotely upgrade jenkins on Mac OS X and not loose setup ? Jerome

Re: Upgrading Jenkins to 1.454 from the command line on Mac OS X caused file permission changes.

2012-03-06 Thread Jerome Lacoste
On Tuesday, March 6, 2012 12:22:09 PM UTC+1, Jerome Lacoste wrote: Today I upgraded jenkins on the command line using: sudo installer -pkg jenkins-1.454.pkg -target / This changed the permissions of the Jenkins home directory. I had to fix them using: chown -R jenkins:daemon

<    1   2