Create a plan in Bamboo for .NET applications
You can create a plan for .NET applications using the Veracode Bamboo Integration.
Before you begin:
You meet the prerequisites.
To complete this task:
-
Start Bamboo.
-
In Bamboo, create and configure a new plan.
-
Select Configure tasks.
-
On the Tasks tab, select Add task.
-
In the Task types window, select MSBuild.
-
On the MSBuild configuration page, enter values in these fields:
- In the Task description field, describe the build task.
- From the Executable dropdown menu, select the latest version of MSBuild.
- In the Project File field, enter the project solution filename.
-
Select Save.
-
On the Tasks tab, select Add task.
-
In the Task types window, select Command.
-
On the Command configuration page, enter the following information:
-
In the Task description field, describe the precompilation task.
-
From the Executable dropdown menu, select ASPNetCompiler.
-
In the Argument field, enter these arguments, replacing the example text with names specific to your application:
{WebgoatNet.zip} ${bamboo.build.working.directory}\PrecompiledWeb\WebGoat.NET\bin\
-
-
Select Save.
-
On the Tasks tab, select Add task.
-
In the Task types window, select Command.
-
On the Command configuration page, enter this information:
-
In the Task description, describe the task of zipping files for upload to Veracode.
-
From the Executable dropdown menu, select 7ZIP.
-
In the Argument field, enter this argument:
-p "WebGoat" -v "WebGoat.NET/" -fixednames -f -c -d "PrecompiledWeb/WebGoat.NET"
-
-
Select Save.
-
Select Yes to enable the plan.
-
Select Create.
-
Ensure your plan is enabled and select Run plan to complete the configuration.