-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/2.2.0' into 4023-point-delegate-search-to-deleg…
…ate-profile
- Loading branch information
Showing
154 changed files
with
2,528 additions
and
1,482 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
@Library('lisk-jenkins') _ | ||
|
||
pipeline { | ||
agent none | ||
stages { | ||
stage('package') { | ||
parallel { | ||
stage('linux, windows') { | ||
agent { node { label 'lisk-desktop' } } | ||
steps { | ||
cleanWs(patterns: [[pattern: 'dist/lisk-*-*', type: 'INCLUDE'], [pattern: 'dist/latest-*.yml', type: 'INCLUDE']]) | ||
nvm(getNodejsVersion()) { | ||
sh ''' | ||
npm ci | ||
cp -R /home/lisk/fonts/basier-circle src/assets/fonts | ||
cp -R /home/lisk/fonts/gilroy src/assets/fonts | ||
npm run build | ||
npm run install:electron:dependencies | ||
npm run dist:linux | ||
''' | ||
sh ''' | ||
export DEBUG=electron-builder | ||
#npm run dist:win # does not work | ||
''' | ||
} | ||
} | ||
post { | ||
success { | ||
archiveArtifacts artifacts: 'dist/lisk-*-*, dist/latest-*.yml' | ||
} | ||
} | ||
} | ||
stage('darwin') { | ||
agent { node { label 'darwin' } } | ||
steps { | ||
cleanWs(patterns: [[pattern: 'dist/lisk-mac-*-*', type: 'INCLUDE'], [pattern: 'dist/latest-mac-*.yml', type: 'INCLUDE']]) | ||
nvm(getNodejsVersion()) { | ||
sh ''' | ||
npm ci | ||
cp -R /Users/jenkins/fonts/basier-circle src/assets/fonts | ||
cp -R /Users/jenkins/fonts/gilroy src/assets/fonts | ||
npm run build | ||
npm run install:electron:dependencies | ||
npm run dist:mac -- --publish never | ||
''' | ||
} | ||
} | ||
post { | ||
success { | ||
archiveArtifacts artifacts: 'dist/lisk-mac-*, dist/latest-mac.yml' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
// vim: filetype=groovy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.