Compare commits
3 Commits
85bdd4c9ba
...
846965c41e
| Author | SHA1 | Date |
|---|---|---|
|
|
846965c41e | |
|
|
9f288fb3fa | |
|
|
2f359f6b81 |
|
|
@ -106,7 +106,7 @@ pipeline {
|
|||
sh """
|
||||
curl -v -X POST -u "${GITEA_USER}:${GITEA_PASS}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"tag_name": "${env.NEW_VERSION}", "name": "Release ${env.NEW_VERSION}", "target_commitish": "main"}' \
|
||||
-d '{"tag_name": "${env.NEW_VERSION}", "name": "Release ${env.NEW_VERSION}", "target_commitish": "prCommitHash"}' \
|
||||
"${env.GITEA_REPOSITORY_URL}deployer3000/${env.IMAGE_NAME}/releases"
|
||||
"""
|
||||
echo "New release succeeded!"
|
||||
|
|
|
|||
Loading…
Reference in New Issue