Build with parameters run a function from a shared library

2023-11-13 Thread Michael Kanchuker‎
Hello, I have a parameterized build with an Active Choices Parameter. is there a way to run a function that I wrote in one of my shared libraries defined in Jenkins? Specifically, I need to update the values based on some API query. Thanks, Michael -- You received this message because you

Re: java.io.IOException: Could not copy remoting.jar into '/var/lib/jenkins' on agent

2022-01-29 Thread Michael Renner
f options. -- |Michael Renner E-mail: michael.ren...@gmx.de | |81541 MunichTwitter: @dd0ul| |Germany Don't drink as root! ESC:wq -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group.

java.io.IOException: Could not copy remoting.jar into '/var/lib/jenkins' on agent

2022-01-27 Thread Michael Renner
:43:34] [SSH] java -version returned 1.8.0_161. [01/27/22 20:43:34] [SSH] Starting sftp client. [01/27/22 20:43:34] [SSH] Copying latest remoting.jar... [01/27/22 20:43:35] [SSH] Copied 1,522,173 bytes. Any hints? -- |Michael Renner E-mail: michael.ren...@gmx.de | |81541 MunichTwitter

Re: Kubernetes plugin - container is not valid for pod

2020-10-01 Thread Michael Kanchuker‎
Thank you very much, It works now. I didn't know pod template inheritance was a thing. Michael. On Friday, September 25, 2020 at 5:35:49 PM UTC+3 Vincent Latombe wrote: > Try changing your Jenkinsfile to: > > podTemplate( > containers: [ > containerTemplate(name:

Kubernetes plugin - container is not valid for pod

