Re: juseppe - Jenkins Update Site Embedded for Plugin Publishing Easily - support

2018-10-16 Thread Kirill Merkushev
Cool, tried to do a transfer, but it complains about insufficient rights to create a repo On Monday, 15 October 2018 22:15:55 UTC+2, Oleg Nenashev wrote: > > Hi Kirill, > > Yes, the project can be moved. I would even say it is a preference in this > case. Usually we move repos

Re: juseppe - Jenkins Update Site Embedded for Plugin Publishing Easily - support

2018-10-15 Thread Kirill Merkushev
I'm ready to move it to jenkinsci with no problem if it cat keep original naming and I will have admin rights on that repo. The process describes fork/or push model, but can it just be moved to just have a redirect from old place? What On Monday, 15 October 2018 01:15:35 UTC+2, Shaun Thompson

Re: How to define labels and executor thread count for docker-jnlp-slave?

2017-08-22 Thread Kirill
г., 14:57:07 UTC+1 пользователь Kirill написал: > > Hi folks, > > I'd like to use docker-jnlp-slave in my docker-compose to spin up slaves > for Jenkins master. > However, I didn't find a way to define the labels for the agent - seems > that there's no parameter for that. The

How to define labels and executor thread count for docker-jnlp-slave?

2017-08-21 Thread Kirill
Hi folks, I'd like to use docker-jnlp-slave in my docker-compose to spin up slaves for Jenkins master. However, I didn't find a way to define the labels for the agent - seems that there's no parameter for that. The same for executor thread count. Furthermore, the Main class of JNLP agent

How I can avoid optional plugin B being installed along with plugin A?

2017-06-16 Thread Kirill
Hi fellow Jenkins developers, I have a Jenkins plugin, which can optionally use Kubernetes plugin. However, I don't want the Kubernetes plugin to be installed along with my plugin in Jenkins. That's why I have set this in the POM file: > org.csanchez.jenkins.plugins > kubernetes >

Re: Need to use a JAR in Jenkins Groovy setup scripts

2017-06-15 Thread Kirill
That was a stupid question, apologies. All classes from my plugin should be automatically available to the setup Groovy script after it's installed. Regards, Kirill. четверг, 15 июня 2017 г., 8:39:47 UTC+1 пользователь Kirill написал: > > Hi noble Jenkins developers, > > I have

Need to use a JAR in Jenkins Groovy setup scripts

2017-06-15 Thread Kirill
Hi noble Jenkins developers, I have a few Groovy scripts that set up my Docker-shipped Jenkins. As instructed here - https://hub.docker.com/_/jenkins/ - I copy them to /usr/share/jenkins/ref/init.groovy.d/. The problem is that now I need some constants to be shared with my plugin which is a

Re: Is it possible to run Jenkins created by JenkinsRule in a separate JVM?

2017-05-03 Thread Kirill Shepitko
r than co-ordinating the class loaders, like in http://hg.netbeans.org/main/file/tip/nbjunit/src/org/netbeans/junit/NbModuleSuite.java ? 2017-05-02 17:32 GMT+01:00 Jesse Glick <jgl...@cloudbees.com>: > On Sat, Apr 29, 2017 at 5:36 AM, Kirill <yam...@gmail.com> wrote: > > As the

Re: Is it possible to run Jenkins created by JenkinsRule in a separate JVM?

2017-05-02 Thread Kirill Shepitko
to MNG-5899 > > On 2 May 2017 at 09:26, Kirill Shepitko <yam...@gmail.com> wrote: > >> Thanks for suggestion, Stephen! >> >> I added to my POM: >> >> >> >> >> maven-surefire-plugin >>

Re: Is it possible to run Jenkins created by JenkinsRule in a separate JVM?

2017-05-02 Thread Kirill Shepitko
g/surefire/maven-surefire-plugin/test-mojo.html# > classpathDependencyExcludes > > On Sat 29 Apr 2017 at 10:36, Kirill <yam...@gmail.com> wrote: > >> Hi, >> >> I wrote a unit test (following guidelines at https://wiki.jenkins-ci.org/ >> display/JENKINS/Unit

Is it possible to run Jenkins created by JenkinsRule in a separate JVM?

