eclipse / Xpect

This repository has been rewritten to move to the Eclipse Foundation. Find the old history here: https://github.com/TypeFox/Xpect
http://www.xpect-tests.org/
Eclipse Public License 2.0
30 stars 28 forks source link

"ui-test" build-agent label is deprecated, please switch to "centos-7" #280

Closed fredg02 closed 3 years ago

fredg02 commented 4 years ago

See line 13: https://github.com/eclipse/Xpect/blob/master/Jenkinsfile#L13

Announcement was posted on cbi-dev and cross-project-issues-dev mailing lists: https://www.eclipse.org/lists/cbi-dev/msg02266.html

cdietrich commented 3 years ago

@fredg02 is there somewhere a step by step guide what to do?

fredg02 commented 3 years ago

If it has not happened in all Jenkinsfiles on all branches already, replace the label "ui-test" with "centos-7".

cdietrich commented 3 years ago

this does not work cause work maven and java version are used how can i use java 8?

fredg02 commented 3 years ago
node('centos-7') {
  jdk = tool 'adoptopenjdk-hotspot-jdk8-latest'
  env.JAVA_HOME = "${jdk}"
  stage {
    sh "${jdk}/bin/java -version"
  }
}
cdietrich commented 3 years ago

thx.

centos was already used. java 8/11 fix will be done via #286