Compare commits
No commits in common. "7b5b4437213b4f026fb4345637b7082d4efb40e2" and "f1a9f19962bbc8ce65b828a6ccd538d38c94abc2" have entirely different histories.
7b5b443721
...
f1a9f19962
|
|
@ -30,7 +30,7 @@ pipeline {
|
|||
stage ('Initialize variables') {
|
||||
steps {
|
||||
script {
|
||||
def lastVersion = sh(script: "git describe --tags --abbrev=0", returnStdout: true).trim()
|
||||
lastVersion = sh(script: "git describe --tags --abbrev=0", returnStdout: true).trim()
|
||||
|
||||
if (!lastVersion) {
|
||||
lastVersion = "0.0.0"
|
||||
|
|
@ -91,7 +91,7 @@ pipeline {
|
|||
"${env.GITEA_REPOSITORY_URL}deployer3000/${env.IMAGE_NAME}/releases"
|
||||
"""
|
||||
echo "New release succeeded!"
|
||||
|
||||
|
||||
sh """
|
||||
curl -X POST \
|
||||
-u "${GITEA_USER}:${GITEA_PASS}" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue