Re: email-ext: "requester" option not available in Send to area

2017-04-20 Thread Sébastien Hinderer
Slide (2017/04/20 20:16 +): > Did you expand the "Advanced" area of the plugin configuration? I think I did that but perhaps I should retry with sighted assistance -- I am blind. Will keep you posted at the beginning of next week. Thanks, Sébastien. -- You received this message because

email-ext: "requester" option not available in Send to area

2017-04-20 Thread Sébastien Hinderer
Dear all, I just installed the latest version (2.57.2) of the email-ext plugin on a 2.32.3 LTS instance of Jenkins. I'd like the requester of a job to be notified of its result but can't achieve this, because the option to send the e-mail to the requester is not displayed. Neither is the

Re: Disabling Jenkins' new version message

2017-04-29 Thread Sébastien Hinderer
Stephen Connolly (2017/04/28 22:49 +): > I find upgrading and fixing the security issues disables the warning > ;-) Obviously, but in our use case we can't because the research institute I am working for has deigned a portal which integrates Jenkins with other services. It seems the

Disabling Jenkins' new version message

2017-04-28 Thread Sébastien Hinderer
Dear all, Is there a way to disable the message about newer Jenkins versions and also the security-related warnings? Thanks! Sébastien. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails

User-defined variables?

2017-04-28 Thread Sébastien Hinderer
Dear all, On our Jenkins instance, we have a job to let developers test their modifications before they get merged. The build is parameterized by the URL of the developer's Git repository and the name of the branch to test. I would like to let each developer define the URL of his/her repository

Re: email-ext: "requester" option not available in Send to area

2017-04-25 Thread Sébastien Hinderer
Dear all, Slide (2017/04/20 20:16 +): > Did you expand the "Advanced" area of the plugin configuration? Yes. Then the "Send To" area appears, but only with the "Developers" and "Recipient list" choices. Nothing suspiscious in Jenkins logs either so I don't really know how to proceed from

Re: Disabling Jenkins' new version message

2017-04-29 Thread Sébastien Hinderer
Dear Dmitry, Many thanks for your helpful response! I think, given the constraints I described in a previous e-mail, what you suggest is exactly what we need. Having no access to the server running the Jenkins instance I can't try it by myself but I suggested the modification to our support

Re: Job parameter as Selectbox with items from database

2017-05-17 Thread Sébastien Hinderer
Hello Andrey, I think I saw a similar discussion on the list around the end of April. I can't remember the details well but I think there is a solution involving a plugin that lets you control what other scripts are allowed to do. If you lookup the list archive for htis period I'm pretty sure you

email-ext and multiconfiguration projects

2017-05-17 Thread Sébastien Hinderer
Dear all, On a project with a two-dimensions matrix, I am trying to include the values of the matrix variables in the subject of emailext editable notifications. So far I tried both ${slave} and ${ENV, var="slave"}, where "slave" is the name of the label for one dimension of the matrix. None of

[no subject]

2017-05-24 Thread Sébastien Hinderer
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit

Re: Disabling Jenkins' new version message

2017-05-04 Thread Sébastien Hinderer
Hi, Dmitry Lampsi (2017/04/28 11:32 -0700): > Hi, Sébastien. > I think something useful you can find here > - > https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties > According to this link you can pass 'hudson.model.UpdateCenter.never > property' to 'true' in

Re: Customization of Post-Build Email Notifications in Jenkins

2017-05-08 Thread Sébastien Hinderer
ted. Sébastien. > > On Friday, 5 May 2017 15:13:01 UTC+5:30, Sébastien Hinderer wrote: > > > > Dear venkatesh, > > > > See the email-ext plugin to send customized emails. > > You may have to write a bit of code to achieve your goal -- I don't know > > the details of

Re: Disabling Jenkins' new version message

2017-05-04 Thread Sébastien Hinderer
Dear Daniel, Many thanks for your prompt and helpful response. > Current versions of Jenkins have options in Configure System to > disable specific administrative monitors. This is one of them. Very interesting, thanks! May I ask in which version of Jenkins this feature has been introduced? >

Re: Customization of Post-Build Email Notifications in Jenkins

2017-05-05 Thread Sébastien Hinderer
Dear venkatesh, See the email-ext plugin to send customized emails. You may have to write a bit of code to achieve your goal -- I don't know the details of what you will have to do -- but at least email-ext shoudl allow you to reach what you describe. hth, Sébastien. -- You received this

Re: Defining *project level* environemnt variables

2017-10-25 Thread Sébastien Hinderer
Thanks a lot for your response, Stephen. Not sure I'm brave enough to try to write something myself. Just too bad it does not already exist but I guess we'll just do without since it'd be a nice addition but not really mandatory. Best wishes, Sébastien. -- You received this message because you

Defining *project level* environemnt variables

2017-10-21 Thread Sébastien Hinderer
Dear all, I would like to be able to define an environment variable for Jenkins but not at the job level, rather at the project level, so that it can be shared between several different jobs. Moreover I would like to be able to do this from the web interface, because I do not have ssh access to

How does jenkins deal with builds?

2018-05-04 Thread Sébastien Hinderer
Dear all, Currently our builds are triggered by polling the SCM system for changes and we do the polling every 15 minutes. As I understandi it, this means that if, say, 1 commit is pushed every minute between two checks, only two builds will be done, one before and one after these 15 commits.

Project with several Git repositories

