Skip to content

Commit 91f6044

Browse files
authored
Merge pull request #172 from gounthar/refactor/remove-docker-agent
refactor(jenkins): remove Docker agent in favor of agent any
2 parents 6ef4c97 + 4e3d259 commit 91f6044

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

jenkins/Jenkinsfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
pipeline {
2-
agent {
3-
docker {
4-
image 'node:lts-buster-slim'
5-
args '-p 3000:3000'
6-
}
7-
}
2+
agent any
83
environment {
94
CI = 'true'
105
}

jenkins/scripts/deliver.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ set +x
2525

2626
echo 'Now...'
2727
echo 'Visit http://localhost:3000 to see your Node.js/React application in action.'
28-
echo '(This is why you specified the "args ''-p 3000:3000''" parameter when you'
29-
echo 'created your initial Pipeline as a Jenkinsfile.)'

0 commit comments

Comments
 (0)