Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

How to install and configure Jenkins to build .NET apps on Red Hat Enterprise Linux

<p>&nbsp;</p> <quillbot-extension-portal></quillbot-extension-portal>

September 5, 2016
Andrew Male
Related topics:
.NETCI/CDDeveloper toolsLinux
Related products:
Red Hat Enterprise Linux

    In the process of writing my posts (#1 and #2) on .NET Core and RHEL, it was made clear to me by several friends that I had neglected to use the de facto standard for continuous integration on Linux, Jenkins. Always happy to try out new (to me) tools, I settled in for what I was assured would be a simple configuration to test out my previous work in this bastion of automation.

    What is Jenkins?

    The first order of business was to understand the difference between Jenkins and TeamCity, another popular CI platform. After 20 minutes of reading, I discovered the following crucial differences:

    • Jenkins has been around longer (though not always under the Jenkins moniker).
    • Jenkins is open source.
    • There are many plugins for Jenkins.

    Other than these three things, any noteworthy differences I found seemed to ultimately boil down to personal preference. Even so, with my research out of the way, it was off to the races!

    The Calm Before the Storm

    The installation instructions for RHEL are very straightforward, and are outlined here. I went through the process without issue, and in minutes had a working instance of Jenkins. Though I encountered no problems, I did make some notes:

    • Since I’d already installed Java for TeamCity, I skipped all listed steps related to Java.
    • Once started, the service ran for me at http://localhost:8080/
    • I have no intention of serving my Jenkins instance publicly, so I also didn’t bother opening ports in my firewall.

    The installation process left me feeling confident. It was barely more complicated than the TeamCity process of “download and run”, and also, it was more complete in how it interfaced with the system (creating its own service information was a bonus).

    All was going well, but in my years of being a developer there has been a constant theme of learning and forgetting lessons regarding hubris and/or ego. In this case, it often seems that the time I feel confident comes directly before I learn I should not have been confident.

    Jenkins Limitations

    Jumping directly from installation/configuration into setting up my first project, I created a simple C# application that outputs a randomly generated number between 0 and 100. This allowed me to replicate the TeamCity process somewhat, and gave me another reason to play around in an admittedly simplistic .NET Core project.

    Once I did, I discovered some drawbacks. They included:

    • First, I found that Jenkins does not have an option for Git integration as a build trigger out of the gate, but instead has a plugin hidden (in a truly massive list of plugins) that does the job for you.
    • Even after finding the plugin, I had trouble getting it to appear as an option, and eventually (out of frustration) opted to simply manage the git interaction through the command line build step.
    • Finally, the .NET Core command, dotnet, was inaccessible to my Jenkins installation.

    None of these issues made Jenkins unusable. But they felt foreign to me, coming as I did from a TeamCity perspective. I note them not because I think people should avoid Jenkins, but because they’re good to keep in mind if you’re using it for the first time—especially if you come to Jenkins with preconceived notions about how CI platforms operate.

    Conclusion

    At this point, I had exhausted a much larger amount of time than I’d bargained for. I decided that maybe, for the moment, I would put things on hold. Technically speaking, I had achieved my goal of installing and learning the use of Jenkins on a very basic level.

    As is usually the case on my journeys into Linux these days, I am quite certain my problems revolve around ignorance on the finer points of managing things like security and general administration. I’ll keep poking around with this until I solve it, but for now I admit that Jenkins has temporarily bested me in combat.

    For additional information and articles on .NET Core visit our .NET Core web page for more on this topic.

    Andrew Male

    Andrew Male (@AndyM84) is a senior engineer at an enterprise development company in Boston, MA. Andrew has been programming from a young age and is entirely self-taught; he has spent time in many corners of the programming world including game/VR work, agency work, and teaching development to students and adults alike. He spends most of his time working on architecture design and pursuing his favorite hobby—physics.

    Last updated: March 16, 2023

    Recent Posts

    • Protect data offloaded to GPU-accelerated environments with OpenShift sandboxed containers

    • Case study: Measuring energy efficiency on the x64 platform

    • How to prevent AI inference stack silent failures

    • Preventing GPU waste: A guide to JIT checkpointing with Kubeflow Trainer on OpenShift AI

    • How to manage TLS certificates used by OpenShift GitOps operator

    What’s up next?

     

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.