2018-05-02 Thread Sébastien Hinderer
Dear all, Say a project has two repositories: one for its source code and one for its test suite. How would you do CI for such a project? I mean, I did try to define several repositories but it seems that Jenkins only clones the most recently modified rather than cloning all of them

Problem when trying to connect to GitHub from a Windows slave

2019-05-27 Thread Sébastien Hinderer
Dear all, Recently, I wanted my slaves to fetch our GitHub repository through authenticated ssh coneections rather than through HTTPS unauthenticated connections. I created the appropriate Jenkins credential with ssh keys, replaced the HTTPS URL of the repo by an ssh-based one and requested the

Re: Problem when trying to connect to GitHub from a Windows slave

2019-05-27 Thread Sébastien Hinderer
Hi, Many thanks for your response. Geoffroy J (2019/05/27 09:18 -0700): > Hello > > Have you tried cloning manually using the ssh key on windows? Yes, and it worked. Sorry I forgot to mention this. > Also, what username have you configured for your git credential on > Jenkins? The GitHub

Re: Problem when trying to connect to GitHub from a Windows slave

2019-05-27 Thread Sébastien Hinderer
Hello David, Many thanks for your response! eyal david (2019/05/27 18:37 +0300): > Hi > Try to recreate new keys from the windows slave using the git bash ... What do you mean by git bash ? > than create credentails id in jenkins master based on the your private key > created on the windows

Pipeline equivalent of the elastic axis plugin

2020-08-17 Thread Sébastien Hinderer
Dear all, In our legacy matrix jobs we use the elastic axis plugin quite a lot. This plugin creates a matrix axis from a label: all the nodes with the given label will be on the axis and thus the given job can be run on all these nodes. However, the elastic axis plugin does not provide any

Re: Pipeline equivalent of the elastic axis plugin

2020-08-17 Thread Sébastien Hinderer
Dear Mark, Many thakns for your contribution! I think I did find a plugin that was able to "ignore" the off-line nodes when running a job, that was really convenient. I can probably find it again if that heps you, just let me know. Many thanks for your help on the topic of the message. To be

Re: Pipeline design question

2020-08-17 Thread Sébastien Hinderer
Deear Jérôme, I really wanted to thank you for having taken the time to share both abstract ideas, an overall view of your architecture, and also very valuable code. To tell you the truth, it didn't help me to become friend with all this Groovy soup, but this is by no means your fault and I am on

timeout option ignored in pipeline

2020-09-16 Thread Sébastien Hinderer
Dear all, I just added a timeout option to a pipeline: pipeline { agent { label 'foo' } options { timeout(time: 1, unit: 'HOURS') } stages { ... } post { ... } } The timeout is not taken into account. The job is running for several hours now and blocked whereas I was expecting it

Re: $BUILD_STATUS token not recognized in emailext pipeline post action

2020-08-07 Thread Sébastien Hinderer
Dear Alex, Many thanks for your very helpful response! Slide (2020/08/06 07:01 -0700): > It's because you are using double quotes, which means Groovy (which > pipeline is built on) will try and interpolate the variable. You would need > to do something like this: [...] I kind of thought I

Re: $BUILD_STATUS token not recognized in emailext pipeline post action

2020-08-07 Thread Sébastien Hinderer
Many thanks Alex, what you write looks very sensible and makes a lot of sense to me. Best wishes, Sébastien. -- 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

GitHub webhooks and pipelines

2020-08-10 Thread Sébastien Hinderer
Dear all, I am trying to switch from classical to pipeline jobs. One of my classical (legacy) jobs is triggered by a GitHub web hook and things are working correctly: when something is pushed to the "trunk" branch on GitHub, the hook is called and the classical job is executed. This is reflected

$BUILD_STATUS token not recognized in emailext pipeline post action

2020-08-06 Thread Sébastien Hinderer
Dear all, Given this Jenkinsfile: pipeline { agent { label 'foo' } stages { stage('Checking code style') { steps { sh ''' if [ ! -x tools/check-typo ] ; then echo "tools/check-typo does not appear to be executable?"; >2; exit 1;

Re: GitHub webhooks and pipelines

2020-08-11 Thread Sébastien Hinderer
Dear all, I am replying to myself because meanwhile I have solved my problem and others might find the solution interesting, too. Sébastien Hinderer (2020/08/10 17:39 +0200): > Dear all, > > I am trying to switch from classical to pipeline jobs. > > One of my classica

Pipeline design question

2020-08-11 Thread Sébastien Hinderer
Dear all, When a pipeline needs to run a sequence of several shell commands, I see several ways of doing that. 1. Several "sh" invocations. 2. One "sh" invocation that contains all the commands. 3. Having each "sh" invocation in its own step. 4. Putting all the commands in a script and

Re: Pipeline design question

2020-08-14 Thread Sébastien Hinderer
Hello Jérôme, thanks a lot for your response. Jérôme Godbout (2020/08/11 16:00 +): > 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

Re: Pipeline design question

2020-08-14 Thread Sébastien Hinderer
Dear Gianluca, Many thanks for your helpful comments! I do not have a strong opinion at the moment about what is best, but at least I understand the pros and cons in a better way. Best wishes, Sébastien. -- You received this message because you are subscribed to the Google Groups "Jenkins

Re: Pipeline design question

2020-08-14 Thread Sébastien Hinderer
Many thanks for your contribution Jeremy. Definitely more than $0.02! ;-) I am not sure how high-level my Jenkinsfiles are at the moment, but at least we are departing frm defining the jobs in Jenkins' UI, which feels good and a step in the right direction on which we can always improve later.