Publishing artifacts
To publish artifacts you add a an < artifact > to the job configuration. More information can be found on the page.
We are going to assume that the JUnit test reports are being placed in the “target/reports” folder.
Click on the Administration tab
Click on your pipeline
For each job that runs JUnit:
- Click on the job name to edit job config
- Add the source of the test artifact. For tests, choose the type of artifact as Test artifact
- Click “Save”
Uploading a flash video and displaying it as a sub-tab
Click on the Admin > Pipelines tab tab
Click on your pipeline
For each job that creates a flash video
- Click on the job name to edit the job config
- Navigate to the “Artifacts”. Add the source of the artifact. Choose the type of artifact as Build artifact. This will copy all files from the “target/reports” folder on the agent to the “Recording” folder on Go server
- Navigate to “Custom Tabs”. Add the tab name and the source of the html file. This will create a tab called “Recording” that shows the html page found at “recording/twist-recording.html” on GoCD server.