Skip to main content

Jenkins

Jenkins is an open-source tool for automating software development processes and CI/CD. By providing a platform for managing software development processes, it helps developers automate different stages, such as building, testing, and deploying their applications.

An important feature of Jenkins is the ability to apply changes from different sources and have team members collaborate on each project. In addition, Jenkins supports many extensions and plugins to make working with different software environments and technologies easier.

One-Click Deployment​

With Arvancloud Cloud Container ready-made applications, you can set up Jenkins with just one click.

Deploy with one click

Using Jenkins​

After the application is deployed on the Arvancloud Cloud Container, you can access Jenkins through the free Arvancloud domain or your own domain (if you set it on this application).

Creating Your First Project​

In the Jenkins dashboard, you can create your first project by clicking New Item in the left sidebar. For example, we create a test project that only runs a shell script that prints "Hello World".

Based on your needs, and by installing plugins such as Git, you can implement more complex projects in Jenkins.

You can also check your project at the following path using the application console in the Arvancloud panel:

cd /var/jenkins_home/workspace/project_name

Security Settings​

When you create Jenkins, anyone with its URL can access the application. To secure this tool and define members for it, we first need to change its access settings.

To do this, first go to Manage Jenkins and select Configure Global Security. In the Authentication section, select Jenkins' own user database and check Allow users to sign up.

Note that if you don't enable Allow users to sign up and save the changes, you'll lose your access.

Then save the settings.

Now click Sign up to create an account for yourself and log in to Jenkins. Then go back to Configure Global Security and disable Allow users to sign up. Next, set Authorization to Logged-in users can do anything.

In this mode, any logged-in user has full control of Jenkins. This mode is used to require users to log in before making any changes, so you can record a log of changes.

Defining Members​

After configuring security, you can create accounts for your colleagues in Jenkins so they have access to your team projects. To do this, go to Manage Jenkins and select Manage Users. In this section, you can see, manage, or delete all Jenkins users.

You can also create a new user with Create User.

For more details, you can use the Jenkins guide.