From 6367f5fef901daa93fa2f869ee829c17d29a9d7c Mon Sep 17 00:00:00 2001 From: Kaveri Reddy <123486234+chintapallykaverireddy@users.noreply.github.com> Date: Tue, 10 Dec 2024 23:48:17 +0530 Subject: [PATCH] Create Jenkinsfile --- Jenkinsfile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..2c9bd5c --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,35 @@ +pipeline { + agent any + stages { + stage('Build') { + steps { + script { + echo "Building" + bat "docker build -t ex1:latest ." + } + } + } + stage('runnig') { + steps { + script { + echo "runnig" + bat "docker run -dp 127.0.0.1:3000:3000 ex1" + } + } + } + stage('test') { + steps { + script { + echo "testing" + } + } + } + stage('deploying') { + steps { + script { + echo "deploying" + } + } + } + } +}