-
Notifications
You must be signed in to change notification settings - Fork 468
Support publishing pre-release versions #2371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support publishing pre-release versions #2371
Conversation
test this please |
The Jenkinsfile inherits from a parent definition that polls SCM every 2 minutes for a change. @fbricon brought up the fact that it makes more sense to do it nightly to avoid the case of potentially updating the insider build multiple times (and forcing multiple downloads) per day. I agree, and we can probably make that change. |
Sounds great. In this way, we will not make any SCM trigger change in this PR but it will happen on the server side, is that right? if so, I can remove this part then. |
050da18
to
499de68
Compare
@rgrunber I have removed the SCM trigger part in the Jenkins file. For the node version and vsce version part, is there any gap in using node 14.x for publishing now? |
Signed-off-by: Shi Chen <[email protected]>
499de68
to
96c356b
Compare
Signed-off-by: Shi Chen <[email protected]>
The newest commit I just separate the pre-release pipeline and keep the current builds work. All we should do in the Jenkins server are:
|
Signed-off-by: Shi Chen <[email protected]>
Signed-off-by: Shi Chen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@rgrunber there are two follow-ups for you:
|
@rgrunber Could you please verify this change in the Jenkins server? If there is anything I can help, feel free to reach out🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The build seems to work as expected with
nodejs-14.19.1
🚀 . I can confirm presence of<Property Id="Microsoft.VisualStudio.Code.PreRelease" Value="true" />
- I would also modify the
ovsx@<0.3.0
reference to justovsx
. Same situation as vsce ( eclipse/openvsx@f5cc1a9 ) - I just need to create a PR on our end to add
publishPreRelease
(defaulttrue
) as a parameter & to see how we can modify the job so it runs daily.
Signed-off-by: Shi Chen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor thing to fix, but overall, works.
- I think you re-introduced the
"ovsx@<0.3.0"
line. Just make it"ovsx"
. With node 14 we don't need to restrict it.
Just as a note, the Jenkins job has been configured to use an scmpoll_spec
of '0 8 * * *'
so it will build once per day only if there are new changes. We can play with this later if necessary.
Signed-off-by: Shi Chen <[email protected]>
@rgrunber Sounds great! I have removed the version striction of ovsx. We can start to play with it. |
fix #2285
Notes:
vsce
.Signed-off-by: Shi Chen [email protected]