summaryrefslogtreecommitdiffstats
path: root/tests/triggers/fixtures/pollurl001.xml
blob: 2b0c449facf272bd69ed00e147a7e3adf89102cd (plain)
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
67
<?xml version="1.0" encoding="utf-8"?>
<project>
  <triggers class="vector">
    <org.jenkinsci.plugins.urltrigger.URLTrigger>
      <spec>* * * * *</spec>
      <labelRestriction>true</labelRestriction>
      <triggerLabel>label expression</triggerLabel>
      <entries>
        <org.jenkinsci.plugins.urltrigger.URLTriggerEntry>
          <url>http://example.com/url1</url>
          <username>username</username>
          <password>sekr3t</password>
          <checkStatus>true</checkStatus>
          <proxyActivated>false</proxyActivated>
          <timeout>442</timeout>
          <checkETag>false</checkETag>
          <checkLastModificationDate>true</checkLastModificationDate>
          <statusCode>202</statusCode>
          <inspectingContent>true</inspectingContent>
          <contentTypes>
            <org.jenkinsci.plugins.urltrigger.content.SimpleContentType/>
            <org.jenkinsci.plugins.urltrigger.content.JSONContentType>
              <jsonPaths>
                <org.jenkinsci.plugins.urltrigger.content.JSONContentEntry>
                  <jsonPath>$..author</jsonPath>
                </org.jenkinsci.plugins.urltrigger.content.JSONContentEntry>
                <org.jenkinsci.plugins.urltrigger.content.JSONContentEntry>
                  <jsonPath>$.store..price</jsonPath>
                </org.jenkinsci.plugins.urltrigger.content.JSONContentEntry>
              </jsonPaths>
            </org.jenkinsci.plugins.urltrigger.content.JSONContentType>
          </contentTypes>
        </org.jenkinsci.plugins.urltrigger.URLTriggerEntry>
        <org.jenkinsci.plugins.urltrigger.URLTriggerEntry>
          <url>http://example.com/url2</url>
          <checkStatus>false</checkStatus>
          <statusCode>200</statusCode>
          <proxyActivated>true</proxyActivated>
          <timeout>300</timeout>
          <checkETag>true</checkETag>
          <checkLastModificationDate>false</checkLastModificationDate>
          <statusCode/>
          <inspectingContent>true</inspectingContent>
          <contentTypes>
            <org.jenkinsci.plugins.urltrigger.content.XMLContentType>
              <xPaths>
                <org.jenkinsci.plugins.urltrigger.content.XMLContentEntry>
                  <xPath>//author</xPath>
                </org.jenkinsci.plugins.urltrigger.content.XMLContentEntry>
                <org.jenkinsci.plugins.urltrigger.content.XMLContentEntry>
                  <xPath>/store//price</xPath>
                </org.jenkinsci.plugins.urltrigger.content.XMLContentEntry>
              </xPaths>
            </org.jenkinsci.plugins.urltrigger.content.XMLContentType>
            <org.jenkinsci.plugins.urltrigger.content.TEXTContentType>
              <regExElements>
                <org.jenkinsci.plugins.urltrigger.content.TEXTContentEntry>
                  <regEx>\d+</regEx>
                </org.jenkinsci.plugins.urltrigger.content.TEXTContentEntry>
              </regExElements>
            </org.jenkinsci.plugins.urltrigger.content.TEXTContentType>
          </contentTypes>
        </org.jenkinsci.plugins.urltrigger.URLTriggerEntry>
      </entries>
    </org.jenkinsci.plugins.urltrigger.URLTrigger>
  </triggers>
</project>