Re: Jenkins multi-instance architecture
I could, but quantity of slaves growths really fast. I have few minor Teams, that are interested only in one, of those "mini-Jenkinses" And lastly: I have different networks: some devices are in very restricted networks, and it is easier to open one conection between Jenkinses, than many I just need something, that triggers job on separate Jenkins - already found http-build-trigger plugin, but I lack solution for returning the remote job's result. W dniu piątek, 25 maja 2018 17:55:03 UTC+2 użytkownik slide napisał: > > Why do you want to have it on separate Jenkins instances? It seems like > something you could do with a single Jenkins master and multiple agents as > you already have. > > On Fri, May 25, 2018 at 8:22 AM Tomasz Szandała <tomasz@gmail.com > > wrote: > >> Greetings, >> I am try to scale my Jenkins by splitting the jobs into few, smaller >> Jenkinses. >> The reason: I work in a company that tests software on embedded hardware >> (each device is on slave). >> I'd like to have one prime-master, that gets the requests from user, runs >> pipeline and in pipeline, depends on e.g. node name, it delegates step to >> other Jenkins, dedicated for this case. >> >> I could do it using scripted pipeline, that send http request, but maybe >> there is something better... >> >> -- >> 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-use...@googlegroups.com . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/9a13a4ef-a786-4918-9d5d-5ce7cb0f0c65%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/9a13a4ef-a786-4918-9d5d-5ce7cb0f0c65%40googlegroups.com?utm_medium=email_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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 https://groups.google.com/d/msgid/jenkinsci-users/bd17a3c9-50e0-4f36-8c67-b451dcde7e8c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Jenkins multi-instance architecture
Greetings, I am try to scale my Jenkins by splitting the jobs into few, smaller Jenkinses. The reason: I work in a company that tests software on embedded hardware (each device is on slave). I'd like to have one prime-master, that gets the requests from user, runs pipeline and in pipeline, depends on e.g. node name, it delegates step to other Jenkins, dedicated for this case. I could do it using scripted pipeline, that send http request, but maybe there is something better... -- 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 https://groups.google.com/d/msgid/jenkinsci-users/9a13a4ef-a786-4918-9d5d-5ce7cb0f0c65%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Picky success criteria in pipeline
Greetings All, I am trying to go from build flow to Pipeline(and Jenkins2.x), but I have encountered an issue: I have complicated workflow, that should cause deploy. But deploy requirements are fluent. Let's say I have something like this: I need all green ones to be requirements, but yellow ones to be perfomed, but not mandatory success full in order to start blue one. I was thinking about: each job editting some kind of map ["jobA": "SUCCESS", "jobB": "FAILURE"] or in properties file. But how can I ensure concurrency? Kind regards, Tomasz P.S. Keep in mind that requirements can change, so try / catch are too static. -- 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 https://groups.google.com/d/msgid/jenkinsci-users/5964a845-594e-4cd0-8b88-fac2980186e9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Jenkins configuration from script
Greetings All, I am working on new Jenkins usage model for my Team. My idea is to: 1. Create new cloud instance 2. Configure it and install Jenkins using Ansible 3. Configure Jenkins using some kind of script 4. Create and configure few projcts - I have them in DSL scripts currently. My problem is point nr 3.: I need to: a. Configure LDAP b. Add nodes c. Install needed plugins. So far I've found script to add nodes, but don't know how to use it from command line... Anyone knows where to look for guides about my problem? Thank You in advance, Tomek -- 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 https://groups.google.com/d/msgid/jenkinsci-users/4e0ab4c0-55bf-4964-bfe6-890e309e8083%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Fetching pipeline script from Git
Greetings, All, I have the following script fetched from Git using Pipeline Git plugin. Unortunatelly I'm getting the following error: *org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.workflow.cps.steps.ParallelStep at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:177)* Th fetched script: import hudson.FilePath def make_all(currentBuild){ String[] arr = getProperty("MODULES_LIST").split(","); currentBuild.description = basic_desc main_build = build("MAINBUILD") buildClosures = [] for (int i=0; i