How to Setup Jenkins on Windows Server in Google GCP

To install a Jenkins Windows server in Google GCP on Windows Server 2022 or 2019, the easiest and quickest way is to use our marketplace images that are available to download and come fully configured with Jenkins automation server (CI / CD).

Setup Jenkins on Windows Server in Google GCP

Jenkins on Windows Server 2019 in GCP

Jenkins on Windows Server 2022 in GCP

Getting Started

 

RDP into new server

 

Once you’re new deployment has finished booting up, you will need to RDP into the server:

 

How to RDP to Google GCP Windows Instance

 

Once logged in, you’re now ready to start setting up your new server as per the following sections.

Jenkins Setup

 

Once logged into the Jenkins server via RDP, To start using Jenkins, open the following URL using the Microsoft Edge browser on the desktop:

 

http://localhost:8080/

 

The first time you launch you will see a similar screen below. Follow the instructions to locate the initial administrator password in order to complete the setup and create a new admin account:

unlock jenkins

 

Jenkins Amin URL

 

By default, your Jenkins runs at http://localhost:8080/. This can be changed by editing jenkins.xml, which is located in the installation directory (C:\Program Files\Jenkins). This file is also the place to change other boot configuration parameters, such as JVM options, HTTPS setup, etc.

 

There are a few ways to access the Jenkins login page, either locally on the server by accessing http://localhost:8080

 

Or by the servers internal DNS host name on your internal network: http://dnshostname:8080

 

Or by using GCP instance public IP/DNS Name. 

 

Jenkins Firewall Ports

 

The Jenkins Windows GCP image comes with port 8080 configured to allow you to access the admin URL both internally and externally.

 

Depending on what you will be using the Jenkins server for, you’ll need to confirm if any firewall ports will need to be open in order for the Jenkins server to reach any resources in your environment.

 

To setup GCP firewall rules refer to – Creating GCP Firewalls

 

Support

If you have any questions about the setup of Jenkins in GCP using our Windows Jenkins image leave your comments below and we will reply within 24 hours.

Avatar for Andrew Fitzgerald
Andrew Fitzgerald

Cloud Solution Architect. Helping customers transform their business to the cloud. 20 years experience working in complex infrastructure environments and a Microsoft Certified Solutions Expert on everything Cloud.

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x