// Branches with build snapshots as comma separated value string
env.BUILD_SNAPSHOTS = BUILD_SNAPSHOTS.join(",")
def pipelineProperties = []
@ -476,7 +485,7 @@ try {
}
} else {
// Non-PR builds
pipelineParameters.add(choice(defaultValue: DEFAULT_BUILD_SNAPSHOT, name: 'SNAPSHOT', choices: BUILD_SNAPSHOTS, description: 'Selects the build snapshot to use. A more diverted snapshot will cause longer build times, but will not cause build failures.'))
pipelineParameters.add(choice(defaultValue: DEFAULT_BUILD_SNAPSHOT, name: 'SNAPSHOT', choices: BUILD_SNAPSHOTS_WITH_EMPTY, description: 'Selects the build snapshot to use. A more diverted snapshot will cause longer build times, but will not cause build failures.'))
parser.add_argument('--config',dest="config",type=file_path,help="Path to the test impact analysis framework configuration file",required=True)
parser.add_argument('--destBranch',dest="dst_branch",help="For PR builds, the destination branch to be merged to, otherwise empty")
parser.add_argument('--branchesOfTruth',dest="branches_of_truth",type=lambdaarg:arg.split(','),help="Comma separated branches that seeding will occur on",required=True)
parser.add_argument('--pipeline',dest="pipeline",help="Pipeline the test impact analysis framework is running on",required=True)
parser.add_argument('--pipelinesOfTruth',dest="pipelines_of_truth",type=lambdaarg:arg.split(','),help="Comma separated pipeline that seeding will occur on",required=True)
parser.add_argument('--destCommit',dest="dst_commit",help="Commit to run test impact analysis on (ignored when seeding)",required=True)
parser.add_argument('--suite',dest="suite",help="Test suite to run",required=True)
parser.add_argument('--testFailurePolicy',dest="test_failure_policy",type=test_failure_policy,help="Test failure policy for regular and test impact sequences (ignored when seeding)",required=True)
parser.add_argument('--safeMode',dest="safe_mode",action='store_true',help="Run impact analysis tests in safe mode (ignored when seeding)")
parser.add_argument('--testTimeout',dest="test_timeout",type=timout_type,help="Maximum run time (in seconds) of any test target before being terminated",required=False)
parser.add_argument('--globalTimeout',dest="global_timeout",type=timout_type,help="Maximum run time of the sequence before being terminated",required=False)