You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CDP_DEFINITION_BUILD_COUNT: $[counter('', 0)] # needed for onebranch.pipeline.version task https://aka.ms/obpipelines/versioning
15
+
LinuxContainerImage: 'mcr.microsoft.com/onebranch/cbl-mariner/build:2.0'# Docker image which is used to build the project https://aka.ms/obpipelines/containers
variables: # More settings at https://aka.ms/obpipelines/yaml/jobs
53
+
ob_outputDirectory: '$(Build.SourcesDirectory)/out'# this directory is uploaded to pipeline artifacts, reddog and cloudvault. More info at https://aka.ms/obpipelines/artifacts
54
+
55
+
steps: # These steps will be run in unrestricted container's network
56
+
- task: onebranch.pipeline.version@1
57
+
displayName: 'Setup BuildNumber'
58
+
inputs:
59
+
system: 'RevisionCounter'
60
+
major: '1'
61
+
minor: '0'
62
+
exclude_commit: true
63
+
64
+
- task: Bash@3
65
+
displayName: 'Restore'
66
+
inputs:
67
+
filePath: '$(Build.SourcesDirectory)/restore.sh'
68
+
69
+
- task: Bash@3
70
+
displayName: 'Build'
71
+
inputs:
72
+
filePath: '$(Build.SourcesDirectory)/build.sh'
73
+
74
+
- task: Bash@3
75
+
displayName: 'Package'
76
+
inputs:
77
+
filePath: '$(Build.SourcesDirectory)/package.sh'
78
+
79
+
- task: Bash@3
80
+
displayName: 'Copy Extra Files'
81
+
inputs:
82
+
targetType: 'inline'
83
+
script: |
84
+
mkdir -p $(Build.SourcesDirectory)/out
85
+
cp -a $(Build.SourcesDirectory)/linux_deploy $(Build.SourcesDirectory)/out
0 commit comments