Homec4science

Simple CI for the users

Authored by aubort on Mar 22 2018, 10:37.

Description

Simple CI for the users

Summary:
Add a button on a repo that will:

  • Create Jenkins pipline job
  • Harbormaster build plan
  • Herald commit rule

Configure the Application by adding this to conf/custom/myconfig.conf.php

'jenkins.url' => 'https://scitassrv18.epfl.ch/jenkins/',
'jenkins.user' => 'admin',
'jenkins.token' => 'token_from_jenkins',
'jenkins.repo_cred' => 'admin_creds_for_c4science', // id of jenkins credentials

for repo_cred, create a credential on jenkins with the c4science admin user information, so jenkins can access all repositories.

Test Plan:

  • Go to a repo
  • Have a Jenkinsfile
  • Click the button
  • Check that there's a job on Jenkins Blue

Maniphest Tasks: T1245, T632, T882

Differential Revision: https://c4science.ch/D147

Details

Committed
aubortMar 22 2018, 10:38
Pushed
aubortMar 22 2018, 10:38
Differential Revision
Restricted Differential Revision
Parents
rPHd8906766989e: upstream added an intermediade method to access changesets which can be cached
Branches
Unknown
Tags
Unknown