Skip to content

Commit

Permalink
SMLP-034 Mount jenkins pipeline.yml into jenkins docker container in …
Browse files Browse the repository at this point in the history
…development mode
  • Loading branch information
bsa7 committed Mar 19, 2023
1 parent 42ae19e commit afd5af6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ services:
network_mode: host

jenkins:
image: jenkins:2.60.3
image: jenkins/jenkins:jdk11
privileged: true
user: root
ports:
- 3080:8080
- 8080:8080
- 50000:50000
# volumes:
# - ./jenkins/jobs/smlp:/var/jenkins_home/jobs/smlp:Z

secrets:
app_mongo_password:
Expand Down
12 changes: 12 additions & 0 deletions jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
pipeline {
agent any
stages {
stage('info') {
steps {
echo $JENKINS_HOME
ls
pwd
}
}
}
}

0 comments on commit afd5af6

Please sign in to comment.