Skip to content

Commit

Permalink
Fix some integration issues
Browse files Browse the repository at this point in the history
- Don't hardcode target of UI Form, so it works behind proxies
- Lower plugin GoCD version requirement
  • Loading branch information
Sandro Heinzelmann committed Jan 12, 2021
1 parent 429c53f commit bc04cb1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
apply from: "https://raw.githubusercontent.com/gocd/gocd-plugin-gradle-task-helpers/75a8575/helper.gradle"

def baseGroup = 'com.vary.tenantsecrets'
def baseVersion = '0.0.2'
def baseVersion = '0.0.3'

subprojects {
apply plugin: 'java'
Expand Down Expand Up @@ -40,7 +40,7 @@ subprojects {
gocdPlugin {
id = baseGroup
pluginVersion = baseVersion
goCdVersion = '20.9.0'
goCdVersion = '20.7.0'
name = 'Tenant secrets plugin'
description = 'Generates AES secrets that are bound to a specific pipeline group.'
vendorName = 'sandro-h'
Expand Down
Empty file modified gradlew
100644 → 100755
Empty file.
3 changes: 1 addition & 2 deletions webservice/src/main/resources/templates/secretsForm.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
</style>
</head>
<body>
<!-- <form action="/secrets" method="post">-->
<form action="#" th:action="@{/secrets}" th:object="${request}" method="post">
<form th:object="${request}" method="post">
<h1>GoCD Tenant Secrets</h1>
<p>Use this form to encrypt a secret for use in a specific pipeline group.</p>
<table>
Expand Down

0 comments on commit bc04cb1

Please sign in to comment.