File tree 1 file changed +1
-41
lines changed 1 file changed +1
-41
lines changed Original file line number Diff line number Diff line change @@ -20,46 +20,6 @@ pipeline {
20
20
junit '**/target/surefire-reports/*.xml'
21
21
}
22
22
}
23
- }
24
-
25
- stage("Create Artifact for prod") {
26
- steps {
27
- echo "Creating artifact"
28
- sh 'mvn package'
29
- sleep 3
30
- snDevOpsArtifact(artifactsPayload:"""
31
- {"artifacts":
32
- [
33
- {
34
- "name": "avgbrewingapp-mvp.jar",
35
- "version":"0.${env.BUILD_NUMBER}.0",
36
- "semanticVersion": "0.${env.BUILD_NUMBER}.0",
37
- "repositoryName": "bm-artifacts-repo"
38
- }
39
- ]
40
- }""")
41
- snDevOpsPackage(name: "avgbrewingapp", artifactsPayload: """
42
- {"artifacts":
43
- [
44
- {
45
- "name": "avgbrewingapp-mvp.zip",
46
- "repositoryName": "bm-artifacts-repo",
47
- "pipelineName": "Average App Pipeline",
48
- "taskExecutionNumber":"${env.BUILD_NUMBER}",
49
- "stageName":"Create Artifact for prod",
50
- "branchName": "master"
51
- }
52
- ]
53
- }""")
54
- }
55
- }
56
-
57
- stage("Deploy") {
58
- steps{
59
- snDevOpsChange()
60
- echo ">> Deploy in prod"
61
- }
62
- }
63
-
23
+ }
64
24
}
65
25
}
You can’t perform that action at this time.
0 commit comments