#!/usr/bin/env groovy

/* Configure the instance's URL based on the GITHUB_USER */

import jenkins.model.*

if (System.env.get('GITHUB_USER')) {
    JenkinsLocationConfiguration.get().setUrl("https://${System.env.get('GITHUB_USER'}.codevalet.io/")
}

#!/usr/bin/env groovy

/* Configure the instance's URL based on the GITHUB_USER */

import jenkins.model.*

if (System.env.get('GITHUB_USER')) {
    JenkinsLocationConfiguration.get().setUrl("https://${System.env.get('GITHUB_USER')}.codevalet.io/")
}

Fix broken setting of instance URL
Fix broken setting of instance URL
