Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.21 KB

README.md

File metadata and controls

40 lines (24 loc) · 1.21 KB

Update protocol

This protocol is thought to guide the Jenkins instance update for the Wikidata bots

Installation

Prerequisites:

  • Python (3.8 was used in our case)
  • pip:
    sudo apt-get update
    sudo apt-get install pip
  • Java (e.g.: Open Java Development Kit (OpenJDK)) find at "Installation of Java"

Jenkins and virtualenv:

Testing the workspace

Import GeneWiki bots

  • Set up Jenkins jobs in accordance to the original Wikibots (e.g.: with the Jenkins Import Plugin) and the desired GitHub repo

Troubleshooting

  • make sure python version for virtualenv in the Jenkins Job's execute shell alings with the python version on the server
  • check OS, commands like "source" needed to be changed to "."
  • In case "virtualenv -p python38 venv" leads to permission errors, run:
cd /var/lib/jenkins/workspace/ 
sudo chown -R jenkins:jenkins *