diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..ae8a42d --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,24 @@ +pipeline { + agent any + environment { + registry = "docker.io/snehalahire123" + registryCredential = 'dockerhub' + dockerImage = '' + } + stages { + stage('Hello') { + steps { + echo 'Hello World' + } + } + stage('git clone') { + steps { + git credentialsId: 'githubID', url: 'https://github.com/ahiresnehal/web-app-example.git' + sh 'ls' + sh 'pwd' + } + } + + + } + }