Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Code Block
    version: '3.9'
    services:
    	jenkins:
    		image: jenkins/jenkins:latest #2.60.3
    		container_name: jenkins
    		environment:
    			- "TZ=Asia/Seoul"
    		ports:
    			- "8080:8080"
    		volumes:
    			- "./data:/var/jenkins_home"

Jenkins Pipeline of Sample

Code Block
pipeline {
	agent any
	stages {
		stage("Build") {
			steps {
				echo "Jenkins Pipeline running"
			}
		}
	}
}