Jenkins Plugin Hosting request

63 views
Skip to first unread message

Tuyen Lieu

unread,
Oct 3, 2015, 8:57:19 PM10/3/15
to Jenkins Developers
Hi,
My project requires me to load env variables from properties files in a folder. I found out EnvFile Plugin can help it.
However, EnvFile plugin only load variables from one specific file, so I refactored and added more features. I call it "EnvFiles".
I think it may help others in struggling with their pipelines.
  • Github Repo. URL : https://github.com/ldtkms/envfiles/
  • Name of the plugin : EnvFiles
  • jenkins-ci.org username : tuyenlieukms
  • Description: This plugin allows user to specify their properties files (Java format properties) in a directory ,which they want to inject them as Environment Variables. In the near future, this plugin may evolved to manage customized environment variables as global variables. without corrupting Jenkins environment variables.
Thank to EnvFile author Anders Johansson.

Thanks,
Tuyen

Oleg Nenashev

unread,
Oct 4, 2015, 5:03:19 AM10/4/15
to Jenkins Developers
Hi Tuyen,

Did you consider https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin ?
After a brief review of your code, that plugin seems to cover all features you want to introduce in the new plugin.

Best regards,
Oleg

воскресенье, 4 октября 2015 г., 3:57:19 UTC+3 пользователь Tuyen Lieu написал:

Manuel Jesús Recena Soto

unread,
Oct 4, 2015, 5:46:21 AM10/4/15
to Jenkins Developers
I agree with Oleg.
> --
> 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/bf22371d-6c2b-4d77-8c4c-f460331f504d%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.



--
Manuel Recena Soto
* manuelrecena.com [/blog]
* linkedin.com/in/recena

Lieu Duc Tuyen

unread,
Oct 4, 2015, 1:50:49 PM10/4/15
to jenkin...@googlegroups.com
Hi Oleg,

Yes, EnvInject+Plugin is the one that I found out first.
However, EnvInject plugin only load a specific property file while my requirements is to scan through a folder and load all the properties files there.
I think EnvFile would rather suits my needs than EnvInject. That's the reason I rework on EnvFile plugin.

Thanks,
Tuyen


--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/qaAQTgg7uJM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CABa-Uodj1yO6MUWf-E2z0AhMWsU%3Dd%2Bs6DVMpnM1fAoPT4KtB%2BA%40mail.gmail.com.

Oleg Nenashev

unread,
Oct 4, 2015, 2:39:31 PM10/4/15
to Jenkins Developers
I would vote for adding such functionality into the existing plugin.
In the case of EnvInject it may be possible to introduce wildcards in existing fields.

воскресенье, 4 октября 2015 г., 20:50:49 UTC+3 пользователь Tuyen Lieu написал:

Lieu Duc Tuyen

unread,
Oct 4, 2015, 2:45:11 PM10/4/15
to jenkin...@googlegroups.com
Hi Oleg,

That's good suggestion. Maybe I should make pull request to EnvFile Plugin.

Thank you,
Tuyen

Manuel Jesús Recena Soto

unread,
Oct 4, 2015, 3:26:25 PM10/4/15
to Jenkins Developers
+1

Add a new plugin with similar features can be very confused.
> https://groups.google.com/d/msgid/jenkinsci-dev/f7122a09-22b7-4d79-8e51-db317e38cb7a%40googlegroups.com.

Oleg Nenashev

unread,
Oct 4, 2015, 4:00:05 PM10/4/15
to JenkinsCI Developers, ajoa...@gmail.com
Hi Tuyen,

EnvFile plugin seems to be a bit legacy (no releases since 2011). The feature implementation in EnvInject may find more users, because it has 10 times more installations. BTW, it's up to you. EnvFile is much more simple, so it may be better for the first contributions. The feature may be ported later.

You may also want to get the ownership of the plugin in order to introduce more features there. CC'ed Anders (the last plugin maintainer).

Best regards,
Oleg Nenashev

 


Reply all
Reply to author
Forward
0 new messages