Skip to content

Commit 7a3b4d1

Browse files
authored
Create Jenkinsfile
1 parent f355676 commit 7a3b4d1

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Jenkinsfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
pipeline {
2+
agent {
3+
label 'build'
4+
}
5+
stages {
6+
stage('checkout-stage') {
7+
steps {
8+
git branch: 'master', credentialsId: 'ashoksm', url: 'https://github.com/AuthorizeNet/sample-code-java.git'
9+
}
10+
}
11+
stage('build-stage') {
12+
steps {
13+
sh 'mvn clean package -DskipTests'
14+
}
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)