/sesci

SUSE Enterprise Storage CI related code

Primary LanguagePythonApache License 2.0Apache-2.0

sesci

Jenkins jobs configs can be found in jjb for jenkins job builder or jenkins/job-dsl for Jenkins Job DSL plugin.

Copy jjb/mkck/jenkins_jobs.ini.orig file to your-jenkins.ini and add credentials.

cp jjb/mkck/jenkins_jobs.ini.orig storage-ci.ini
# edit storage-ci.ini
virtualenv v
. v/bin/activate
pip install jenkins-job-builder
jenkins-jobs --conf storage-ci.ini update jjb/mkck-trigger.yaml

Deleting jobs correspondingly:

jenkins-jobs --conf storage-ci.ini delete --path jjb/mkck-trigger.yaml [name of job]

Notice: if jenkins is using https, make sure to add certificate, for example:

cat /usr/share/pki/trust/anchors/SUSE_Trust_Root.crt.pem >> v/lib/python*/site-packages/certifi/cacert.pem