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,9 +13,6 @@ ENV AGENT NAN
LABEL VS_API 1.20.3
WORKDIR /
RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
WORKDIR /
ADD ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

View file

@ -1,5 +1,7 @@
#!/bin/bash
cd /
curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
echo $PUB | dart pub token add https://git.zontreck.com/api/packages/AriasCreations/pub
java -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 -jar /agent.jar -url "https://ci.zontreck.com" -secret "$AGENT" -name "Debian" -workDir "/builder"