2017-04-29 Thread Kirill
Hi, I wrote a unit test (following guidelines at https://wiki.jenkins-ci.org/display/JENKINS/Unit+Test) to test different usage scenarios of the Swarm 3.4 slaves. So I used: - Jenkins test harness 2.21 (the latest one) - Jenkins core 2.25 - Swarm client v3.4 I wrote the test using

Re: programmatically changing the labels on a node

2017-03-07 Thread Kirill
Hi, Not sure if that's still important to you, but Jenkins.updateNode(node) (since 1.634) works fine for me. Regards, K. понедельник, 4 января 2016 г., 19:19:30 UTC пользователь Jay Berkenbilt написал: > > To answer my own question, it looks like calling > Jenkins.instance.trimLabels()

Re: Best practices for setting up a preconfigured dockerized Jenkins

2016-10-25 Thread Kirill
last turn - that's how it's defined in docs, and that's how it really worked. Regarding RabbitMQ - it appeared that if you set a PLAIN password in config.xml that you use to create the job instance, it works like a charm. Thanks again!! Regards, Kirill. четверг, 20 октября 2016 г., 9:28:03 UTC+1 по

Best practices for setting up a preconfigured dockerized Jenkins

2016-10-19 Thread Kirill
All that is needed is to open the config and save it. Looking at the config.xml I see that the password hash has changed. How to get around this without the manual config saving? Programmatic .save() doesn't help :( Regards, Kirill. -- You received this message because you are subscribed

Re: [GSoC2016] Jenkins WebUI

2016-05-31 Thread Kirill Merkushev
Samat, maybe you'll start a PR with [WIP] in title and continue work in that PR? So we could simply subscribe to new changes and see easily what happens. 2016-05-31 0:58 GMT+03:00 James Dumay : > That's some awesome work!  > > -- > You received this message because you are

Re: [GSoC2016] Jenkins WebUI

2016-05-18 Thread Kirill Merkushev
As for configuration functionality on newJob page - what kind of functionality do you want to see on this page (popup)? Build triggers can be very complicated in their configuration, so i suggest to not to place it there 2016-05-18 21:30 GMT+03:00 Kirill Merkushev <twilig...@gmail.

Re: [GSoC2016] Jenkins WebUI

2016-05-18 Thread Kirill Merkushev
- https://wiki.jenkins-ci.org/display/JENKINS/Form+Validation - https://wiki.jenkins-ci.org/display/JENKINS/Web+Method You can save validation logic on the server side (as of any client side validation logic may be overridden), but change the trigger for ajax request to keypress. 2016-05-18

Re: [GSoC2016] Jenkins WebUI

2016-04-27 Thread Kirill Merkushev
Hello, Kirill, > Not yet, but I plan to read about it this week. > I think I could get general understanding of it now, and then learn > required details down the road. > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers"

Re: [GSoC2016] Jenkins WebUI

2016-04-27 Thread Kirill Merkushev
I've developed a simple weather app to demonstrate java + js stack together using maven, jersey, webpack, marionette. It can be useful for you to start learning. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this

Re: [GSoC2016] Jenkins WebUI

2016-04-26 Thread Kirill Merkushev
Glad to see you here. Are you read about react, webpack, commonjs module system, marionette, bem? -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: textbox in jellyscript

2016-03-19 Thread Kirill Merkushev
Simply use keyboard to edit input. :) Or you should write your own js program. Jelly doesn't provide such ability at this moment. вторник, 15 марта 2016 г., 8:54:16 UTC+3 пользователь Irfan Sayed написал: > > Hello All, > > is there any way in jelly script to have a textbox and contents of the

Re: textbox in jellyscript

2016-03-19 Thread Kirill Merkushev
Very simple example of custom js https://github.com/jenkinsci/github-plugin/blob/master/src/main/resources/com/cloudbees/jenkins/GitHubPushTrigger/config.groovy https://github.com/jenkinsci/github-plugin/blob/master/src/main/webapp/js/warning.js More complex example

Re: textbox in jellyscript

2016-03-15 Thread Kirill Merkushev
Custom js at your service :) вторник, 15 марта 2016 г., 8:54:16 UTC+3 пользователь Irfan Sayed написал: > > Hello All, > > is there any way in jelly script to have a textbox and contents of the > same can drag and drop as per need. > for example, the list of IP addresses are there in text box

Re: [GSoC2016] Jenkins WebUI

2016-03-13 Thread Kirill Merkushev
All your proposals for the logs is very useful, but if it already implemented by plugins maybe just make one of them as complete solution to transform jenkins log page to new robust log page with all features described. p.s. after looking on your idea to new project page i am vote for it. But

Re: [GSoC2016] Jenkins WebUI

2016-03-13 Thread Kirill Merkushev
In each creds config there is "add" btn. When you click on it - it provides all existing credentials type in modal. But most of the time when you want to add credentials by this btn it should be only one type. For example GitHub plugin requires "secret text" only creds, but you see

