• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How To Create Freestyle project/job in Jenkins

  • 00:36 cd /var/lib/jenkins/workspace/
  • 00:43 ip a
  • 00:54 systemctl restart jenkins.service
7051

To Create Freestyle project/job in Jenkin

Introduction of Jenkins

Jenkins is an open-source automation tool written in Java with plugins designed for Continuous Integration. Jenkins builds and tests your software projects continuously, making it easier for developers to integrate changes to the project and for users to get a fresh build. The tool also enables you to continuously deliver your applications.

Procedure

Step 1: Check the IP address by using the below command

[root@linuxhelp ~]# ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:0c:29:b8:f7:db brd ff:ff:ff:ff:ff:ff
    inet 192.168.6.122/23 brd 192.168.7.255 scope global noprefixroute ens33
       valid_lft forever preferred_lft forever
    inet6 fe80::20c:29ff:feb8:f7db/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Step 2: Restart Jenkins server by using the below command

[root@linuxhelp ~]# systemctl restart jenkins.service 

Step 3: Search Jenkins server IP address and port number as shown in the below image

snap 1

Step 4: This is the Login page of Jenkins

snap 2

Step 5: This is the dashboard of Jenkins

snap 3

Step 6: Click New item to create a new project

Step 7: Enter the item name (projectName)

Step 8: Select freestyle project and click ok

Step 9: This is the dash board of the project. Now save and exit as shown in the below image snap 4

Step 10: Move to the terminal

Step 11: Change the directory to Jenkins default workspace location by using the below command

[root@linuxhelp ~]# cd /var/lib/jenkins/workspace/ 

Step 12: Long list the workspace using the below command

[root@linuxhelp workspace]# ls -la

total 4
drwxr-xr-x.  2 jenkins jenkins    6 Jul  2 06:06 .
drwxr-xr-x. 16 jenkins jenkins 4096 Jul  2 06:08 ..

Step 13: There is no workspace found

Step 14: Go to Jenkins web console again

Step 15: Now click build now

Step 16: This is the page of console output snap 5

Step 17: Move to the workspace location to check whether the project is successfully created.

Step 18: Then long list the default work space location

[root@linuxhelp workspace]# ls –la

total 4
drwxr-xr-x.  3 jenkins jenkins   26 Jul  2 06:12  .
drwxr-xr-x. 16 jenkins jenkins 4096 Jul  2 06:08  ..
drwxr-xr-x.  2 jenkins jenkins    6 Jul  2 06:12 'Test project'

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to Create Freestyle project/job in Jenkins. Your feedback is much welcome.

Tags:
caden
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

What is Jenkins?

A

Jenkins is a self-contained, open-source automation server that can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software. Jenkins can be installed through native system packages, Docker, or even run standalone by any machine with a Java Runtime Environment (JRE) installed.

Q

What are the features of Jenkins?

A

It is a free and open-source automation tool
Jenkins provides a vast number of plugins
It is easy to set up and install on multiple operating systems
Provides pipeline support
Fast release cycles
Easy upgrades

Q

What is a CI/CD pipeline?

A

Continuous integration and continuous deployment (CI/CD) pipelines define the steps involved in delivering a new version of the software.

Q

What is the default location of workspace in Jenkins?

A

/var/lin/jenkins/workspace

Q

Name the three different types of pipelines in Jenkins?

A

CI/CD pipeline
Scripted pipeline
Declarative pipeline

Related Tutorials in How To Create Freestyle project/job in Jenkins

Related Tutorials in How To Create Freestyle project/job in Jenkins

How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
How to install Xrdp Server (Remote Desktop) on Oracle Linux 8.5
Oct 17, 2022
How to install and update OpenSSL on Debian 11.3
How to install and update OpenSSL on Debian 11.3
Oct 21, 2022
How to Install and Configure Mega in Linux
How to Install and Configure Mega in Linux
Jul 19, 2016
How to use Aureport command on Linux
How to use Aureport command on Linux
Nov 28, 2017
How to install Development tools on Linux
How to install Development tools on Linux
Jun 12, 2018
How to Install mod_ssl and SSL certificate on Oracle Linux
How to Install mod_ssl and SSL certificate on Oracle Linux
Dec 30, 2021
How to install Nextcloud on Ubuntu 22.04 version
How to install Nextcloud on Ubuntu 22.04 version
Jun 23, 2023
How to install ClipGrab in Linux
How to install ClipGrab in Linux
Jul 16, 2016

Related Forums in How To Create Freestyle project/job in Jenkins

Related Forums in How To Create Freestyle project/job in Jenkins

Linux
jayce class=
shasum command not found
May 5, 2017
Linux
stephan class=
How to list all samba users
Jan 12, 2018
pv command
muhammad class=
pvcreate command not found error
May 9, 2017
Linux
henry class=
Starting NFS daemon: rpc.nfsd: writing fd to kernel failed: errno 111 (Connection refused)
Apr 25, 2017
ifconfig command
jackbrookes class=
what is the location of the ifconfig program on your machine?
Jan 4, 2018
Linux
baseer class=
single command to apply setfacl for multiple user at a time
Jan 23, 2018
Linux
beulah class=
What does mean by 0 0 value in fstab file
Jan 2, 2018
CentOS
mason class=
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Nov 20, 2018

Related News in How To Create Freestyle project/job in Jenkins

Related News in How To Create Freestyle project/job in Jenkins

Anbox, the Android-to-Linux tool the developers have been waiting for
Anbox, the Android-to-Linux tool the developers have been waiting for
Apr 17, 2017
Linus Torvalds stops signing Linux kernel RC tarballs
Linus Torvalds stops signing Linux kernel RC tarballs
May 17, 2017
Capsule8 Launches Linux-Based Container Security Platform
Capsule8 Launches Linux-Based Container Security Platform
Feb 14, 2017
Symantec updates Management console product
Symantec updates Management console product
Nov 22, 2017
Latest Linux driver release feature seven AMD Vega
Latest Linux driver release feature seven AMD Vega
Mar 23, 2017
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
A Newer and a Faster Window Manager for Tina (Linux Mint 19.2)
Apr 9, 2019
Microsoft makes its Azure App service now available on Linux Systems
Microsoft makes its Azure App service now available on Linux Systems
Sep 7, 2017
Docker friendly Alpine Linux gets hardened Node.js
Docker friendly Alpine Linux gets hardened Node.js
Apr 19, 2017
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.