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

@ -13,7 +13,6 @@ RUN chmod 0600 id_rsa
WORKDIR /
RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
ADD ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

View file

@ -1,3 +1,6 @@
#!/bin/bash
cd /
curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -jar /agent.jar -url "https://ci.zontreck.com" -secret "$ARCHAGENT" -name "Arch Linux" -workDir "/builder"