-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
53 lines (47 loc) · 1.66 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
trigger:
- None
name: $(Date:yyyyMMdd)$(Rev:.r)
# Define Variable groups if any
variables:
- group: Xyzamco.Coesd.VariableGroup.GlobalVars
- group: TeamVars.RAT
- group: Xyzamco.Raas.VariableGroup.TeamVars
- name: PYTHONPATH
value: src
- name: SoloProjectName
value: com.xyzamco.rat
# service connection for sonarQube
- name: Serviceconnection.SonarQube.Name
value: 'rat-sonarqube-p-sc'
# service connection for Fortify
- name: Serviceconnection.Fortify.Name
value: 'fortify-p-sc'
# Reference to XYZ AMCO Complient Pipeline Template. Please do not change the below template code. PIPE team regularly updates templates
resources:
repositories:
- repository: templates
type: git
name: GRD0001045/pita-pipeline-templates
ref: 'refs/heads/master'
containers:
- container: python
image: 'python:3.8.3-slim-buster'
endpoint: 'ifrs9-d-acr-endpoint'
stages:
- stage: CI
pool:
name: 'Private Pool Docker'
jobs:
- template: flows/python.yml@templates
parameters:
tests_location: tests
pytest_arguments: '--doctest-modules --ignore=tests/* --junitxml=$(Common.TestResultsDirectory)/test_report/test-results.xml --cov=./src --cov-report=xml --cov-report=html'
requirements_file_source: '$(Build.SourcesDirectory)/requirements-dev.txt'
run_tests: 'true'
fortify_project_name: 'xyzamco_rats_controlframework'
source_location: 'src'
run_pylint: 'true'
run_nexus_lc_scan: 'true'
run_fortify_scan: 'true'
publish_to_nexus: 'false'
publish_to_artifacts: 'false'