File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,17 +2,18 @@ pipeline {
22 agent any
33 stages {
44 stage(' build linux' ) {
5- steps {
6- sh(" npm i -g bit-javascript" )
7- sh(" npm i -g --unsafe" )
5+ steps {
6+ sh(" npm i" )
7+ sh(" npm run build" )
8+ sh(" npm i -g --unsafe" )
89 sh(" npm run e2e-test" )
910 sh(' ./scripts/build-tar.sh linux' )
1011 sh(' ./scripts/build-deb.sh' )
1112 script {
1213 def releaseServer = " ${ env.BIT_STAGE_SERVER} " + " /update"
1314 def repo = " ${ env.EXTERNAL_REPO} "
1415 def currentVersion = sh script : ' cat package.json | grep version | head -1 | awk -F: \' { print $2 }\' | sed \' s/[",]//g\' ' , returnStdout : true
15- currentVersivimon = currentVersion. replaceAll(" \\ s" ," " )
16+ currentVersion = currentVersion. replaceAll(" \\ s" ," " )
1617 def debUrl = " ${ repo} /bit-deb/development/bit/${ currentVersion} /bit_${ currentVersion} _all.deb;deb.distribution=all;deb.component=development;deb.architecture=amd64"
1718 sh(" mv bit-${ currentVersion} .tar.gz ./distribution" )
1819 sh(" curl -u${ REPO_TOKEN} -T ./distribution/bit_${ currentVersion} _all.deb -XPUT '${ debUrl} '" )
@@ -29,7 +30,7 @@ pipeline {
2930 steps {
3031 sh(' ./scripts/build-tar.sh mac' )
3132 sh(' ./scripts/build-brew.sh' )
32- sh(" npm i -g" )
33+ sh(" npm i -g --unsafe " )
3334 script {
3435 def releaseServer = " ${ env.BIT_STAGE_SERVER} " + " /update"
3536 def repo = " ${ env.EXTERNAL_REPO} "
You can’t perform that action at this time.
0 commit comments