plugin not appearing in pluginManager

45 views
Skip to first unread message

Marina Goltseva

unread,
Apr 10, 2020, 11:54:10 AM4/10/20
to Jenkins Developers

Greetings,


Recently, we have developed and published a plugin to the jenkinsci: https://github.com/jenkinsci/wallarm-fast-plugin , however we have encountered some publication problems and were hoping to get assistance with this issue.


The wallarm-fast plugin is not appearing in the /pluginmanager area of a jenkins instance 

So far we've followed the publishing guide (https://github.com/jenkins-infra/update-center2#categorizing-plugins) as well as the infra guide (https://github.com/jenkins-infra/repository-permissions-updater/). Everything is seemingly fine, but we fail to reach the end result of seeing our plugin in the built-in jenkins search page.

There may be issues due to our plugin being originally ruby and only recently being rewritten in java. We have not found any reason this may cause problems, but we cannot be sure.

From the source code at (https://github.com/jenkins-infra/repository-permissions-updater/blob/master/Jenkinsfile#L18[)|https://github.com/jenkins-infra/repository-permissions-updater/blob/master/Jenkinsfile#L18] we can see that there may be a period to building and publishing, but it's unclear how often this happens (should we just wait a few hours / days / months?).

After which step should we expect the plugin to appear?


Originally, we tried using the Jenkins Jira page: https://issues.jenkins-ci.org/browse/JENKINS-61365 . 

Any help in troubleshooting will be greatly appreciated!

Slide

unread,
Apr 10, 2020, 12:09:00 PM4/10/20
to jenkin...@googlegroups.com
Just to make sure, did you follow this documentation? 


You did the mvn release:prepare release:perform?

If so, did you release a non-beta/alpha version (meaning the version you selected did not include anything after the version).

For example, if you enter 1.0-anything I believe it will be published to the experimental update center.  

--
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-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7973daa0-ccf9-4549-a2a9-b5b2ae3ed283%40googlegroups.com.


--

Gavin Mogan

unread,
Apr 10, 2020, 12:40:15 PM4/10/20
to Jenkins Developers
But there isn't any commits in master that mention release plugin
There's no wallarm anywhere in http://mirrors.jenkins-ci.org/plugins/

So I'd guess maybe release:perform wasn't run?



Marina Goltseva

unread,
Apr 10, 2020, 1:02:19 PM4/10/20
to Jenkins Developers
Guys, thx u! 
We'll try to run release:perform again.

On Friday, April 10, 2020 at 7:40:15 PM UTC+3, Gavin Mogan wrote:
But there isn't any commits in master that mention release plugin
There's no wallarm anywhere in http://mirrors.jenkins-ci.org/plugins/

So I'd guess maybe release:perform wasn't run?



On Fri, Apr 10, 2020 at 9:09 AM Slide <slid...@gmail.com> wrote:
Just to make sure, did you follow this documentation? 


You did the mvn release:prepare release:perform?

If so, did you release a non-beta/alpha version (meaning the version you selected did not include anything after the version).

For example, if you enter 1.0-anything I believe it will be published to the experimental update center.  

On Fri, Apr 10, 2020 at 8:54 AM Marina Goltseva <mgol...@wallarm.com> wrote:

Greetings,


Recently, we have developed and published a plugin to the jenkinsci: https://github.com/jenkinsci/wallarm-fast-plugin , however we have encountered some publication problems and were hoping to get assistance with this issue.


The wallarm-fast plugin is not appearing in the /pluginmanager area of a jenkins instance 

So far we've followed the publishing guide (https://github.com/jenkins-infra/update-center2#categorizing-plugins) as well as the infra guide (https://github.com/jenkins-infra/repository-permissions-updater/). Everything is seemingly fine, but we fail to reach the end result of seeing our plugin in the built-in jenkins search page.

There may be issues due to our plugin being originally ruby and only recently being rewritten in java. We have not found any reason this may cause problems, but we cannot be sure.

From the source code at (https://github.com/jenkins-infra/repository-permissions-updater/blob/master/Jenkinsfile#L18[)|https://github.com/jenkins-infra/repository-permissions-updater/blob/master/Jenkinsfile#L18] we can see that there may be a period to building and publishing, but it's unclear how often this happens (should we just wait a few hours / days / months?).

After which step should we expect the plugin to appear?


Originally, we tried using the Jenkins Jira page: https://issues.jenkins-ci.org/browse/JENKINS-61365 . 

Any help in troubleshooting will be greatly appreciated!

--
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 jenkin...@googlegroups.com.


--

--
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 jenkin...@googlegroups.com.

Gavin Mogan

unread,
Apr 10, 2020, 4:07:38 PM4/10/20
to Jenkins Developers
    <repositories>
        <repository>
            <id>repo.jenkins-ci.org</id>
            <url>https://github.com/jenkinsci/wallarm-fast-plugin</url>
        </repository>
    </repositories>
    <pluginRepositories>
        <pluginRepository>
            <id>repo.jenkins-ci.org</id>
            <url>https://github.com/jenkinsci/wallarm-fast-plugin</url>
        </pluginRepository>
    </pluginRepositories>

I think those tell maven where to get dependencies, not where it should be deployed, or where code is so I'm pretty sure you didn't deploy to artifactory/update center, but to github maybe?

I created a PR with the fixes I think might fix things - https://github.com/jenkinsci/wallarm-fast-plugin/pull/2

I'd also recommend a developers section, such as the following to show who is actively maintaining it, it'll show up on plugins.jenkins.io

    <developers>
        <developer>
            <id>halkeye</id>
            <name>Gavin Mogan</name>
            <email>jen...@gavinmogan.com</email>
        </developer>
    </developers>


To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/cc7557f8-8bac-4229-abbd-a63bcae42c21%40googlegroups.com.

Daniel Beck

unread,
Apr 11, 2020, 7:06:01 AM4/11/20
to JenkinsCI Developers
On Fri, Apr 10, 2020 at 5:54 PM Marina Goltseva <mgol...@wallarm.com> wrote:

The wallarm-fast plugin is not appearing in the /pluginmanager area of a jenkins instance 


Originally, we tried using the Jenkins Jira page: https://issues.jenkins-ci.org/browse/JENKINS-61365 . 

It's unlikely anyone but you will look at issues filed against your plugin.

The (almost) appropriate place to file an issue with releasing would be https://issues.jenkins-ci.org/browse/INFRA; but note that Jira is an issue tracker and not a support site. You should always ask for help here, or perhaps in chat.

Mark Kirichenko

unread,
Apr 21, 2020, 5:08:36 AM4/21/20
to Jenkins Developers
Thank you for all the suggestions! They were all helpful.

In the end it turned out that our maven installation was not set up correctly (we used an apt-get version). This created several problems that were solved by doing a clean reinstall of maven and making sure that it runs without requiring root privileges. After that it was pretty straightforward.

The issue is resolved and everything works like a charm.
Reply all
Reply to author
Forward
0 new messages