File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ node('rhel8'){
78
78
for (artifact in artifacts){
79
79
sh " rsync -Pzrlt --rsh=ssh --protocol=28 --relative ${ artifactDir} /${ artifact.path} ${ UPLOAD_LOCATION} /jdt.ls/staging"
80
80
}
81
+ // Clean up build vsix
82
+ sh " rm -rf ${ artifactDir} "
81
83
}
82
84
83
85
node(' rhel8' ){
@@ -98,6 +100,8 @@ node('rhel8'){
98
100
stage " Publish to VS Code Marketplace"
99
101
// VS Code Marketplace
100
102
withCredentials([[$class : ' StringBinding' , credentialsId : ' vscode_java_marketplace' , variable : ' TOKEN' ]]) {
103
+ // Clean up embedded jre folder from previous build
104
+ sh ' npx gulp clean_jre'
101
105
// Publish a generic version
102
106
sh ' vsce publish -p ${TOKEN} --target win32-ia32 win32-arm64 linux-armhf alpine-x64 alpine-arm64'
103
107
@@ -111,9 +115,9 @@ node('rhel8'){
111
115
112
116
stage " Publish to http://download.jboss.org/jbosstools/static/jdt.ls/stable/"
113
117
def artifacts = findFiles(glob : ' **.vsix' )
114
- def artifactDir = " java-${ env.EXTENSION_VERSION} "
115
- sh " mkdir ${ artifactDir} "
116
- sh " mv *.vsix ${ artifactDir} "
118
+ def artifactDir = " java-${ env.EXTENSION_VERSION} "
119
+ sh " mkdir ${ artifactDir} "
120
+ sh " mv *.vsix ${ artifactDir} "
117
121
118
122
archive includes :" ${ artifactDir} /**/*.*"
119
123
You can’t perform that action at this time.
0 commit comments