Last active
May 20, 2022 06:44
-
-
Save timja/fe73f0a0f98afe4d9356e7ce6752d95b to your computer and use it in GitHub Desktop.
Init Gitpod Jenkins plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
GIT_POD_URL=$(gp url 8080) | |
mkdir -p work/ | |
cat <<EOF > work/jenkins.model.JenkinsLocationConfiguration.xml | |
<?xml version='1.1' encoding='UTF-8'?> | |
<jenkins.model.JenkinsLocationConfiguration> | |
<adminAddress>address not configured yet <nobody@nowhere></adminAddress> | |
<jenkinsUrl>${GIT_POD_URL}/jenkins/</jenkinsUrl> | |
</jenkins.model.JenkinsLocationConfiguration> | |
EOF | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment