From afd5af6d582c4a277f01243ab0a5f9fec7e45be6 Mon Sep 17 00:00:00 2001 From: Sergio Belevskij Date: Sun, 19 Mar 2023 20:34:08 +0300 Subject: [PATCH] SMLP-034 Mount jenkins pipeline.yml into jenkins docker container in development mode --- docker-compose.yml | 6 ++++-- jenkinsfile | 12 ++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 jenkinsfile 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 + } + } + } +}