Create Jenkinsfile

This commit is contained in:
Disturbed-Rover 2020-05-18 11:32:19 +05:30 committed by GitHub
parent adab01ef62
commit c56799bda4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,10 @@
node {
// This is to demo github action
// def sonarUrl = 'sonar.host.url=http://172.31.30.136:9000'
def mvn = tool (name: 'maven3', type: 'maven') + '/bin/mvn'
stage('SCM Checkout'){
// Clone repo
git branch: 'master',
credentialsId: 'github',
url: 'https://github.com/javahometech/myweb'
}