Skip to content

Commit 77d10aa

Browse files
authored
ci: sign jar with access token (#604)
1 parent 3bec8be commit 77d10aa

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.azure-pipelines/signjars-nightly.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ extends:
101101
dotnet "$MBSIGN_APPFOLDER/DDSignFiles.dll" -- /file:"$fileName" /certs:100010171
102102
done
103103
workingDirectory: 'jars'
104+
env:
105+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
104106
- task: CmdLine@2
105107
displayName: install signed core.jar
106108
inputs:
@@ -125,6 +127,8 @@ extends:
125127
dotnet "$MBSIGN_APPFOLDER/DDSignFiles.dll" -- /file:"$fileName" /certs:100010171
126128
done
127129
workingDirectory: 'jars'
130+
env:
131+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
128132
- task: CopyFiles@2
129133
displayName: "Copy plugin.jar to: $(Build.ArtifactStagingDirectory)"
130134
inputs:

.azure-pipelines/signjars-rc.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ extends:
9898
dotnet "$MBSIGN_APPFOLDER/DDSignFiles.dll" -- /file:"$fileName" /certs:100010171
9999
done
100100
workingDirectory: 'jars'
101+
env:
102+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
101103
- task: CmdLine@2
102104
displayName: install signed core.jar
103105
inputs:
@@ -121,6 +123,8 @@ extends:
121123
dotnet "$MBSIGN_APPFOLDER/DDSignFiles.dll" -- /file:"$fileName" /certs:100010171
122124
done
123125
workingDirectory: 'jars'
126+
env:
127+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
124128
- task: CmdLine@2
125129
displayName: install signed plugin.jar
126130
inputs:
@@ -155,6 +159,8 @@ extends:
155159
dotnet "$MBSIGN_APPFOLDER/DDSignFiles.dll" -- /file:"$file" /certs:100010171
156160
done
157161
workingDirectory: 'm2'
162+
env:
163+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
158164
- task: CopyFiles@2
159165
displayName: "Copy m2 to: $(Build.ArtifactStagingDirectory)"
160166
inputs:

0 commit comments

Comments
 (0)