Skip to content

Commit

Permalink
Merge pull request #14 from nofarb/master
Browse files Browse the repository at this point in the history
fix deployment reporting
  • Loading branch information
TP Honey authored Apr 12, 2023
2 parents b4e5d0e + 6031097 commit 6aee062
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"io"
"net/http"
"net/http/httputil"
"strconv"
"time"

"github.com/sirupsen/logrus"
Expand Down Expand Up @@ -107,14 +108,14 @@ func Exec(ctx context.Context, args Args) error {
Values: []string{issue},
},
},
Displayname: version,
Displayname: strconv.Itoa(args.Build.Number),
URL: deeplink,
Description: args.Commit.Message,
Lastupdated: time.Now(),
State: state,
Pipeline: JiraPipeline{
ID: args.Name,
Displayname: args.Commit.Author.Username,
Displayname: args.Name,
URL: deeplink,
},
Environment: Environment{
Expand Down

0 comments on commit 6aee062

Please sign in to comment.