Compare commits

..

No commits in common. "19889e9767fb2203901d2ff9011fcf47ad22b2fe" and "846965c41ee53d0665699691f695fe35fbe3a33b" have entirely different histories.

2 changed files with 2 additions and 3 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": "prCommitHash"}' \
"${env.GITEA_REPOSITORY_URL}deployer3000/${env.IMAGE_NAME}/releases"
"""
echo "New release succeeded!"

View File

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