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
Also Checkout Other Jenkins Windows Cloud Deployments:
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:
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.
Related Posts:
- How to Setup Squid Proxy Server on Google Cloud GCP (Secure Cache)
- Jenkins Monitoring: How to Monitor Your Jenkins Server and Jobs
- Jenkins Pipeline Example: Create Jenkins Pipeline Tutorial
- Jenkins Plugins: How to Use and Configure Jenkins Plugins
- AWS Lambda vs Google Cloud Functions - Which is Better ? (Pros Cons)
- Azure Blob Storage vs Google Cloud Storage - Which is Better ?