Skip to content

Commit 08de996

Browse files
author
Dmitry Surnin
committed
Modify jenkinsfile to support build from branch
1 parent ac0aa67 commit 08de996

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

Jenkinsfile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,20 @@ def buildDebUbuntu = { repoName, releaseVersion, sourcePath ->
210210
return "$volumeName"
211211
}
212212

213-
def options = new TestAndPublishOptions()
213+
options = new TestAndPublishOptions()
214+
options.enable([StagesEnum.PACK_RELEASE_DEPS, StagesEnum.PACK_RELEASE_ST_DEPS])
215+
options.setPublishableBranches(['file-struct']) //REMOVE IT BEFORE MERGE
216+
options.setPostfixes([master: 'file-struct']) //REMOVE IT BEFORE MERGE
217+
options.skip([
218+
StagesEnum.IS_TESTED,
219+
StagesEnum.STATIC_CODE_VALIDATION,
220+
StagesEnum.TEST,
221+
StagesEnum.AUTOMERGE,
222+
StagesEnum.GET_RELEASE_VERSION,
223+
StagesEnum.PYPI_RELEASE,
224+
StagesEnum.GITHUB_RELEASE
225+
])
226+
options.setReleaseVersion("0.0.2")
214227
testAndPublish(name, [ubuntu: [plenum1: plenumTestUbuntuPart1, plenum2: plenumTestUbuntuPart2, plenum3: plenumTestUbuntuPart3,
215228
ledger: ledgerTestUbuntu,
216229
stp: stpTestUbuntu]], true, options, [ubuntu: buildDebUbuntu])

0 commit comments

Comments
 (0)