...
In the pipeline edit page, from the right side, click Show assistant. The Tasks sidebar is displayed.
In the search bar, enter whitesource. The WhiteSource task is displayed.
Click the WhiteSource Bolt task.
From the bottom right corner, click Add. The WhiteSource Bolt task is added to the pipeline.
Code Block - task: WhiteSource@20 inputs: cwd: '$(System.DefaultWorkingDirectory)'
(Optional) To specify the name of the WhiteSource project to be created in WhiteSource Essentials, add the following to the WhiteSource task. In the following example, replace
New_Project_Name
with the name you want to give your WhiteSource project:
NOTE: You will be unable to cannot change the project name after the first build run.Code Block - task: WhiteSource@20 inputs: cwd: '$(System.DefaultWorkingDirectory)' projectName: New_Project_Name
Click Save & queue.
...
To add a task to the Agent Job, click the plus (“+”) sign next to the agent job section. The Add Tasks section is displayed.
In the search bar, enter whitesource. The WhiteSource Bolt task is displayed.
Click the WhiteSource Bolt tab, and then click Add. The WhiteSource Bolt task is added to the pipeline.
(Optional) To specify the name of the WhiteSource project to be created, enter the name in the Project name field.
NOTE: You will be unable to cannot change the project name after the first build run.Click Save & queue.
...