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
Showing
7 changed files
with
49 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ build/ | |
gradlew | ||
gradlew.bat | ||
out/ | ||
idea/ | ||
.idea/ | ||
*.iml | ||
.gradle/ |
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,10 @@ | ||
import com.apwide.jenkins.golive.Golive | ||
|
||
import static com.apwide.jenkins.util.Utilities.executeStep | ||
|
||
def call(Closure body = null) { | ||
executeStep(this, body) { script, parameters -> | ||
return new Golive(this, parameters.config) | ||
.updateDeployedVersion(parameters.params.application, parameters.params.category, parameters.params.version) | ||
} | ||
} |
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 @@ | ||
<p>Notify Apwide Golive a new version has been deployed on an environment. Reuse JIRA Global Environment Variable and for full protocol, consult jira global variable</p> | ||
<p></p> | ||
<dl> | ||
<dt>application</dt><dd>Environment Application name</dd> | ||
<dt>category</dt><dd>Environment Category name</dd> | ||
<dt>version</dt><dd>Deployed version name</dd> | ||
</dl> |
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,9 @@ | ||
import com.apwide.jenkins.golive.Golive | ||
|
||
import static com.apwide.jenkins.util.Utilities.executeStep | ||
|
||
def call(Closure body = null) { | ||
executeStep(this, body) { script, parameters -> | ||
return new Golive(this, parameters.config).updateEnvironment(parameters.params.id, parameters.body) | ||
} | ||
} |
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,6 @@ | ||
<p>Update environment information (e.g. URL, attributes...). Reuse JIRA Global Environment Variable and for full protocol, consult jira global variable</p> | ||
<p></p> | ||
<dl> | ||
<dt>id</dt><dd>Environment id</dd> | ||
<dt>body</dt><dd>Environment information Map</dd> | ||
</dl> |
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,9 @@ | ||
import com.apwide.jenkins.golive.Golive | ||
|
||
import static com.apwide.jenkins.util.Utilities.executeStep | ||
|
||
def call(Closure body = null) { | ||
executeStep(this, body) { script, parameters -> | ||
return new Golive(this, parameters.config).updateEnvironmentStatus(parameters.params.application, parameters.params.category, parameters.params.status) | ||
} | ||
} |
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 @@ | ||
<p>Update Apwide Golive Environment status. Reuse JIRA Global Environment Variable and for full protocol, consult jira global variable</p> | ||
<p></p> | ||
<dl> | ||
<dt>application</dt><dd>Environment Application name</dd> | ||
<dt>category</dt><dd>Environment Category name</dd> | ||
<dt>version</dt><dd>Deployed version name</dd> | ||
</dl> |