Quantcast

[JIRA] (JENKINS-15343) Unable to use Conditional BuildStep Plugin with Testlink Plugin

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15343) Unable to use Conditional BuildStep Plugin with Testlink Plugin

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Affects Versions: current
Assignee: Bruno P. Kinoshita
Components: testlink
Created: 28/Sep/12 3:37 AM
Description:

Unable to use Conditional BuildStep Plugin with Testlink Plugin

Testlink Plugin does not appear as a build step.

Need to be able to optional run automated tests using Testlink plugin based on a parameter defined at run time

Is this the cause of the issue?
If you're not able to add the builder of your choice within a conditional build step (because it's not available within the dropdown), then this is likely because the builder does not provide a @DataBoundConstructor constructor and/or the Descriptor does not extend hudson.tasks.BuildStepDescriptor. For non programmers: the plugin you would like to use does not yet follow the newest Jenkins coding guidelines

Environment: Testlink 1.9.3, Testlink-Jenkins Plugin 3.1.7, Conditional BuildStep Plugin 1.1, Windows XP
Project: Jenkins
Priority: Minor Minor
Reporter: Nigel McAdam
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15343) Unable to use Conditional BuildStep Plugin with Testlink Plugin

JIRA noreply@jenkins-ci.org
Change By: Bruno P. Kinoshita (16/Oct/12 1:50 PM)
Status: Open In Progress
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15343) Unable to use Conditional BuildStep Plugin with Testlink Plugin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

You're right indeed.

The conditional build step plugin looks for BuildStepDescriptor at [1] and maybe in other places too. I'll change the testlink-plugin code and will run some preliminary tests.

Thanks for reporting!

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15343) Unable to use Conditional BuildStep Plugin with Testlink Plugin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
 
Bruno P. Kinoshita edited a comment on Bug JENKINS-15343

You're right indeed.

The conditional build step plugin looks for BuildStepDescriptor at [1] and maybe in other places too. I'll change the testlink-plugin code and will run some preliminary tests.

Thanks for reporting!

[1] https://github.com/jenkinsci/conditional-buildstep-plugin/blob/master/src/main/java/org/jenkinsci/plugins/conditionalbuildstep/lister/DefaultBuilderDescriptorLister.java#L51

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15343) Unable to use Conditional BuildStep Plugin with Testlink Plugin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Code changed in jenkins
User: Bruno P. Kinoshita
Path:
pom.xml
src/main/java/hudson/plugins/testlink/TestLinkBuilderDescriptor.java
src/main/java/hudson/plugins/testlink/util/TestLinkHelper.java
http://jenkins-ci.org/commit/testlink-plugin/4699a45e6f4e49481b53f6bd661c4932221d99df
Log:
[FIXED JENKINS-15343] Using BuildStepDescriptor instead of Descriptor<Builder>.
This should make the plugin compatible with other plug-ins, such as
Conditional Build Step.

The Jenkins parent version has been updated from 1.399 to 1.466, as the
BuildStepDescriptor requires at least 1.150 (as per javadocs). And 1.466
is the current version used in the mvn hpi:create task.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15343) Unable to use Conditional BuildStep Plugin with Testlink Plugin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
Change By: SCM/JIRA link daemon (16/Oct/12 3:38 PM)
Status: In Progress Resolved
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15343) Unable to use Conditional BuildStep Plugin with Testlink Plugin

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Fixed in 3.1.8

Change By: Bruno P. Kinoshita (29/Oct/12 6:05 PM)
Status: Resolved Closed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...