-
Notifications
You must be signed in to change notification settings - Fork 102
Please make a new release of phabricator-jenkins-plugin #358
Comments
I'm not 100% sure but I think the maintainer needs to put
Source: https://wiki.jenkins-ci.org/display/JENKINS/Gradle+JPI+Plugin Before that, maybe also editing the (I honestly just know git, Phabricator/Phorge and Java. I don't know Jenkins at all. I don't think I can be the new maintainer.) |
Hi @jonathanbaker7 - if you have 8 minutes, a small action is required here again 💛 Then we will help in finding another maintainer... it's a promise... 😄 |
We are having the same issue. The plugin is not able to talk to Phabricator anymore. Is it possible to install the plugin directly from this repo based on a commit or are we blocked until an official release is published? |
@kislinsk I suggest to manually compile this plugin and adopt that, so you don't need to wait an official Uber release. |
Thanks @valerio-bozzolan. I have no idea how that works but I try to figure it out. :) |
I'm honestly confused as you are. From the README I see this page: https://wiki.jenkins-ci.org/display/JENKINS/Gradle+JPI+Plugin So it says that to build you have to run this:
That should create a If I do that, on gradle 4.4.1 I just get an exception |
I have to stop for today but I just managed to at least successfully build the plugin after many failed attempts on CentOS and various combinations of Gradle and OpenJDK. It finally worked on Windows with a rather old version of Gradle v5.6.4 and OpenJDK 11. |
Works for us! I deployed the built plugin via the Plugin Manager Web UI. |
Build worked fine for me: kwisatz@thufir:~/1024/projects//phabricator-jenkins-plugin - master $ ./gradlew jpi
Downloading https://services.gradle.org/distributions/gradle-4.10.3-bin.zip
..........................................................................
Welcome to Gradle 4.10.3!
Here are the highlights of this release:
- Incremental Java compilation by default
- Periodic Gradle caches cleanup
- Gradle Kotlin DSL 1.0-RC6
- Nested included builds
- SNAPSHOT plugin versions in the `plugins {}` block
For more details see https://docs.gradle.org/4.10.3/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/kwisatz/1024/projects/phabricator-jenkins-plugin/src/main/java/com/uber/jenkins/phabricator/PhabricatorBuildWrapper.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 48s
7 actionable tasks: 7 executed
kwisatz@thufir:~/1024/projects/phabricator-jenkins-plugin - master $ file build/libs/phabricator-plugin.hpi
build/libs/phabricator-plugin.hpi: Zip archive data, at least v1.0 to extract |
I also had issues building the plugin so I converted the project to a standard Maven Jenkins plugin structure. It should be buildable with just a You can find it here: https://github.com/serviceplanet/phabricator-jenkins-plugin |
PR 357 (#357) has been merged, so please make a new release, especially when this fixes CVE security bugs!
Latest release (v2.1.5) is over 2 years old now, from Jan 2021.
Ref #356 and #337
The text was updated successfully, but these errors were encountered: