Bump Jenkins version; And make agent jars be downloaded using entrypoint

This commit is contained in:
zontreck 2025-02-05 00:17:52 -07:00
parent aa1146789f
commit e9aed7a38b
9 changed files with 15 additions and 11 deletions

View file

@ -16,6 +16,11 @@ docker login git.zontreck.com -u "$DOCKER_USER" -p "$DOCKER_PASSWORD"
sleep 10
echo "Downloading Agent..."
cd /
curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
echo "Connecting agent"
java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -jar /agent.jar -url "https://ci.zontreck.com" -secret "$DOCKER_AGENT_SECRET" -name "BuilderHost" -workDir "/builder"