forked from opensearch-project/opensearch-migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildFromLocal.xml
66 lines (61 loc) · 2.88 KB
/
buildFromLocal.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="[email protected]_ec82f">
<actions>
<org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobAction plugin="[email protected]"/>
<org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerAction plugin="[email protected]">
<jobProperties/>
<triggers/>
<parameters/>
<options/>
</org.jenkinsci.plugins.pipeline.modeldefinition.actions.DeclarativeJobPropertyTrackerAction>
</actions>
<description/>
<keepDependencies>false</keepDependencies>
<properties>
<com.synopsys.arc.jenkins.plugins.ownership.jobs.JobOwnerJobProperty plugin="[email protected]"/>
<com.sonyericsson.rebuild.RebuildSettings plugin="[email protected]_1ee476d8f6d">
<autoRebuild>false</autoRebuild>
<rebuildDisabled>false</rebuildDisabled>
</com.sonyericsson.rebuild.RebuildSettings>
<com.synopsys.arc.jenkinsci.plugins.jobrestrictions.jobs.JobRestrictionProperty plugin="[email protected]"/>
<hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="[email protected]">
<categories class="java.util.concurrent.CopyOnWriteArrayList"/>
<throttleEnabled>false</throttleEnabled>
<throttleOption>project</throttleOption>
<limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams>
<paramsToUseForLimit/>
</hudson.plugins.throttleconcurrents.ThrottleJobProperty>
</properties>
<definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition" plugin="[email protected]_2c931e7935">
<script>pipeline {
environment {
STAGE = 'local-test'
}
agent any
stages {
stage('Checkout') {
steps {
script {
// Copy code from mounted directory to workspace
sh "/copyGitTrackedFiles.sh /opensearch-migrations-src ."
}
}
}
stage('Test Caller Identity') {
steps {
sh 'aws sts get-caller-identity'
}
}
stage('Build') {
steps {
timeout(time: 1, unit: 'HOURS') {
sh './gradlew build -x test'
}
}
}
}
}</script>
<sandbox>true</sandbox>
</definition>
<triggers/>
<disabled>false</disabled>
</flow-definition>