File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ pipelineWrapper({
1919 }
2020
2121 def evernymRepo = evLibrary.EvernymRepo . new(this )
22+ def sovrinRepo = evLibrary.SovrinRepo . new(this )
2223 def utils = evLibrary.Utils . new(this )
2324 def buildCtx = evLibrary.AwsCodeBuildHelper.BuildCtx . new(' plugin' ,
2425 [' devops' , ' sovtoken/sovtoken/__metadata__.py' , ' sovtokenfees/sovtokenfees/__metadata__.py' ])
@@ -110,7 +111,7 @@ pipelineWrapper({
110111 }
111112 }
112113
113- stage(' Upload deb to Evernym repo ' ) {
114+ stage(' Upload deb to repositories ' ) {
114115 String debName
115116
116117 dir(" ${ awsCBHelper.buildCtx.projects[prTag].artifactsDir} " ) {
@@ -121,6 +122,14 @@ pipelineWrapper({
121122 repoDistr = ' agency_dev'
122123 packagePath = debName
123124 }
125+
126+ if (env. BRANCH_NAME == ' stable' ) {
127+ logger. info(" Uploading debian package '$debName ' to sovrin repo" )
128+ SovrinRepo . upload {
129+ repoDistr = ' sdk'
130+ packagePath = debName
131+ }
132+ }
124133 }
125134
126135 notifier. email {
You can’t perform that action at this time.
0 commit comments