Skip to content

edcote/riscv-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RISC-V Continuous Integration Experiment

Jenkins Install

Use the following to install Jenkins on Ubuntu.

wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -i
## echo "deb https://pkg.jenkins.io/debian-stable binary/" >> /etc/apt/sources.list ##
apt-get update
apt-get install jenkins
service jenkins restart

Here are the required plugins (FIXME: find method for automatic install):

Job DSL Plugin

The plugin is used create Jenkins jobs (different than pipelines) using Groovy scripts. These scripts are revision controlled and unit tested in this repository. Use command gradle to run the unit tests (FIXME: currently broken).

$ sudo apt install gradle  # if needed
$ cd <path to repo>
$ gradle build

Job Pipelines

Job pipeline scripts are automatically generated by build/pipegen.py which consumes pipeline definitions in build/pipespec.json. Pipelines are stored under pipelines/ and reference build/nodelib.groovy. (FIXME: this two file solution was done for some reason or another, it probably needs a refactor).

More info on Jenkins job pipelines here.

Additional Information

A seed job in Jenkins is required to generate the revision-controlled jobs. More information on seed jobs here. The seed job for this project is in jobs/seedjob.groovy.

See JENKINS-43509 for info about authentication.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published