Hey all,

I have been working on an internal plugin for our company and currently 
having it working for Freestyle projects. However, I would like to update 
it to support Pipelines and have a question about Environment Variables. I 
implemented SimpleBuildStep, but according to a fellow dev (here 
<https://issues.jenkins-ci.org/browse/JENKINS-29144>) we cannot get env 
variables using SimpleBuildStep. I was instructed to implement Step 
instead, which according to that same developer, would provide env vars. 
However, I do not see any documentation around Step and BuildStep has been 
deprecated. I just need a little nudge in the right direction, not the full 
solution.  Currently, the header of our class looks like: 
public class IntrepidBuilder extends Builder implements SimpleBuildStep {

Additionally, if anyone has any experience using a plugin hosted in a 
private repo on GitHub, how would I provide our Jenkins instance with the 
correct credentials to checkout the plugin from our private repo?

Thanks,
David

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/26ed23cc-2f77-444a-9ab0-a35dfc2500e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to