Skip to content

Commit

Permalink
Release Review 1.4.4, Prepare for next dev version (jenkinsci#81)
Browse files Browse the repository at this point in the history
* Release Review 1.4.4

* [maven-release-plugin] prepare release jira-steps-1.4.4

* [maven-release-plugin] prepare for next development iteration
  • Loading branch information
nrayapati authored Sep 1, 2018
1 parent 9d74c11 commit 531d3b5
Show file tree
Hide file tree
Showing 14 changed files with 84 additions and 12 deletions.
4 changes: 3 additions & 1 deletion hugo/content/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ date = "2017-11-12"
lastmodifierdisplayname = "Naresh Rayapati"
+++

* #### **1.4.4** (Unreleased)
* #### **1.4.5** (Unreleased)

* #### **1.4.4**
* [JENKINS-53044](https://issues.jenkins-ci.org/browse/JENKINS-53044) Add step to retrieve jira server info.
* Thank you [Stuart Rowe](https://github.com/stuartrowe) for the initial pull request.
* #### **1.4.3**
Expand Down
11 changes: 11 additions & 0 deletions hugo/content/steps/admin/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
+++
title = "Admin"
description = ""
weight = 1
date = "2018-01-08"
lastmodifierdisplayname = "Naresh Rayapati"
+++

### Admin Steps

{{% children depth="2" showhidden="true" %}}
59 changes: 59 additions & 0 deletions hugo/content/steps/admin/jira_server_info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
+++
title = "Server Info"
description = "More about jiraGetServerInfo step."
tags = ["steps", "server", "info"]
weight = 1
date = "2018-01-08"
lastmodifierdisplayname = "Naresh Rayapati"
+++

### jiraGetServerInfo

This step retrives the server info.

#### Input

* **site** - Optional, default: `JIRA_SITE` environment variable.
* **failOnError** - Optional. default: `true`.

#### Output

* Each step generates generic output, please refer to this [link]({{%relref "getting-started/config/common.md"%}}) for more information.
* The api response of this jira_jql_search step can be reused later in your script by doing `response.data.required_field_name`.
* You can see some example scenarios [here]({{%relref "getting-started/examples"%}})
* All the available fields for a jira response can be found in [JIRA API documentation](https://docs.atlassian.com/jira/REST/) depending on your JIRA version.

{{% notice note %}}
`response.data` returns all the fields returned by JIRA API.
{{% /notice %}}

#### Examples

* With default [site]({{%relref "getting-started/config/common.md#global-environment-variables"%}}) from global variables.

```groovy
node {
stage('JIRA') {
def serverInfo = jiraGetServerInfo()
echo serverInfo.data.toString()
}
}
```
* `withEnv` to override the default site (or if there is not global site)
```groovy
node {
stage('JIRA') {
withEnv(['JIRA_SITE=LOCAL']) {
def serverInfo = jiraGetServerInfo()
echo serverInfo.data.toString()
}
}
}
```
* Without environment variables.
```groovy
def serverInfo = jiraGetServerInfo site: 'LOCAL', failOnError: true
echo serverInfo.data.toString()
```
2 changes: 1 addition & 1 deletion hugo/content/steps/attachment/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Attachment"
description = ""
weight = 1
weight = 2
date = "2018-02-14"
lastmodifierdisplayname = "Naresh Rayapati"
+++
Expand Down
2 changes: 1 addition & 1 deletion hugo/content/steps/comment/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Comment"
description = ""
weight = 1
weight = 3
date = "2017-11-12"
lastmodifierdisplayname = "Naresh Rayapati"
+++
Expand Down
2 changes: 1 addition & 1 deletion hugo/content/steps/component/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Component"
description = ""
weight = 2
weight = 4
date = "2017-11-12"
lastmodifierdisplayname = "Naresh Rayapati"
+++
Expand Down
2 changes: 1 addition & 1 deletion hugo/content/steps/issue/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Issue"
description = ""
weight = 3
weight = 5
date = "2017-11-12"
lastmodifierdisplayname = "Naresh Rayapati"
+++
Expand Down
2 changes: 1 addition & 1 deletion hugo/content/steps/issuelink/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Issue Link"
description = ""
weight = 4
weight = 6
date = "2017-11-12"
lastmodifierdisplayname = "Naresh Rayapati"
+++
Expand Down
2 changes: 1 addition & 1 deletion hugo/content/steps/project/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Project"
description = ""
weight = 5
weight = 7
date = "2017-11-12"
lastmodifierdisplayname = "Naresh Rayapati"
+++
Expand Down
2 changes: 1 addition & 1 deletion hugo/content/steps/search/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Search"
description = ""
weight = 6
weight = 8
date = "2017-11-12"
lastmodifierdisplayname = "Naresh Rayapati"
+++
Expand Down
2 changes: 1 addition & 1 deletion hugo/content/steps/user/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "User"
description = ""
weight = 7
weight = 9
date = "2017-11-12"
lastmodifierdisplayname = "Naresh Rayapati"
+++
Expand Down
2 changes: 1 addition & 1 deletion hugo/content/steps/version/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Version"
description = ""
weight = 8
weight = 10
date = "2017-11-12"
lastmodifierdisplayname = "Naresh Rayapati"
+++
Expand Down
2 changes: 1 addition & 1 deletion hugo/content/steps/watcher/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Watcher"
description = ""
weight = 9
weight = 11
date = "2017-11-12"
lastmodifierdisplayname = "Naresh Rayapati"
+++
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>2.21</version>
</parent>
<artifactId>jira-steps</artifactId>
<version>1.4.4-SNAPSHOT</version>
<version>1.4.5-SNAPSHOT</version>
<packaging>hpi</packaging>
<name>JIRA Pipeline Steps</name>
<description>JIRA Pipeline Steps</description>
Expand Down

0 comments on commit 531d3b5

Please sign in to comment.