Bump Jenkins version; And make agent jars be downloaded using entrypoint
This commit is contained in:
parent
aa1146789f
commit
e9aed7a38b
9 changed files with 15 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue