#6743 Set git commit linux rpm
This commit is contained in:
parent
b91c629106
commit
873c6cf458
1 changed files with 6 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ steps:
|
||||||
make -j
|
make -j
|
||||||
condition: eq(variables['packager'],'rpm')
|
condition: eq(variables['packager'],'rpm')
|
||||||
displayName: 'Build enterprise rpm'
|
displayName: 'Build enterprise rpm'
|
||||||
|
env:
|
||||||
|
GIT_COMMIT: $(Build.SourceVersion)
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
. ./build-release/version
|
. ./build-release/version
|
||||||
|
|
@ -114,6 +116,8 @@ steps:
|
||||||
mv x86_64 $(Build.Repository.LocalPath)/standard_package
|
mv x86_64 $(Build.Repository.LocalPath)/standard_package
|
||||||
displayName: "Package Binary RPM(standard)"
|
displayName: "Package Binary RPM(standard)"
|
||||||
condition: and(eq(variables['packager'],'rpm'), eq(variables['Build.Reason'], 'Manual'))
|
condition: and(eq(variables['packager'],'rpm'), eq(variables['Build.Reason'], 'Manual'))
|
||||||
|
env:
|
||||||
|
GIT_COMMIT: $(Build.SourceVersion)
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
cd build-release
|
cd build-release
|
||||||
|
|
@ -131,6 +135,8 @@ steps:
|
||||||
ls -la
|
ls -la
|
||||||
displayName: "Package Binary RPM(enterprise)"
|
displayName: "Package Binary RPM(enterprise)"
|
||||||
condition: and(eq(variables['packager'],'rpm'), eq(variables['Build.Reason'], 'Manual'))
|
condition: and(eq(variables['packager'],'rpm'), eq(variables['Build.Reason'], 'Manual'))
|
||||||
|
env:
|
||||||
|
GIT_COMMIT: $(Build.SourceVersion)
|
||||||
|
|
||||||
- task: CopyFilesOverSSH@0
|
- task: CopyFilesOverSSH@0
|
||||||
inputs:
|
inputs:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue