Compare commits

..

No commits in common. "846965c41ee53d0665699691f695fe35fbe3a33b" and "85bdd4c9baf4bf6b9f20fd4b669612924cc8dbfa" have entirely different histories.

2 changed files with 3 additions and 2 deletions

2
Jenkinsfile vendored
View File

@ -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": "prCommitHash"}' \
-d '{"tag_name": "${env.NEW_VERSION}", "name": "Release ${env.NEW_VERSION}", "target_commitish": "main"}' \
"${env.GITEA_REPOSITORY_URL}deployer3000/${env.IMAGE_NAME}/releases"
"""
echo "New release succeeded!"

View File

@ -3,3 +3,4 @@
```bash
docker build -t test-ci-cd .
docker run --rm --name test-ci-cd -p 8000:8080 test-ci-cd:latest
123