test
This commit is contained in:
parent
ae0f63b55a
commit
3d92bf8324
@ -5,9 +5,9 @@ data=$(curl -g "https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle/lastStabl
|
||||
relativePath=$(grep -oPm1 "(?<=<relativePath>)[^<]+" <<< "$data")
|
||||
jarFile=$(grep -oPm1 "(?<=<fileName>)[^<]+" <<< "$data")
|
||||
|
||||
echo ${BRANCH_NAME}
|
||||
echo $1
|
||||
|
||||
if [[ $BRANCH_NAME=="master" ]]; then
|
||||
if [[ $1="master" ]]; then
|
||||
url="https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle/lastStableBuild/artifact/"${relativePath}
|
||||
else
|
||||
url="https://jenkins.seb6596.ovh/job/Bot%20Discord%20Gradle%20Devel/lastStableBuild/artifact/"${relativePath}
|
||||
|
Loading…
Reference in New Issue
Block a user