Skip to content

Commit

Permalink
Fix Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Dec 1, 2022
1 parent f06d807 commit b253091
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Expand Up @@ -5,8 +5,8 @@ properties([

def runTests(Map params = [:]) {
return {
def agentContainerLabel = params['jdk'] == 8 ? 'maven' : 'maven-' + params['jdk']
boolean publishing = params['jdk'] == 8
def agentContainerLabel = 'maven-' + params['jdk']
boolean publishing = params['jdk'] == 11
node(agentContainerLabel) {
timeout(time: 1, unit: 'HOURS') {
def stageIdentifier = params['platform'] + '-' + params['jdk']
Expand Down

0 comments on commit b253091

Please sign in to comment.