Skip to content

tcpcloud/jenkins-jobs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins jobs

This is jenkins-job-builder setup for tcpcloud Jenkins jobs.

Installation

First install jenkins-job-builder.

pip install jenkins-job-builder

Edit /etc/jenkins_jobs/jenkins_jobs.ini with access to running jenkins instance:

[job_builder]
recursive=True

[jenkins]
user=admin
password=<jenkins_admin_password>
url=http://localhost:8080

Clone repository, fix variables (especially defaults.yaml), possibly setup projects as you like. git grep -e FIXME -e example is your friend :-)

Finally you can create jenkins jobs.

jenkins-jobs --flush-cache update `pwd`

Available jobs

Aptly

aptly-publish-nightly Run aptly-publisher to update nightly publish from latest snapshots. Executed after aptly-snapshot-repo
aptly-promote-{name} Run aptly-publisher to promote snapshots/packages from source publish to target (eg. nightly -> testing)
aptly-diff-{name} Run aptly-publisher to diff changes between publishes
aptly-snapshot-repo Create snapshot of given repository
aptly-cleanup-snapshots Cleanup old snapshots which are not used for any publish. Executed after aptly-publish-nightly

For more informations, see Aptly and aptly-publisher.

Debian package builds

Following jobs are using jenkins-debian-glue (which uses cowbuilder) to build packages.

debian-build-{cowbuilder_namespace}-{name}-source Build source package from Git repository
debian-build-{cowbuilder_namespace}-{name}-binary Build package from source package. Executed after *-source build
debian-build-{cowbuilder_namespace}-{name}-upload Upload binary package into Aptly repository. Executed after successful *-binary build
debian-build-{cowbuilder_namespace}-{name}-upload-ppa Upload source package into Launchpad PPA repository (to be built by Launchpad). Executed after successful *-binary build

For more informations see:

Contrail package builds

contrail-build-{name}-source Build source package using magical contrail_build_source.sh script
contrail-build-{name}-binary Use jenkins-debian-glue to build binary package. Executed after *-source build
contrail-build-{name}-upload Upload binary package to Aptly. Executed after *-binary build
contrail-build-{name}-upload-ppa Upload source package to Launchpad PPA repository. Executed after *-binary build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages