Jitsi
Jitsi Meet Build Automation
May 01, 2020
1 min

Jitsi Meet Build Automation using Jenkins in Ubuntu

Building jitsi-meet manually everytime you do a customization would be a waste of time. You can automate jitsi meet build process using jenkins and gitlab.

  1. Install jenkins
  apt install openjdk-8-jdk -y
  wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
  sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
  apt update
  apt install jenkins -y
  http://your_server_ip_or_domain:8080
  cat /var/lib/jenkins/secrets/initialAdminPassword
  1. Change jenkins home path to /opt/
sudo su
/etc/init.d/jenkins stop
cd /opt
mkdir jenkins
chown -R jenkins:jenkins jenkins/
sudo -u jenkins cp -r /var/lib/jenkins/* /opt/jenkins/
vim /etc/default/jenkins
change JENKINS_HOME
JENKINS_HOME=/opt/$NAME
/etc/init.d/jenkins start

  1. Generate ssh key
su jenkins
cd /opt/jenkins
mkdir .ssh
cd .ssh/
ssh-keygen

  1. Add public key to the git lab repo
https://gitlab.com/username/jitsi-meet/-/settings/repository#js-deploy-keys-settings
  1. Create free style project on jenkins and add private key there which you generated at step 3

  2. Generate secret token from build trigger section and create a gitlab webhook.

  3. Use below script to build shell

node -v
npm i
make


Tags

jitsi_meetjenkins

Related Posts

Jitsi
Implementation of Chat Feature with Jitsi Meet API
August 29, 2020
1 min