diff --git a/docker-compose.yml b/docker-compose.yml index 024e09e..8a9be8b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/jenkinsfile b/jenkinsfile new file mode 100644 index 0000000..62f5d79 --- /dev/null +++ b/jenkinsfile @@ -0,0 +1,12 @@ +pipeline { + agent any + stages { + stage('info') { + steps { + echo $JENKINS_HOME + ls + pwd + } + } + } +}