We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5cd9fb commit 5e7159eCopy full SHA for 5e7159e
Jenkinsfile
@@ -197,6 +197,33 @@ pipeline {
197
}
198
199
200
+ stage ('Publishing preview') {
201
+ when { anyOf {
202
+ branch 'release/preview';
203
+ }
204
205
+ agent { label 'master' }
206
+
207
+ steps {
208
209
+ unstash 'dist'
210
+ unstash 'vsix'
211
212
+ dir('targetContent') {
213
+ sh '''
214
+ ZIPS=../built
215
+ NUGET=../built/nuget
216
+ VSIX=../built/vscode
217
+ mv $ZIPS/*.zip ./
218
+ mv $VSIX/*.vsix ./
219
220
+ TARGET="/var/www/oscript.io/download/versions/preview/"
221
+ sudo rsync -rv --delete --exclude mddoc*.zip --exclude *.src.rpm . $TARGET
222
+ '''.stripIndent()
223
224
225
226
227
stage ('Publishing latest') {
228
when { anyOf {
229
branch 'latest';
0 commit comments