Skip to content

Commit

Permalink
reintroduced nightly and daily jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Mar 30, 2023
1 parent 0e7b3c3 commit beb8cec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ pipeline {
)
}

triggers {
parameterizedCron(env.BRANCH_NAME == 'main' ? '''
H H(0-1) * * * %TARGET_PLATFORM=r202206;JDK_VERSION=temurin-jdk11-latest;TRIGGER_DOWNSTREAM_BUILD=true

This comment has been minimized.

Copy link
@cdietrich

cdietrich Mar 30, 2023

Contributor

This should be 202203

This comment has been minimized.

Copy link
@cdietrich

cdietrich Mar 30, 2023

Contributor

I also don’t think we have any downstream builds

This comment has been minimized.

Copy link
@LorenzoBettini

LorenzoBettini Mar 30, 2023

Author Contributor

Why? Isn't that already the default? I thought the job would be for other target platforms. That's how it used to be in xtext-eclipse

This comment has been minimized.

Copy link
@cdietrich

cdietrich Mar 30, 2023

Contributor

Well 202206 needs j17 afaik.
so the test would be 202203 with java 17
And latest with java 17

This comment has been minimized.

Copy link
@cdietrich

cdietrich Mar 30, 2023

Contributor

In the past we also had build with default
But I assume this was due deploy was done from the same build result and not separate

This comment has been minimized.

Copy link
@LorenzoBettini

LorenzoBettini Mar 30, 2023

Author Contributor

@cdietrich maybe it's better if you change it yourself: you told me to use the version in eclipse-xtext and that's what I did. But you are the one who knows what you want for daily/nightly builds.
From what I understand, 202203 is useless since we already have it by default for each commit on main.

This comment has been minimized.

Copy link
@cdietrich

cdietrich Mar 30, 2023

Contributor

Just use 202203 and 17 and we are fine

This comment has been minimized.

Copy link
@cdietrich

cdietrich Mar 30, 2023

Contributor

Problem is I don’t know enhough about Jenkins to do what I actually want todo which is do the j17 / 202203 build basically which each main build thus the workaround doing it with daily

This comment has been minimized.

Copy link
@LorenzoBettini

LorenzoBettini Mar 30, 2023

Author Contributor

Just use 202203 and 17 and we are fine

Done: 0b49e06

This comment has been minimized.

Copy link
@cdietrich

cdietrich Mar 30, 2023

Contributor

Thx

H H(3-4) * * * %TARGET_PLATFORM=latest;JDK_VERSION=temurin-jdk17-latest;TRIGGER_DOWNSTREAM_BUILD=true
''' : '')
}

options {
buildDiscarder(logRotator(numToKeepStr:'10'))
disableConcurrentBuilds()
Expand Down

0 comments on commit beb8cec

Please sign in to comment.