mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
use webapp build from cache when possible (#7646)
This commit is contained in:
2
build/Jenkinsfile
vendored
2
build/Jenkinsfile
vendored
@@ -136,7 +136,7 @@ podTemplate(label: 'jenkins-slave',
|
||||
sh 'cd /go/src/github.com/mattermost/mattermost-server && make build BUILD_NUMBER=$BUILD_NUMBER'
|
||||
}
|
||||
container('mattermost-node') {
|
||||
sh 'cd mattermost-webapp && make build BUILD_NUMBER=$BUILD_NUMBER'
|
||||
sh 'cd mattermost-webapp && curl -f -o ./dist.tar.gz https://releases.mattermost.com/mattermost-webapp/commit/`git rev-parse HEAD`/mattermost-webapp.tar.gz && mkdir ./dist && tar -xvf ./dist.tar.gz -C ./dist --strip-components=1 || make build'
|
||||
}
|
||||
container('golang') {
|
||||
sh 'cd /go/src/github.com/mattermost/mattermost-server && make package BUILD_NUMBER=$BUILD_NUMBER'
|
||||
|
||||
Reference in New Issue
Block a user