diff --git a/Jenkinsfile b/Jenkinsfile index b08ab58..cf1f73c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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!" diff --git a/README.md b/README.md index 87f8f4f..d0027cf 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file +docker run --rm --name test-ci-cd -p 8000:8080 test-ci-cd:latest \ No newline at end of file