Browse Source

Update the documentation with more examples and improve make help

master
Holger Hans Peter Freyther 4 years ago
parent
commit
c87b94c0a8
  1. 10
      Makefile
  2. 10
      README

10
Makefile

@ -78,10 +78,20 @@ help:
printf " %-16s - Configure build directory\\n" $(machine)-upload;)
@echo "Server targets:"
@echo " make-server-structure - Create directories for machine/release"
@echo "Jenkins targets:"
@echo " create-jenkins-jobs-xml - Create XML files from the templates"
@echo " create-jenkins-jobs - Create the Jobs using jenkins-cli.jar"
@echo "Available variables:"
@echo " V=1 - Enable verbose command output"
@echo " SYSMOCOM_RELEASE=name - Pick branch during clone"
@echo " POKY_RELEASE=name - Pick branch during clone"
@echo " JENKINS_HOST=name - Hostname of Jenkins"
@echo " JENKINS_USER=user - Username for Jenkins"
@echo " JENKINS_PASS=pass - Password for Jenkins"
@echo " WEB_FILES=dir - Directory name for make-server-structure"
@echo " SSH_HOST=host - Hostname for ssh config"
@echo " SSH_PORT=port - Port for ssh config"
@echo " SSH_USER=username - Username for ssh config"
# Fetch/update all repos... Expand REPOS and append -update to the rule
# e.g. poky-update meta-telephony-update

10
README

@ -54,3 +54,13 @@ service for the developers.
....
command="/home/user/system-images/scripts/dispatch.sh" ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC7ZJ339MQh1ctTP3UyRQSpdjcJmG8tafd+akq6cmplSuG6j8BZH38u38Zvf7+WLvMBsluujfj7lkuPA/vzP5c6YHBBWOoT+5moRxpEdLXzUPzxA2l+1Nfgd+pd4mvmV9WI22dY6mtDXtOZxXoG8sAXZe/RoUN9MTzayJVkUtp76SW5eiVT519kQGRRaHEFvEqis9t9K5wJN/CVD7uDudpel0ljtkRh4K0KFTUJLVG7bXu5CAOc61JGoeoAb0z/0DL5Nnlxe9P9eMHKqFSqC97xovtRGy1U+2EAVuWY2N32G0VuXpIisBrx/FGxChWp3V5q5KurlkrnV/Rq3dBmKwykAYTQRMrx6mMatiAxFnVnkXYnjFwGC5AdEO2iw865TJ1riv6uZsDviVxFK79BQnkLkFBNLWdfIiYP2j4mMSGsK4xpDXUFAP7xDoVzLO1ZyaJcqF/DCyS4sZ/cYcj0lW2pKxSkFE4Mv2zO4Zwgu7t1EmKjR6SDfzZ+wfSfcjAytwA9l6NfMlLvMy1bL+b5I4UHvZJD1nxpdzByKuTZ11/6o/BN+anrj+SqsXUrD7k9q3LhdMMAJf3lxG0ZVV81FZm6jh/XsO9FwoAzXwqezeJpnaNSqb4alYl/P/7xoFuNQjxZmomROIFMdOAOL8ius+Bz28k1va93tSgkPpr6YUJBaQ== .ssh/id_rsa-new
....
Jenkins:
Use jenkins-cli.jar (which requires java) to create new jobs and views from
the templates in jenkins/job_templates/*.xml.
....
make create-jenkins-jobs SYSMOCOM_RELEASE=XXXX JENKINS_HOST=8.8.8.8 JENKINS_USER=user JENKINS_PASS=pass V=1
....
Loading…
Cancel
Save