Figure 5: Configuring OAuth in Jira Figure 6: Configuring branch source in the Jenkins pipeline You should see the Unlock Jenkins screen, which displays the location of the initial password. Open a Web browser and enter To set up your installation, visit The Jenkins default port is 8080. If your UFW, i.e., universal firewall, is active, allow the port below to be accessible from the intranet: sudo ufw allow 22 You can see the current status of the Jenkins service using the systemctl status jenkins command.
#HOW TO SET UP BITBUCKET INSTALL#
Sudo apt install jenkins Figure 3: Granting Bitbucket access to Jira Figure 4: Configuring OAuth in BitbucketĪfter installing Jenkins, you need to enable Jenkins service using the systemctl command, so that on every reboot, Jenkins is automatically started. Update the package index and install the Jenkins package with the following commands: wget -q -O - | sudo apt-key add. Import the GPG keys of the Jenkins repository using the following wget command and after that configure the repository for Jenkins. Update the package index and install the Java 8 OpenJDK package with the following commands: sudo add-apt-repository ppa:webupd8team/java For that we need to configure the ppa (Personal Package Archive) repository for Java 8 OpenJDK package. Since Jenkins is a Java application, the first step is to install Java. Sudo apt-get upgrade Figure 1: Creating a Bitbucket repository Figure 2: Linking Bitbucket with Jira The best practice is that whenever you deploy a server, you do an update and an upgrade with the following commands: sudo apt-get update