Build Integration with VersionOne
Overview
These instructions walk you through configuring VersionOne to communicate BuildRun details back to work items.
Step 1: Enable Build Integration
- Login to VersionOne with a user in the System Admin role
- Click
Configuration
from theAdmin
menu - Click
System
to access the system configuration options - Under the
Enable Features
section, enableBuild Integration
by clicking the checkbox, then clickSave
Step 2: Create a Pipeline
- Click
Projects
from theAdmin
menu - Click
Pipelines
to access the build project management page - Click the
Add
button and enter a new Pipeline with the same name forTitle
andReference
, then clickSave
Step 3: Associate the Pipeline to the Work item Project
- Click
Projects
from theAdmin
menu - Click
Projects
to access the project management page - Select the project that contains the work items you want to associate to the new Pipeline
- Click the
Edit
button and select the Pipeline from thePipelines
drop-down, then clickSave
Step 4: Setup the Build Status List Type
- Click
List Types
from theAdmin
menu - Click
Build
to access the build list type management page - Click
Add
in thePipeline Status
section and add a new item with the titleIn Progress
, then clickSave
- Click
Display Fields
from theAdmin
menu - Expand the
Pipeline Run
row - Click the '+' next to
Show Values
on theStatus
row and select theIn Progress
checkbox (clicking the checkbox will automatically save this selection)
Step 5. Configuring Continuum
- Edit the pipeline you created in Section 5
-
Go to the stage you created in that pipeline, and drag
Create Pipeline Run
from theVersionOne
plugin to the top of the stage with these values:VersionOne Pipeline Name: the name of the Pipeline you created in VersionOne
Intial Status:
In Progress
Save ID in Key:
run_id
-
Drag
Set Pipeline Run Status
from theVersionOne
plugin to the bottom of the stage with these values:Pipeline Run OID:
[$ run_id $]
New Status:
Passed
Verify the configuration by committing a change in SCM. When the pipeline completes, you should see the Pipeline Run and changeset on the associated workitem. The Pipeline Run contains a link back to Continuum.