Re: [GSoC2016] Jenkins WebUI

2016-03-12 Thread Kirill Merkushev
Hello, Samat! I'm one of the mentors on this GSoC and i have a few thoughts. Your proposals is very interesting! But new UI of jenkins (maintained by Gus and co) is a little bit unfinished and looks like it can be changed in any way. I propose to look at the popular bounded plugins - one of them

Showing custom ajax content from web-method in job-configuration

2016-01-17 Thread Kirill Merkushev
I'm working on https://issues.jenkins-ci.org/browse/JENKINS-24690 and i need a way to show warning on config page. Now GH Trigger haven't any job configuration, so i can't use existing form validation method. I have a some kind of workaround with creating dummy-config with content

Re: Using Guice to Inject something in build (publish) steps

2015-11-23 Thread Kirill Merkushev
I've described only builder, but the question is about any describable (customized too). Thanks for the quick answers! It really sorry that i cant do it. It can simplify unit-testing a lot. понедельник, 23 ноября 2015 г., 22:07:56 UTC+3 пользователь Kirill Merkushev написал: > > Hello! &

Using Guice to Inject something in build (publish) steps

2015-11-23 Thread Kirill Merkushev
Hello! I want to replace all static interactions in my plugin with DI. But when i use @Inject annotation on @Extension class - all works perfectly, but with any kind of Describable (which should be created same as any extension i think) it doesn't work. I have an example

Re: New Plugin hosting request: Docker Ephemeral Cloud

2015-11-18 Thread Kirill Merkushev
Think plugins can be merged without any problem with saving of current functionality for both. (With shading of both libs). One will use one type of cloud, another - own type of cloud. They can be located in separate packages and don't mix in different cases. (But please use

Re: Update one f:dropdownList when a selection is changed in another

2015-11-13 Thread Kirill Shepitko
Thanks a million, I'll start working on this. 2015-11-12 18:29 GMT+00:00 Jesse Glick <jgl...@cloudbees.com>: > On Thu, Nov 12, 2015 at 9:21 AM, Kirill <yam...@gmail.com> wrote: > > I guess this sample plugin should be updated as well. > > Pull requests welcom

Cannot get i18n message resolved on a config page

2015-11-12 Thread Kirill
tor, and would call ${descriptor.getMessage('scheduleIsAvailable')}, but Messages class doesn't provide any way to get message by key... Please help! Regards, Kirill. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this g

How to run multiple Jenkins Unit tests in parallel?

2015-11-12 Thread Kirill
.(Jenkins.java:782) at hudson.model.Hudson.(Hudson.java:82) If I run tests with default Surefire settings, it takes about 9 minutes, but at least the tests run fine. Are there any guidelines about how to make unit tests run as fast as possible? How to tune Surefire, etc. Thanks in advance! Regards, Kirill.

Re: Update one f:dropdownList when a selection is changed in another