2020-09-21 Thread Michael Kanchuker‎
a shell in it. I don't experience this in my other builds. I'm running Jenkins v2.249.1 and Kubernetes plugin v1.27.1. Your help is much appreciated, Michael Kanchuker. Jenkinsfile: podTemplate(label: "admin-builder", containers: [ containerTemplate(name: 'docker', image: 'do

Push Jenkins-Job shell- and powershell code to git?

2020-09-16 Thread Michael Renner
Moin, we have many jobs with extensive shell- und powershell code in the build sections. Is there a chance to push the code to our internal GitLab server as soon as the code/job was modified and saved? That would be an easily accessible backup that would allow to recover a previous version if

Re: After server migration: can no log in

2020-08-13 Thread Michael Renner
Moin, found the problem: User 'jenkins' needs to belong to group shadow to read /etc/shadowUser Am Donnerstag, 13. August 2020 15:39:07 UTC+2 schrieb Michael Renner: > > Moin, > > I migrated my single server instance from a i386 architecture to a modern > AMD64 by exec

After server migration: can no log in

2020-08-13 Thread Michael Renner
Moin, I migrated my single server instance from a i386 architecture to a modern AMD64 by executing the steps mentioned in https://stackoverflow.com/questions/8724939/how-to-move-jenkins-from-one-pc-to-another So far I used "Unix user/group database" as Security Realm, with other words my

parameterized-trigger-plugin update 2.35.2 -> 2.36 not starting jobs in postbuild

2020-05-12 Thread Michael Augustin
Does anybody had the same situation? Thanks for any help. Michael -- 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...@googleg

Re: Process the powershell result on the jenkins server

2020-02-27 Thread Michael Renner
e value in your bash script. > Or similarly, if you write the file in the upstream job as a properties > file "VARNAME=$value" then you can use that file to set a parameter to pass > to the downstream job (parameters from properties file). > > Eric > > On 2/2

Process the powershell result on the jenkins server

2020-02-26 Thread Michael Renner
Moin, I am new to this group but I have been using jenkins for many years. Now I have a request that I don't know what to do next. My jenkins server (Linux) connect to an agent on a Windows server and calls a power shell script. The script reports a result back, for example, "day", "night",

Re: GitHub webhooks, where to put smee client if Jenkins is in a container?

2019-11-13 Thread Michael Neale
Hrm - I didn't need to do anything like that, no. Unless something has changed since I tried it, I was using a very stock setup with the github plugin etc, and it worked fine if I setup the pipeline as a github source type. On Thu, Nov 14, 2019 at 9:02 AM Craig Rodrigues wrote: > Michael, &g

Re: GitHub webhooks, where to put smee client if Jenkins is in a container?

2019-11-10 Thread Michael Neale
Hi Craig - I think that you need the trailing slash (as per the blog - I seem to recall it was very fickle about that, probably stapler!) On Sat, Nov 9, 2019 at 7:06 AM Craig Rodrigues wrote: > Michael, > > It looks like the smee client has a *--target* option to specify where

Re: GitHub webhooks, where to put smee client if Jenkins is in a container?

2019-10-24 Thread Michael Neale
to try using a service which may disappear. > -- > Craig > > On Thu, Oct 24, 2019 at 2:39 PM Michael Neale > wrote: > >> yeah fair point it doesn't have to be right next to it - but it has to be >> somewhere it can reach /github-webhook endpoint - so could be a totally &

Re: GitHub webhooks, where to put smee client if Jenkins is in a container?

2019-10-24 Thread Michael Neale
es, and if I had two separate physical machines, > one running Jenkins and one running smee, > would it be possible for smee to interact with Jenkins via the REST API? > > -- > Craig > > On Thu, Oct 24, 2019 at 1:01 AM Michael Neale > wrote: > >> Hi Craig, glad that po

Re: GitHub webhooks, where to put smee client if Jenkins is in a container?

2019-10-24 Thread Michael Neale
would need to cook up an image with smee in it ready to go - I am not sure if one exists yet). On Thu, Oct 24, 2019 at 5:39 PM Craig Rodrigues wrote: > Michael, > > In your blog post: > > "Triggering builds with webhooks behind a secure firewall" > https://jenkins.io/blog

Subversion plugin problem

2019-08-15 Thread 'Michael Vrencur - NOAA Affiliate' via Jenkins Users
UpdateCenterConfiguration.download(UpdateCenter.java:1181) >     ... 7 more > Caused by: java.net.SocketTimeoutException: Read timed out Any suggestions on how to get around this issue? Thanks, Mike -- Michael Vrencur Ace Info Solutions, Inc. (AceInfo) Supporting NOAA Advanced Technology Branch Global

Jetty Version Update

2019-05-13 Thread Michael Hagesfeld
Our RootScan is indicating we have an out of date Eclipse Jetty version: Scan Provided Extra Information: Installed version: 9.4 Fixed version: 9.4.16.v20190411 However, when I upgraded the io and util files to 9.4.18, it is still returning the same issue. Does anyone know: * How

Why is Jenkins' SCM polling not detecting changes in the repo?

2019-04-11 Thread Michael Moser
I have set up a couple of docker containers with an experimental CI pipeline (i.e. git (or actually gogs), jenkins, portainer, plus a postgres DB). For my first project I have defined a build pipeline that is supposed to poll the repo and - if there were changes to the master branch - it

Re: Jenkins with a DB?

2019-02-18 Thread Michael Barbine
I have some solutions to this depending on what you are trying to do and would be happy to help. Feel free to send me an email with "Jenkins Question" in the subject and I we can chat. barbine.mich...@gmail.com On Friday, June 28, 2013 at 4:14:46 PM UTC-4, Michael Barbine wrote:

ConfigFiles 3.0 appears to be mangling config.xml

2018-09-03 Thread Michael Weigle
Upgraded from 2.18 to 3.0 After the upgrade, configs persist on the filesystem inside config.xml until that job is visited in the UI (presumably, config.xml is revalidated at that point and 3.0 throws the error). The attached unreadable_data message also appears in the Manage Old Data section.

Re: Pipeline when condition issue

2018-08-29 Thread Michael Fowler
gt; condition to run, but they are. Can anyone tell me what i'm doing wrong? (I > know using an expression instead of a simple equals is overkill, but this > is a simplified example to show my issue) > -Michael > > pipeline { > > // Discarded: Promote Builds When... > &

Re: Visual Studio Environment

2018-04-27 Thread Michael Small
Dave! We are using Visual Studio 2017; if possible, may I ask you to provide the actual statements in the build step bat script? The MSBuild plugin actually builds the solution without issue, however the package deploy switches do not work properly if at all, and of course works perfectly from

How to use Folder-level Shared Libraries in Declarative Jenkinsfile

2018-04-25 Thread Michael Holley
Hi All, I'm trying to figure out how to use folder-level shared libraries ( https://jenkins.io/doc/book/pipeline/shared-libraries/#folder-level-shared-libraries), but I haven't been able to find any examples or implementation documentation. I'm using global share libraries, which work just fine,

Re: [Jenkins World 2018] - Graders wanted

2018-04-13 Thread Michael Pailloncy
Hi Alyssa, I would be very happy to help. Cheers Michaël On Fri, Apr 13, 2018 at 6:09 PM, Alyssa Tong wrote: > Hello, > > I am looking for additional graders to join the Jenkins World (JW) review > committee to help grade Jenkins World 2018 SF & EU proposals. > > Time

Re: Blue Ocean UI takes 20-30 min to load

2018-03-26 Thread Michael Neale
Fantastic, thanks for testing the beta, it was really a hard one to reproduce to great to have this confirmed. On Wednesday, March 21, 2018 at 6:14:41 PM UTC+11, Andrei Gheorghiu wrote: > > Hi Vivek, > > Thank you for the update. > We switched to the experimental branch on Jenkins plugins and

Re: Bitbucket push-hook freeze on git rev-list (for some users)

2018-02-08 Thread Michael Neale
in my environment, but I downgraded from > Jira plugin 2.5.1 to Jira plugin 2.5.0 shortly after seeing the discussions > about the possibility of blacklisting Jira plugin 2.5.1. > > Mark Waite > > On Wed, Feb 7, 2018 at 5:53 PM Michael Neale <mne...@cloudbees.com > > w

Re: Bitbucket push-hook freeze on git rev-list (for some users)

2018-02-07 Thread Michael Neale
This seems related to: https://issues.jenkins-ci.org/browse/JENKINS-43106 as myself and a few others were seeing the same thing with github specifically and git rev-list - so not specific to pipeline. The JIRA dependencies are *that* powerfully bad? On Wednesday, February 7, 2018 at 9:00:06

Is it possible to retrieve historical build or user build information through API

2018-02-06 Thread Michael W
Hi, I'm trying to create a report on which builds each team member has kicked off over time. The report would have a job column, user column, and number column for number of deploys per user of that job. Does anyone know if the API supports this? I google'd some info that was 3 years old

Re: How can I inject environment variables into my groovy class?

2017-11-28 Thread Michael Pailloncy
Pipeline environment variables are not stored at the OS level. That's why you are not able to get them using *System.getenv() *(which only list OS level environment variables). But you should be able to retrieve them like any other classical environment variables : with the "${MyVar}" syntax

Re: Error with parallel pipeline

2017-11-20 Thread Michael Pailloncy
Can you share your Pipeline related plugins version please ? Originally using .each{} syntax was not working as expected, but it should be working on latest versions. Hopefully it helps. Le 17 nov. 2017 18:49, "Ramesh Bar" a écrit : > We are getting the below error with

Re: http_proxy is not taked in account in pipeline step env

2017-10-09 Thread Michael Pailloncy
Hey Aurélie, I've tested with this pipeline (derived from yours) and I'm not able to reproduce your issue : pipeline { agent any environment { http_proxy = 'http://xxx:xxx' TOTO='titi' } stages { stage('xxx') { when { expression { true } }

Re: Using params.item in agent docker section ...

2017-10-06 Thread Michael Pailloncy
Hi, To enable String interpolation, you need to use double quotes instead of simple quotes, otherwise variables are not resolved. Cheers 2017-10-06 7:53 GMT+02:00 Eric Tan : > Hi > > Is there a way to use parameters in the agent docker section like: > > pipeline { > >

Re: LDAP and systemctl jenkins restart

2017-10-04 Thread Michael Pailloncy
No, clearly it doesn't sound to be the way it should work :-) Do you see any error/exception inside Jenkins's logs when you save your LDAP configuration or during Jenkins startup ? Cheers 2017-10-03 15:55 GMT+02:00 Joaquin Henriquez < joaquin.henriq...@countercept.com>: > Hi ppl > > > > I

Re: Another CLI question

2017-10-04 Thread Michael Pailloncy
If you run this very same command directly on the Jenkins server and without reaching it through your reverse proxy, does it work ? I'm wondering if it's not related to the configuration of your reverse proxy. As described in this documentation

Re: How can i call global function defined in Jenkinsfile from inside the external groovy script loaded with 'load' step ?

2017-09-18 Thread Michael Pailloncy
IIC, this is a scope problem. To strictly answer to your question, you could convert the global function into a Closure and then pass it as parameter of *functionB*. I think something like that should work :

Re: Not able to see : Terraform Configuration option in "system configuration"

2017-09-07 Thread Michael Pailloncy
I think you are looking at the wrong place. All tools auto-installer configuration are located in the "Global Tool Configuration" page => ${JENKINS_URL}/configureTools/ Hopefully it helps :-) 2017-09-06 18:39 GMT+02:00 sanjay naikwadi : > Hi > > I have installed

Re: How to disable concurrent builds in a multibranch pipeline?

2017-09-01 Thread Michael Pailloncy
Yes, probably. Seems there are already some discussions about that here : https://issues.jenkins-ci.org/browse/JENKINS-35359 2017-09-01 20:18 GMT+02:00 Dallas Clement <dallas.a.clem...@gmail.com>: > Thanks for the tip Michael. This looks like it would work. But not very > ele

Re: How to disable concurrent builds in a multibranch pipeline?

2017-09-01 Thread Michael Pailloncy
You might be interested by this thread :-) 2017-08-31 16:58 GMT+02:00 Dallas Clement : > I know how to disable concurrent builds for a particular branch.

Re: stop deployment when build fails while using ssh plugin

2017-09-01 Thread Michael Pailloncy
Not sure to understand your issue, could you give more details plz ? Do you have logs ? Just stopping the build is not enough ? 2017-09-01 4:30 GMT+02:00 pandiyan kaliaperumal : > Hi Friends, > > Need to know to stop the deployment, while using ssh plugin when build > gets

Re: Pass variable from 1 job to other job with seperate jenkinsfiles

2017-08-29 Thread Michael Pailloncy
Hey. IIUC, this should be possible. Can you show us the content of your Jenkinsfiles please ? 2017-08-29 21:07 GMT+02:00 Werner Dijkerman : > Hi, > > I have an issue and I don't get it to work. > > I have 2 Jenkinsfiles and thus 2 jobs. With the first Jenkinsfile I set an >

Re: Unable to get login page

2017-08-29 Thread Michael Pailloncy
Hey. Have you check Jenkins logs ? 2017-08-28 15:11 GMT+02:00 phanikumar : > Hello team, > > I have developed a custom plugin and uploaded it to my Jenkins server. Now > I > am unable to get the login page for Jenkins server. I even restarted my > entire physical

Re: Moving From Parameterized Trigger Plugin to Pipelines

2017-08-24 Thread Michael Pailloncy
Hello, To load a properties file, you can install this plugin : https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+Utility+Steps+Plugin Then, you will have access to *readProperties* utility step. See https://github.com/jenkinsci/pipeline-utility-steps-plugin/blob/master/docs/STEPS.md for usage

Re: Multijob out of memory issues

2017-08-24 Thread Michael Pailloncy
The best to start here would be to try instructions on this page and analyze the resulting heapdump. 2017-08-24 8:08 GMT+02:00 Shashank Bhargav : > Hi All, > > We are facing serious out of memory

Re: How to group and sort tests and run in parallel without Parallel Test Executor Plugin

2017-08-14 Thread Michael Pailloncy
Hi, thanks for the full explanation of your use case :-) How do you keep the Groovy file containing your previous builds result ? inside an agent's workspace ? 2017-08-09 14:52 GMT+02:00 Viacheslav Dubrovskyi <dub...@gmail.com>: > Hi Michael, > > We have list of tests which I

Re: How to prevent concurrent builds across all branches in a multibranch pipeline project?

2017-08-14 Thread Michael Pailloncy
Why do you want to prevent this ? Do you have a shared resource for all your builds ? If yes, I think that this plugin will fit your needs https://wiki.jenkins.io/display/JENKINS/Lockable+Resources+Plugin 2017-08-14 12:37 GMT+02:00 Mark Allison : > I have tried to use > >

Re: Accessing a variable in shell

2017-08-08 Thread Michael Pailloncy
Oh just realized that this for loop syntax exists even in Groovy :-) (I'm used to using *each *instead of for loops) But please try using C-style for loop syntax. 2017-08-08 14:45 GMT+02:00 Michael Pailloncy <michael.paillo...@gmail.com>: > This syntax doesn't exist in Groovy : *fo

Re: Accessing a variable in shell

2017-08-08 Thread Michael Pailloncy
This syntax doesn't exist in Groovy : *for (String repoName : repoList) { ... }* The direct equivalent is : *for (String repoName in repoList) { ... }* However, it's better to use the C-style for loop syntax when using pipeline (that's why I've used it in my previous example) : for (int i = 0; i

Re: Accessing a variable in shell

2017-08-08 Thread Michael Pailloncy
The for loop is in Java syntax instead of script shell syntax here : sh """ git clone -b master git@.com:/${repoName}.git cd ${repoName} stat -t . > folderStat1.txt for (String moduleName : moduleList) { ncu -u -f "${moduleName}" } stat -t . >

Re: Jenkins Pipelines defining steps and importing pipeline library library

2017-08-06 Thread Michael Pailloncy
In case of Shared Library classes definition, steps are not directly callable (it's not the case for steps declared inside *vars* directory). Can you can try something like : *src/acme/jenkins/Utils.groovy* package acme.jenkins class Utils { static def getGradleBinPath(script, version) {

Re: Help with NotSerializableException in pipeline

2017-08-06 Thread Michael Pailloncy
It seems like there are some variables used out of their scope and some misused Groovy methods. Here is a working version, IIUC your pipeline :-) #!groovy def behatList =['AutoSuiteSet_0', 'AutoSuiteSet_1', 'AutoSuiteSet_2', 'AutoSuiteSet_3', 'AutoSuiteSet_4', 'AutoSuiteSet_5'] def

Re: rsync failed: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

2017-08-06 Thread Michael Pailloncy
t; > On Sunday, August 6, 2017 at 10:53:41 AM UTC+3, mpapo - Michael Pailloncy > wrote: >> >> ssh is asking for the password or a passphrase if the key is invalid. >> Is-there a passphrase configured for this key ? Have you tried to connect >> directly using ssh from

Re: Jenkins Centralized Job Monitoring

2017-08-06 Thread Michael Pailloncy
I'm wondering why are you not considering Jenkins agents for now ? Usually, there is a Jenkins master which schedules and monitors job execution, and agents on which the build is executed. Through Jenkins UI, you can then get the build result/logs and know which was the agent used for the build.

Re: rsync failed: ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory

2017-08-06 Thread Michael Pailloncy
ssh is asking for the password or a passphrase if the key is invalid. Is-there a passphrase configured for this key ? Have you tried to connect directly using ssh from this machine to the target one ? BTW, how do you provide credentials ? 2017-08-06 9:28 GMT+02:00 Shiran :

Re: GitHub and Bitbucket branch source UI refactoring

2017-08-04 Thread Michael Kobit
implemented support for OrganizationFolder in the Job DSL plugin. On Thursday, August 3, 2017 at 11:28:38 AM UTC-5, Tim Downey wrote: > > Hi Michael -- I finally go around to upgrading as well and am facing the > same problem. Have you worked around this? Are you just supplying the XML &

Re: Remote Access API - REST API in Jenkins

2017-07-31 Thread Michael Pailloncy
lly it helps. 2017-07-31 3:44 GMT+02:00 Pradeep Patra <smilesonisa...@gmail.com>: > > > On Monday, July 31, 2017 at 7:21:08 AM UTC+8, mpapo - Michael Pailloncy > wrote: >> >> >>> I tried it and it is asking for mode? I am not sure what is the mode I >

Re: Remote Access API - REST API in Jenkins

2017-07-30 Thread Michael Pailloncy
> > > I tried it and it is asking for mode? I am not sure what is the mode I > should provide for creating new job. I tried passing mode=create and it > did not work. > Can you share the command line which you've tried please ? > >> However, what do you mean by "for creating jobs based on a

Re: The official docker image jenkins/jenkins:lts is missing ruby

2017-07-28 Thread Michael Pailloncy
+1 IMHO even if it's required maintenance, it would be a good idea to create and maintain your own image and store it on an internal repository for many reasons (lower coupling between your builds and the parent image, build reproducibility, better performance, and so on). 2017-07-27 21:12

Re: Remote Access API - REST API in Jenkins

2017-07-28 Thread Michael Pailloncy
Remote Access API is available directly, without need to install any plugin. By accessing *http://${YOUR_JENKINS}/api* url, you should be able to see a page listing different ways to interact with it (see "Create Job"). You have also a full example here

Re: Tracking build failure in the custom pipeline wrapper step

2017-07-19 Thread Michael Pailloncy
Hello, I think this question is more related to the jenkinsci-...@googlegroups.com mailing list instead of this one. You'll have better chance of result IMHO :-) 2017-07-19 10:18 GMT+02:00 Artyom Melnikov : > Hello. I am trying to create my own pipeline step plugin.

Re: [Pipeline] Mark single step/script as UNSTABLE

2017-07-19 Thread Michael Pailloncy
To my knowledge, it's not possible to change the result of a single step. However, you can check the result code of your script and then set the result of the entire pipeline to UNSTABLE using *returnStatus* parameter, available for *sh*, *powershell* and *bat* steps

Re: throttle() in declarative pipelines

2017-07-19 Thread Michael Pailloncy
Regarding the associated documentation , *throttle* is defined as a *step* and since you are using the declarative way, have you tried something like : pipeline { agent any stages {

Re: GitHub and Bitbucket branch source UI refactoring

2017-07-11 Thread Michael Kobit
e for a multi-branch pipeline. >> >> I'll let you know if I identify key attributes which make the two cases >> behave differently. >> >> Mark Waite >> >> >> On Monday, June 26, 2017 at 10:04:00 PM UTC-6, Michael Neale wrote: >>>

Re: Jenkins Distributed Builds: Restricting users from configuring jobs with Jenkins Master's executors

2017-07-11 Thread Michael Pailloncy
By default, the master is configured with "Use this node as much as possible" : http://${JENKINS_URL}/computer/(master)/configure You can change this behavior with "Only build jobs with label expressions matching this node". In this way, the master can only be used if an explicit allocation (using

Re: Build time trend - Pipeline

2017-07-11 Thread Michael Pailloncy
Pipeline jobs are not limited to a specific agent, that's why this information is not displayed on the build time trend page. But as usual you are able to see on which agent a particular step has been executed on the build logs (Running on ... in /var/lib/jenkins/...), or by navigating to the

Re: Can I use the multibranch pipeline plugin that interacts with a user at a stage

2017-07-11 Thread Michael Pailloncy
} > stage ('test') { > steps { > echo 'test it.' > input 'Ready to go?' > } > } > stage('deploy to sit') { > steps { > echo 'push it to dev.' > } > } > stage("deploy to uat") { >

Set/change Branch description in multibranch pipelines

2017-07-10 Thread Michael Lasevich
I would like to set "description" field in automatically generated branches in Multibranch Pipeline to add some information like links to latest artifacts, links to latest generated documentation, etc. While I would settle for one standard default description for all the branches, ideally it

Re: Can I use the multibranch pipeline plugin that interacts with a user at a stage

2017-07-04 Thread Michael Pailloncy
017 09:34:51 UTC+1, paul b wrote: >> >> Brill. Thanks. I will look into it. >> >> On Tuesday, 4 July 2017 08:59:13 UTC+1, mpapo - Michael Pailloncy wrote: >>> >>> Yeah, seems like you want to use the *input* step (interaction through >>> Jenkins) : h

Re: Can I use the multibranch pipeline plugin that interacts with a user at a stage

2017-07-04 Thread Michael Pailloncy
Yeah, seems like you want to use the *input* step (interaction through Jenkins) : https://jenkins.io/doc/pipeline/steps/pipeline-input-step/ You can find a simple example here with some explanations :

Re: [blueocean] multi-platform builds with multi-stage completely parallel tracks

2017-07-03 Thread Michael Pailloncy
As far as I know, *stage* blocks inside parallel tasks are deprecated => see https://github.com/jenkinsci/pipeline-examples/blob/master/docs/BEST_PRACTICES.md#parallelism Have you tried something like : stage ("Setup") { parallel ( 'xenial': { node("xenial") {

Re: parameterised build which can set multiple values/variables from a choice

2017-07-03 Thread Michael Pailloncy
or > each environment(4 environments). Then with the 20 jobs for all the > components that would work out to be 80 jobs! Which seems excessive. > > On Sunday, 2 July 2017 13:49:15 UTC+1, mpapo - Michael Pailloncy wrote: >> >> Ok. >> IMHO, It would be better to avoid too much

Re: Can we construct a more complex slackSend notification?

2017-07-02 Thread Michael Pailloncy
ents": [ > { > "mrkdwn_in": ['text','pretext'], > "color": "#199515", > "text": "*$JOB_NAME:* <$BUILD_URL|Build #$BUILD_NUMBER>, > _microservice_ in _${clusterName}_ successfully updated.", >

Re: Pipeline job triggers another job twice

2017-07-02 Thread Michael Pailloncy
Not sure to fully understand. Can you share your Pipeline script please ? 2017-06-29 21:04 GMT+02:00 Venkata Burra : > Hi, > > > > I have a question regarding a pipeline job. > > > > I have Pipeline Job1, Pipeline Job2 and Pipeline Job3 jobs created in > Jenkins. The

Re: parameterised build which can set multiple values/variables from a choice

2017-07-02 Thread Michael Pailloncy
ers and ports. > > which I can then pass into my maven build like > mvn clean deploy -DSERVER=${server} -DPORT=${port} > > > On Friday, 30 June 2017 12:49:33 UTC+1, mpapo - Michael Pailloncy wrote: >> >> Have you tried this plugin https://wiki.jenkins.io >> /displa

Re: Can we construct a more complex slackSend notification?

2017-06-30 Thread Michael Pailloncy
Alternatively, you can create your own Pipeline method, a bit like this one : https://github.com/jenkinsci/pipeline-examples/blob/master/ pipeline-examples/slacknotify/slackNotify.groovy Since it's a simple curl, you can then directly use all the existing options/parameters offered by the Slack

Re: parameterised build which can set multiple values/variables from a choice

2017-06-30 Thread Michael Pailloncy
Have you tried this plugin https://wiki.jenkins.io/display/JENKINS/Extended+Choice+Parameter+plugin ? 2017-06-29 22:26 GMT+02:00 paul b : > Hi, > I wondered if it is possible to do a parameterised build which can set > multiple values. I would like to use the

Re: Git plugin issue in pipeline

2017-06-28 Thread Michael Pailloncy
Can you try with something like that inside your Jenkinsfile : node { deleteDir() checkout scm } Jenkins seems to be already able to retrieve your Jenkinsfile, so you don't need to give all SCM details inside it, see

Re: Trigger a job based on failure of another/upstream job

2017-06-28 Thread Michael Pailloncy
Are you using the Scripted or Declarative way to write your Pipeline ? If you are in Declarative mode, I think that you can easily do that with the *post *section => see https://jenkins.io/doc/book/pipeline/syntax#post 2017-06-28 7:06 GMT+02:00 Максим : > Hi! > Perhaps

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-26 Thread Michael Neale
to remove the "discover pull requests from [everywhere]" >> behaviors and select "Only branches that are also filed as PRs" on >> production as soon as possible. >> >> Michael Neale mentioned that one issue he had seen "does look better now >> with th

Re: Can you mark one stage as "unstable"?

2017-06-26 Thread Michael Neale
No not yet - but it is an area of research and something being actively looked into. On Tuesday, June 27, 2017 at 1:56:40 PM UTC+10, Qiang wrote: > > Hi, all, > > In pipeline job, can I make one stage "unstable"? > If I set the currentBuild.result='UNSTABLE' , then the whole pipeline >

Re: Trying to configure a RHEL7 slave yields a java.io.IOException: Illegal char in base64 code error

2017-06-26 Thread Michael Pailloncy
Do you use the same Java version on the master and agent ? Which version of Jenkins are you using ? 2017-06-26 20:17 GMT+02:00 t3knoid : > I am trying to add a RHEL7 slave in my existing configuration that is > using a Windows master. I am trying to use "Launch slave agents

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-26 Thread Michael Kobit
that I was hoping for. > > I'm going to remove the "discover pull requests from [everywhere]" > behaviors and select "Only branches that are also filed as PRs" on > production as soon as possible. > > Michael Neale mentioned that one issue he had seen "does look b

TFS Service Hook Issue

2017-06-22 Thread Michael Duan
ce%2Bhook%2Berror.png> Any help would be greatly appreciated. Thanks in advance, Michael -- 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 jenk

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-22 Thread Michael Neale
It does look better now with the new version. I confirmed running a scan didn't make anything go away. On Thursday, June 22, 2017 at 3:20:37 PM UTC+10, Stephen Connolly wrote: > > > On Thu 22 Jun 2017 at 04:29, Michael Neale <mne...@cloudbees.com > > wrote: > >&g

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-21 Thread Michael Neale
y have builds that were assuming branches were full clones, >>>> now the refspec is tightly reduced to minimize clone time. If you need a >>>> full clone you will need to add the "Advanced Clone" behaviour. >>>> b. Mercurial repositories on Bitbucket

Re: 4 month old deleted branches still not removed

2017-06-21 Thread Michael Neale
I think it is fine to expect some infrequent scanning - it probably needs to be the default though as otherwise people wire up a webhook - and end up never deleting branches. On Wednesday, June 21, 2017 at 6:49:02 PM UTC+10, Stephen Connolly wrote: > > On 21 June 2017 at 01:16, Michael

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-21 Thread Michael Kobit
ur own >>>> risk. There are additional issues to be aware when using more >>>> production-like environment: >>>> >>>> a. You may have builds that were assuming branches were full clones, >>>> now the refspec is tightly reduced to minimize clon

Re: 4 month old deleted branches still not removed

2017-06-21 Thread Michael Neale
Mark do you have a scan interval set? Should the github events include removing of branch projects? as that doesn't seem to be happening lately (since a few months). On Wednesday, June 21, 2017 at 6:13:32 PM UTC+10, Stephen Connolly wrote: > > > > On 21 June 2017 at 00:19, Michae

Re: 4 month old deleted branches still not removed

2017-06-21 Thread Michael Neale
reading the docs for folders, perhaps there is a bug from a bad assumption. a github event will not trigger a scan like the author of the folders plugin implies so it still needs to have this set even for github On Wednesday, June 21, 2017 at 6:03:03 PM UTC+10, Michael Neale wrote: > &

Re: 4 month old deleted branches still not removed

2017-06-21 Thread Michael Neale
OK on looking further - MBPs created by classic don't have this set - which seems wrong - worthy of a ticket? Ones created by blue ocean do have it set (1 day, as it turns out) via the github org folder. So this explains it, but leaves the issue of the default for creation being wrong. to

Re: 4 month old deleted branches still not removed

2017-06-21 Thread Michael Neale
On Wednesday, June 21, 2017 at 4:19:58 PM UTC+10, Stephen Connolly wrote: > > > >> >> Periodic triggers >> >> you want "periodically unless otherwise run" to be something like once a >> day/week depending on how long you can handle a missed event (which should >> be unlikely) >> >> I recommend

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Michael Neale
On Wednesday, June 21, 2017 at 3:50:06 PM UTC+10, Stephen Connolly wrote: > > > How often is a full scan? > Is that is from the scan log link - then not for 2 months or so. What triggers that? All the settings are stock. > > Orphaned items are only removed on a full scan. > > New items

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Michael Neale
Wednesday, 21 June 2017 12:57:29 UTC+10, Mark Waite wrote: > > Correct. I have some test jobs which intentionally create and destroy > branches as part of their testing, and those branches correctly disappear > shortly after the branch deletion is detected. > > On Tue, Jun 20

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Michael Neale
and obviously you aren't seeing deleted branches still show up without being cleaned up? On Wednesday, June 21, 2017 at 12:23:59 PM UTC+10, Mark Waite wrote: > > Yes, that's how mine is configured. > > On Tue, Jun 20, 2017 at 8:21 PM Michael Neale <mne...@cloudbees.com > &

Re: 4 month old deleted branches still not removed

2017-06-20 Thread Michael Neale
iod of 0 > days. > > Is theirs enabled? > > Does it have the retention period they want? > > Mark Waite > > On Tue, Jun 20, 2017 at 7:59 PM Michael Neale <mne...@cloudbees.com > > wrote: > >> Using multibranch and git/github, I am seeing projects th

4 month old deleted branches still not removed

2017-06-20 Thread Michael Neale
Using multibranch and git/github, I am seeing projects that are created for a branch be apparently marked for deletion, but never removed. There is one that hasn't been around for 4 months and shows up like this:

Re: GitHub and Bitbucket branch source UI refactoring

2017-06-18 Thread Michael Kobit
I may be able to help with this as well. On Fri, Jun 16, 2017, 17:28 Dan Tran wrote: > I will give it a spin too. > > Thanks > > -Dan > > On Friday, June 16, 2017 at 11:57:26 AM UTC-7, Kevin Burnett wrote: >> >> we'd be down to try that, yes. thanks for making these changes

Re: Jenkins 2.39 to 2.63

2017-06-17 Thread Michael Pailloncy
Not my case, but there is a trend of possible issues with community feedback of each weekly versions on the download page : https://jenkins.io/changelog/ Moreover, I would suggest you to install a LTS if you want a more stable version of Jenkins. 2017-06-17 7:52 GMT+02:00 Kishore RP

Re: sh returnStdout:true leaking deleted file handles

2017-06-07 Thread Michael Kobit
We see massive file handle leaks on a different Jenkins we have that does not use Pipeline. The leaks were on the build logs. We haven't figured out if it is a plugin or something in Jenkins core and we just dealt with it by restarting Jenkins nighty. On another instance we use pipelines

Extended Choice Parameter plugin iconlib

2017-06-06 Thread Michael Trimarchi
rendering? Regards Michael -- 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

  1   2   3   4   5   >