Skip to content

Commit

Permalink
change agent to none
Browse files Browse the repository at this point in the history
  • Loading branch information
stefkor committed Jul 21, 2022
1 parent da6eadd commit 2d19273
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Binary file added worker/.Dockerfile.un~
Binary file not shown.
11 changes: 11 additions & 0 deletions worker/Dockerfile~
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM maven:3.8.6-eclipse-temurin-18-alpine

WORKDIR /app

COPY . .

RUN mvn package -DskiptTests && \
mv target/worker-jar-with-dependencies.jar /run/worker.jar && \
rm -rf /app/*

CMD java -jar /run/worker
2 changes: 1 addition & 1 deletion worker/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pipeline {
agent no
agent none
stages {
stage('build') {
agent {
Expand Down

0 comments on commit 2d19273

Please sign in to comment.