2015-11-10 Thread Kirill
t executed :( And there are no errors reported. Regards, Kirill. среда, 4 ноября 2015 г., 21:10:43 UTC пользователь Stephen Connolly написал: > > The doCheckArtifact() method returns a FormValidation which gets rendered > as a HTML response that gets injected into the page in the validation

Re: Update one f:dropdownList when a selection is changed in another

2015-11-04 Thread Kirill
.html says that one can use " "updateListBox" function, defined in hudson-behavior.js". This function doesn't seem to be there (https://github.com/jenkinsci/jenkins/blob/master/war/src/main/webapp/scripts/hudson-behavior.js?source=cc). Looks like the Javadoc is wrong? Regar

Re: [proposal] coding style for core (jenkins 2.0?)

2015-10-26 Thread Kirill Merkushev
example moderate checkstyle: https://gist.github.com/lanwen/96feea5efdbb4ee86cad понедельник, 26 октября 2015 г., 18:24:19 UTC+3 пользователь Kanstantsin Shautsou написал: > > Every time i open core code to fix something my eyes become red because of > unreadable code. The same i heard many

Re: [Plugin Hosting Request]

2015-09-27 Thread Kirill Merkushev
Just for my interest - why not sonar plugin, but jenkins sonar plugin? четверг, 24 сентября 2015 г., 16:49:44 UTC+3 пользователь Tatiana Didik написал: > > Hello, > > > I’ve developed a new Jenkins plugin allows to integrate SonarQube with > Gerrit. This plugin can send Sonar report to Gerrit

Strange rendering of descriptorRadioList

2015-09-04 Thread Kirill
t;) would be able to find this radio button (as it's coming from some wrapper package from Jenkins, not from original HtmlUnit), but guess what? It doesn't. It wants "removeme40_buildStatusUpdateOption". Am I doing something wrong? And why is that "removeme40" added to the na

Plugin image in job's Jelly config

2015-08-24 Thread Kirill
Hi all, Is it possible to show an image from a particular plugin on job's configuration page? I looked at https://jenkins-ci.org/maven-site/jenkins-core/jelly-taglib-ref.html, but there doesn't seem to be a Jelly tag for this. I tried to use smth like img

Re: Plugin Hosting Request: job-dsl-promotions-plugin

2015-08-03 Thread Kirill Merkushev
yep, why not to pr this to original plugin? It can be in separate package and have optional dependency понедельник, 3 августа 2015 г., 10:01:03 UTC+3 пользователь Dennis Schulte написал: Hello, I would like to add our plugin to the Jenkins plugin list. - URL:

Re: UI changes branch progress report Day 1

2015-07-23 Thread Kirill Merkushev
can you build additional docker container or/and jenkins instance with ability to view configuration, but without ability to do build and save something for new UI changes? To view and test latest version? четверг, 23 июля 2015 г., 17:45:06 UTC+3 пользователь Kohsuke Kawaguchi написал: I'm

Re: Jenkins UX

2015-07-21 Thread Kirill Merkushev
https://wiki.jenkins-ci.org/display/JENKINS/Collapsing+Console+Sections+Plugin - looks a little bit ugly, but it close to what i mean. I mean sections like in travis, for each step out from the box четверг, 16 июля 2015 г., 19:03:49 UTC+3 пользователь Gus Reiber написал: As threatened, but at

Re: Jenkins UX

2015-07-18 Thread Kirill Merkushev
Agree with Kostya. Its better than we already have, but no so useful as it may be. For example - job configuration page. You split every part to separate block. But it don't split user context completely. Why not to go deeper and split every part to separate tab. (As it done in TC or bamboo -

How to get Jenkins system log in unit test?

2015-07-03 Thread Kirill
sys log in test? I need to verify some output. Regards, Kirill. -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com

Re: Is it possible to assign id or name to select rendered from Jelly's dropdownList?

2015-07-02 Thread Kirill
) at org.jvnet.hudson.test.JenkinsRule$WebClient.getPage(JenkinsRule.java:1956) In a weird way, inability to load this JS resource interrupts the test with exception. Regards, Kirill. суббота, 27 июня 2015 г., 17:16:57 UTC+1 пользователь Jesse Glick написал: On Sat, Jun 27, 2015 at 2:41 AM, Kirill yam

Re: Unit test harness - cannot add local plugin for test

2015-07-02 Thread Kirill
, so I attached it to acceptance-test-harness component. Hope that's OK. Regards, Kirill. среда, 1 июля 2015 г., 18:40:38 UTC+1 пользователь Jesse Glick написал: On Wed, Jul 1, 2015 at 11:36 AM, Kirill yam...@gmail.com javascript: wrote: So I added plugins/my-plugin directory into my Maven

Unit test harness - cannot add local plugin for test

2015-07-01 Thread Kirill
Hi, I tried to follow advice in https://wiki.jenkins-ci.org/display/JENKINS/Unit+Test: @WithPlugin(NameOfPlugin) Installs the specified plugin before launching Jenkins in the test. For now, this has to be one of the plugins statically available in resources /plugins/NAME. I need to add

Unexpected InterruptedException's in Thread.sleep()

2015-05-08 Thread Kirill
manual job cancellation or Jenkins shutdown. Any help is much appreciated!!! Regards, Kirill. -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev

Re: Unexpected InterruptedException's in Thread.sleep()

2015-05-08 Thread Kirill
Also, the checkbox Abort the build if it's stuck is unchecked. There's nothing in job's config that would obviously cause build's interruption. -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop

Re: PeriodicWork execution schedule and Jenkins restart

2015-04-14 Thread Kirill
Thanks a million! вторник, 14 апреля 2015 г., 15:11:54 UTC+1 пользователь Jesse Glick написал: On Tue, Apr 14, 2015 at 10:01 AM, Kirill yam...@gmail.com javascript: wrote: Does Jenkins somehow plan when the task should be executed or relies on smth simple like plain Java timers

PeriodicWork execution schedule and Jenkins restart

2015-04-14 Thread Kirill
. Will the task never get executed? Regards, Kirill. -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view

My build summary page loses data or Few questions about Action lifecycle

2015-03-20 Thread Kirill
remains (without transient stuff). Is this correct? Are there any guidelines about how to use Actions properly? Regards, Kirill. -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop receiving emails from

Re: How to prevent saving project's configuration if there are configuration failures?

2015-03-19 Thread Kirill
Thanks a million! 100% clear now. среда, 18 марта 2015 г., 17:10:37 UTC+2 пользователь Jesse Glick написал: On Tue, Mar 17, 2015 at 6:36 PM, Ulli Hafner ullrich...@gmail.com javascript: wrote: I don’t think that this is possible. Correct:

Re: How does Jenkins test harness run the tests?

2015-03-17 Thread Kirill
Thanks a million, Jesse! Your suggestion about JenkinsRule being a @ClassRule rather than a @Rule was a shot in the bulls eye! I changed @ClassRule to @Rule and it works fine! Regards, Kirill. пятница, 20 февраля 2015 г., 20:40:23 UTC пользователь Jesse Glick написал: On Thu, Feb 19, 2015

How to prevent saving project's configuration if there are configuration failures?

2015-03-17 Thread Kirill
Hi folks, I added few mandatory fields to my build step's config.jelly with the validation that ensures validation errors appearance if mandatory fields are empty. Is there a way to prohibit saving the job if it's configuration contains validation errors? Regards, Kirill. -- You received

Re: Jenkins plugin's classloader isolation

2015-02-26 Thread Kirill
, Kirill. пятница, 20 февраля 2015 г., 20:50:48 UTC пользователь Jesse Glick написал: On Fri, Feb 20, 2015 at 10:09 AM, ejo...@gmail.com javascript: wrote: This is similar to the XmlFile problem we located but here we can not set the XStream class loader Do not really follow your example

Re: How can I customize build details page?

2015-02-20 Thread Kirill
or redefine the sequence of those sections? It's probably not straightforward and not even a good idea. четверг, 19 февраля 2015 г., 12:55:17 UTC пользователь Kirill написал: Hi, I'm new to Jenkins plugin development. Looks like plugins like Git or Maven plugin are able to add stuff to build's

How does Jenkins test harness run the tests?

2015-02-19 Thread Kirill
? Is https://github.com/jenkinsci/acceptance-test-harness a newer and better alternative? I volunteer for documentation update if I understand how this thing works under the hood :) Regards, Kirill. -- You received this message because you are subscribed to the Google Groups Jenkins Developers group

How can I customize build details page?

2015-02-19 Thread Kirill
on build's details page if there's summary.jelly defined for extension (Action). Is this correct? That question #1. Question #2 is - can I alter other summary sections (like Changes), created by other plugins used in the build? Regards, Kirill. -- You received this message because you

Add a left hand side link for a job, powered by a particular BuildStep

2015-02-10 Thread Kirill
; } } No surprize - it didn't work. The only way out that I see is to use MyLinkActionFactory with any top-level item, but that will probably seriously slow down the Jenkins - and then somehow check whether it uses my Builder or not.:( Any other more elegant solutions, people? Regards, Kirill. -- You

Re: Add a left hand side link for a job, powered by a particular BuildStep

2015-02-10 Thread Kirill
Thanks a million, Vincent! This worked like a charm. Kirill. вторник, 10 февраля 2015 г., 18:39:54 UTC пользователь Vincent Latombe написал: Hi, In the #perform, method of your Builder, create an instance of your Action and add it to the Build object. In your case, I don't think you

Jenkins plugin's classloader isolation

2015-02-06 Thread Kirill
/display/JENKINS/Plugin+Structure. Will there be a problem when both plugins' extensions are used in the same Jenkins job (build steps)? Regards, Kirill. -- You received this message because you are subscribed to the Google Groups Jenkins Developers group. To unsubscribe from this group and stop

Re: Jenkins plugin's classloader isolation

2015-02-06 Thread Kirill
So you actually say that plugins share their libraries unless the child-first classloading is defined? That's odd. For example, many plugins use Apache Commons or Guava, or some XML parsing libs. If they'd share their libs, every Jenkins instance would be a JAR hell - but it's not. -- You

Re: Jenkins plugin's classloader isolation

2015-02-06 Thread Kirill
Thanks for a very descriptive answer, Jesse. Actually the library XX is our internal library, so it's definitely not among the Jenkins core libs. The problem is that the users of Plugin B recently started to complain that they regularly get errors java.lang.ClassCastException:

What is the right way to get configured tools at Jenkins master?

2012-03-15 Thread Kirill Evstigneev
I'm developing a plugin creating slaves. It needs to configure tools at the slave. It does that by setting the corresponding NodeProperties. ToolLocationNodeProperty require tool descriptor, name and location. Tool descriptor and name are to be configured at the Jenkins master. The configured