[JIRA] (JENKINS-57856) subversion list branch/tags not working with release plugin

0 views
Skip to first unread message

4rchloy@gmail.com (JIRA)

unread,
Jun 5, 2019, 8:40:02 AM6/5/19
to jenkinsc...@googlegroups.com
Arch Loy created an issue
 
Jenkins / Bug JENKINS-57856
subversion list branch/tags not working with release plugin
Issue Type: Bug Bug
Assignee: Ivan Fernandez Calvo
Components: release-plugin, subversion-plugin
Created: 2019-06-05 08:39
Environment: Jenkins version : 2.107.2
release plugin version : 2.10.1 (already tested with latest 2.10.2)
Priority: Blocker Blocker
Reporter: Arch Loy

Hi !

We use subversion plugin to get list of branches when run "build" and list existing tags into "release build".

After an update from an old Jenkins version, we can't get list of tags from SVN into "release build". It works into "classic" build process (we used it to choose branch).

The combo-box is empty, request seems OK (same as simple build, with different property name) but response is an empty JSON object. I think that's on the configuration page the subversion plugin does not register the property.

We tried to use no regex, same regex/url than on "build" svn parameter, change property name, with no effect.

 

Thanks for help !

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

kuisathaverat@gmail.com (JIRA)

unread,
Jun 5, 2019, 8:59:01 AM6/5/19
to jenkinsc...@googlegroups.com
Ivan Fernandez Calvo assigned an issue to Unassigned
Change By: Ivan Fernandez Calvo
Assignee: Ivan Fernandez Calvo

4rchloy@gmail.com (JIRA)

unread,
Jun 20, 2019, 8:41:02 PM6/20/19
to jenkinsc...@googlegroups.com
Arch Loy updated an issue
Change By: Arch Loy
Environment: Jenkins version : 2.107.2 and 2.181 (docker-hub installation)
release plugin version : 2.10.1 (already tested with latest 2.10.2)

4rchloy@gmail.com (JIRA)

unread,
Jun 20, 2019, 8:48:01 PM6/20/19
to jenkinsc...@googlegroups.com
Arch Loy updated an issue
Change By: Arch Loy
Environment:
Jenkins version : 2.107.2 and 2.181 (docker-hub installation)

release plugin version : 2.10.1 (already tested with latest and 2.10.2 )

4rchloy@gmail.com (JIRA)

unread,
Jun 20, 2019, 8:48:02 PM6/20/19
to jenkinsc...@googlegroups.com
Arch Loy updated an issue
Hi !

We use subversion plugin to get list of branches when run "build" and list existing tags into "release build".

After an update from an old Jenkins version, we can't get list of tags from SVN into "release build". It works into "classic" build process (we used it to choose branch).

The combo-box is empty, request seems OK (same as simple build, with different property name) but response is an empty JSON object. I think that's on the configuration page the subversion plugin does not register the property.

We tried to use no regex, same regex/url than on "build" svn parameter, change property name, with no effect.

 

Thanks for help !


 

EDIT : Now reproduced by installing official dockerfile (found procedure on jenkins wiki [https://wiki.jenkins.io/display/JENKINS/Installing+Jenkins+with+Docker] ), adding release plugin and it doesn't works with subversion plugin.

4rchloy@gmail.com (JIRA)

unread,
Jun 20, 2019, 8:49:02 PM6/20/19
to jenkinsc...@googlegroups.com
Arch Loy updated an issue
Hi !

We use subversion plugin to get list of branches when run "build" and list existing tags into "release build".

After an update from an old Jenkins version, we can't get list of tags from SVN into "release build". It works into "classic" build process (we used it to choose branch).

The combo-box is empty, request seems OK (same as simple build, with different property name) but response is an empty JSON object. I think that's on the configuration page the subversion plugin does not register the property.

We tried to use no regex, same regex/url than on "build" svn parameter, change property name, with no effect.

 

Thanks for help !

 

EDIT : Now reproduced at home by installing official dockerfile (found procedure on jenkins wiki [https://wiki.jenkins.io/display/JENKINS/Installing+Jenkins+with+Docker] ), adding release plugin and it doesn't works with subversion plugin.

4rchloy@gmail.com (JIRA)

unread,
Jun 27, 2019, 9:21:02 AM6/27/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 27, 2019, 9:32:03 AM6/27/19
to jenkinsc...@googlegroups.com
Oleg Nenashev assigned an issue to Unassigned
Change By: Oleg Nenashev
Assignee: Oleg Nenashev

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 27, 2019, 9:33:03 AM6/27/19
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-57856
 
Re: subversion list branch/tags not working with release plugin

I stepped down as a plugin maintainer in 2018. I do not have time for this plugin ATM, sorry

4rchloy@gmail.com (JIRA)

unread,
Jun 27, 2019, 12:17:02 PM6/27/19
to jenkinsc...@googlegroups.com
Arch Loy commented on Bug JENKINS-57856

Understand. Thanks for reply

Is the plugin dead ?

o.v.nenashev@gmail.com (JIRA)

unread,
Jun 27, 2019, 5:13:02 PM6/27/19
to jenkinsc...@googlegroups.com

I do not think so. The plugin is up for adoption, and eventually somebody will take the ownership.

There is also https://jenkins.io/projects/gsoc/2019/artifact-promotion-plugin-for-jenkins-pipeline/ which may eventually lead to a merger of Release Plugin and Promoted Builds, but it is a moon shot ATM. 

4rchloy@gmail.com (JIRA)

unread,
Jun 27, 2019, 6:11:02 PM6/27/19
to jenkinsc...@googlegroups.com
Arch Loy commented on Bug JENKINS-57856

'kay. I will try to debug, maybe it's trivial

4rchloy@gmail.com (JIRA)

unread,
Jun 27, 2019, 7:10:02 PM6/27/19
to jenkinsc...@googlegroups.com
Arch Loy commented on Bug JENKINS-57856

Made some experiments.

Looking at configuration file, both parameters definitions are same btw "normal" subversion parameter and "release".

By modifing the configuration file, use the same parameter name. Now it list my branches and tags.

 

Conclusion : the problem exists on the configuration page. It seems that on configuration, subversion plugin register our parameter. But not correctly when it comes from Release plugin.

4rchloy@gmail.com (JIRA)

unread,
Jun 29, 2019, 10:41:03 AM6/29/19
to jenkinsc...@googlegroups.com
Arch Loy commented on Bug JENKINS-57856

After some tests, I found the problem (but not the solution...) :

The subversion plugin try to find configured property by it's name into Job properties, as seen in the config.xml into <properties>. It's why the release plugin "Override build parameters" works with subversion plugin.

 

The release plugin register "release" defined properties into an <buildWrapper> (in config.xml) and that's seen by the Job class as an Action (containing properties).

So, if looking at "properties" of a given Job you can't seen Release properties.

 

Anyway, where is the bug ? Does Release plugin need to store it's properties differently ? Does jenkins Job class need to be improved ? Does subversion plugin ?

Hope my investigations help !

Reply all
Reply to author
Forward
0 new messages