Added tea-cli
Some checks failed
andreas-personal/good-old-jenkins/pipeline/head There was a failure building this commit

This commit is contained in:
Andreas Fahrecker 2024-04-16 00:18:27 +02:00
parent 552ed8a7a5
commit c7bd2d6cc6
3 changed files with 9 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
.idea/ .idea/
*.iml *.iml
*.code-workspace

View File

@ -4,6 +4,9 @@ USER root
RUN groupadd -g 281 docker RUN groupadd -g 281 docker
RUN usermod -aG docker jenkins RUN usermod -aG docker jenkins
# Install tea
RUN apk add --no-cache tea
COPY --chown=jenkins:jenkins executors.groovy /usr/share/jenkins/ref/init.groovy.d/executors.groovy COPY --chown=jenkins:jenkins executors.groovy /usr/share/jenkins/ref/init.groovy.d/executors.groovy
# Install jenkins plugins # Install jenkins plugins

View File

@ -4,6 +4,10 @@ USER root
RUN addgroup --gid 281 docker RUN addgroup --gid 281 docker
RUN addgroup jenkins docker RUN addgroup jenkins docker
# Install tea
RUN git clone https://gitea.com/gitea/tea.git
RUN cd tea && make && make install
COPY --chown=jenkins:jenkins executors.groovy /usr/share/jenkins/ref/init.groovy.d/executors.groovy COPY --chown=jenkins:jenkins executors.groovy /usr/share/jenkins/ref/init.groovy.d/executors.groovy
# Install jenkins plugins # Install jenkins plugins