n Thursday, January 2, 2020 at 12:20:31 AM UTC+13, Andrew Sumner wrote:
>
> A parameter that I am developing for my plugin requires two select fields,
> the second one being populated using the value selected from the dropdown
> list of the first field. My problem is that I don't
A parameter that I am developing for my plugin requires two select fields,
the second one being populated using the value selected from the dropdown
list of the first field. My problem is that I don't know how to repopulate
the list for the second field.
I've got as far as detecting the change
I need to allow users to enter a custom value into a field that is
currently using a jelly select tag, but I still want to present the list of
values as well.
I've tried the combobox tag, but that:
1. doesn't allow a default value to be set (show stopper)
2. filters the list so users
ng reflection, but I do
> not have example for it
>
> On Saturday, December 14, 2019 at 1:41:17 PM UTC+1, Andrew Sumner wrote:
>>
>> I am writing a custom parameter using the
>> SimpleParameterDefinition/ParameterValue
>> classes
>>
>> Is it possible to log to
I am writing a custom parameter using the
SimpleParameterDefinition/ParameterValue
classes
Is it possible to log to the console in buildEnvironment method?
@Override
public void buildEnvironment(Run build, EnvVars env) {
env.put("VAR1", var1Value);
env.put("VAR2", var2Value);
}
For example,
I have a plugin I've been updating to support pipeline script (with some
help from this forum - thanks guys!). During testing I discovered that the
plugin is not setting environment variables when run from a pipeline
script, but works fine in a freestyle job.
Can anyone suggest anything I
I've finally got it working, one remaining issue:
Is there any way to make optionalProperty backwards compatible with
optionalBlock? When I publish the update to this plugin I don't want
people to have to reconfigure there jobs. If not, is there any way to mark
the plugin as not backwards
Well how about pointing me at some documentation then since it's pretty
obvious by now that the code doesn't make a hell of a lot of sense to me.
I wouldn't have though that my requirements for the UI where that unusual
that it would be so hard to get it working with pipeline script.
On
Maybe I'm not looking in the right places or I just don't understand the
code but I cannot see how to get an optionalProperty to work. The only
example I can find this the ui-samples-plugin which has an overly
complicated example that I cannot follow.
1. Do you have any advice on how to
Is there any other options for creating foldable sectionsthat will also work
with the pipeline syntax generator? optionalBlock: will not add the fields
inside the foldableblock to the generated syntaxoptionalProperty: couldn’t get
that to work and I’m notsure that it will indent the child
When updating a plugin to support pipeline script, how do I handle an
optionalBlock section?
I've been using
*https://github.com/jenkinsci/pipeline-plugin/blob/master/DEVGUIDE.md#user-content-build-wrappers-1*
A user has asked me to support running my plugin on a slave but whatever I
try I keep getting an “Unable to serialize” exception. My code is now
about as basic as it gets and still failing. Any ideas?
I’m running Jenkins 2.19.1 and my plugin has a Jenkins version dependency
of
I’d like to place a validation button on the job configuration page to verify
that an ant fileset is valid AND finds something in the workspace.
Is anyone aware of any plugins that do this? Its always easier to copy someone
else’s code when dealing with this stuff
Regards
Andrew
--
so it's not been much help.
The offending bit of code is in:
https://github.com/andrew-sumner/inedo-proget-plugin/blob/master/src/test/java/com/inedo/proget/jenkins/DownloadPluginTests.java
@Rule
public JenkinsRule j = new JenkinsRule()
@Test
public void perform
lightly so it's not been much help.
My code is in:
https://github.com/andrew-sumner/inedo-proget-plugin/blob/master/src/test/java/com/inedo/proget/jenkins/DownloadPluginTests.java
@Rule
public JenkinsRule j = new JenkinsRule()
@Test
public void perform() {
HtmlPage
so it's not been much help.
My code is in:
https://github.com/andrew-sumner/inedo-proget-plugin/blob/master/src/test/java/com/inedo/proget/jenkins/DownloadPluginTests.java
@Rule
public JenkinsRule j = new JenkinsRule()
@Test
public void perform() {
HtmlPage
dded the
hpi file to the plugins folder but there is no explanation on how to do
that...
The offending bit of code is in:
https://github.com/andrew-sumner/inedo-proget-plugin/blob/master/src/test/java/com/inedo/proget/jenkins/DownloadPluginTests.java
Any idea on what I might be missing?
--
You received
so it's not been much help.
My code is in:
https://github.com/andrew-sumner/inedo-proget-plugin/blob/master/src/test/java/com/inedo/proget/jenkins/DownloadPluginTests.java
@Rule
public JenkinsRule j = new JenkinsRule()
@Test
public void perform() {
HtmlPage
lightly so it's not been much
help.
My code is in:
https://github.com/andrew-sumner/inedo-proget-plugin/blob/master/src/test/java/com/inedo/proget/jenkins/DownloadPluginTests.java
@Rule
public JenkinsRule j = new JenkinsRule()
@Test
public void perform
Am I being overly ambitious and just need to resign myself to the fact that
I need to block the entire Jenkins job when a resource is locked by another
job, and not just block the individual build step?
I've discovered that ResourceActivity is close to what I require, the
problem is that once
I'm getting this warning when saving job configuration. Is it something I
should worry about or can I safely ignore it?
May 04, 2015 12:02:21 PM org.kohsuke.stapler.RequestImpl$TypePair
convertJSON
WARNING: 'stapler-class' is deprecated:
com.inedo.buildmaster.TriggerBuildBuilder
It seems this
I'd rather keep inedo-buildmaster-plugin
https://github.com/jenkinsci/inedo-buildmaster-plugin as I've committed
some additional changes to this and created a wiki page for it. Sorry
about that - my bad. When I got an email that I had access to the Jenkins
GitHub I assumed that meant I had
The job for the inedo-buildmaster-plugin is a Maven job, but should be a
Gradle job:
https://jenkins.ci.cloudbees.com/job/plugins/job/gradle-jpi-plugin/
How can I get the changed over?
Thanks
Andrew
--
You received this message because you are subscribed to the Google Groups
Jenkins
Personal GitHub ID: andrew-sumner
Existing GitHub repository:
https://github.com/andrew-sumner/buildmaster-plugin
Regards
Andrew
Note: this is a duplicate as my last request never got any traction and I
thought I'd try again...
--
You received this message because you are subscribed to the Google
As far as I can tell the following is how I need to set the global
configuration properties before I attempt to do anything with my plugin,
however I get an exception thrown (stack trace below) on the first line:
HtmlPage p = j.createWebClient().goTo(configure);
I'm using
Could I get this added?
- your GitHub plugin name: buildmaster-plugin
- your personal GitHub ID : andrew-sumner
- The existing GitHub repository:
https://github.com/andrew-sumner/buildmaster-plugin/
--
You received this message because you are subscribed to the Google Groups
26 matches
Mail list logo