forked from nickgrealy/poll-mailbox-trigger
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca94af8
commit 2a9f217
Showing
12 changed files
with
140 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
| | Version | | ||
| --- | --- | | ||
| **Latest Release** | <span style="background-color:lightgreen;border:1px solid lightgrey;padding:4px 8px;border-radius:5px;">1.022</span> | | ||
| **Java Runtime Environment**| <span style="background-color:lightgreen;border:1px solid lightgrey;padding:4px 8px;border-radius:5px;">1.6+</span> | | ||
| **Jenkins** | <span style="background-color:lightgreen;border:1px solid lightgrey;padding:4px 8px;border-radius:5px;">1.424+</span> | | ||
| **Jenkins Plugin Type** | <span style="background-color:lightgreen;border:1px solid lightgrey;padding:4px 8px;border-radius:5px;">Build Trigger</span> | | ||
| **Mail Protocols** | <span style="background-color:lightgreen;border:1px solid lightgrey;padding:4px 8px;border-radius:5px;">IMAP</span> <span style="background-color:lightgreen;border:1px solid lightgrey;padding:4px 8px;border-radius:5px;">IMAPs</span> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Tue Sep 22 04:02:36 UTC 2015 | ||
#Tue Jun 14 15:22:03 EST 2016 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
@wip @ignore | ||
@ignore | ||
Feature: Test Live Connection | ||
This is just for testing a connection to an email server. | ||
|
||
Scenario: Test connecting to gmail | ||
Scenario: Test connecting to GMAIL via IMAPS | ||
Given the plugin is initialised | ||
And I set the configuration to | ||
| Host | Username | Password | | ||
|
@@ -11,5 +11,19 @@ Feature: Test Live Connection | |
# When I test the connection | ||
# Then the response should be OK with message 'Connected to mailbox. <br>Searching folder...<br>Found matching email(s) : 1' | ||
|
||
When the Plugin's polling is triggered | ||
Then a Jenkins job is scheduled with quietPeriod 0 and cause '[PollMailboxTrigger] Job was triggered by email sent from [email protected] (<a href="triggerCauseAction">log</a>)' | ||
# When the Plugin's polling is triggered | ||
# Then a Jenkins job is scheduled with quietPeriod 0 and cause '[PollMailboxTrigger] Job was triggered by email sent from [email protected] (<a href="triggerCauseAction">log</a>)' | ||
|
||
|
||
@wip | ||
Scenario: Test connecting to GMAIL via POP3 | ||
Given the plugin is initialised | ||
And I set the configuration to | ||
| Host | Username | Password | | ||
| pop.gmail.com | morty@gmail.com | foobar | | ||
And the script | ||
""" | ||
storeName=pop3 | ||
""" | ||
When I test the connection | ||
Then the response should be OK with message 'Connected to mailbox. <br>Searching folder...<br>Found matching email(s) : 1' |