1
0
mirror of synced 2026-08-05 17:57:15 +00:00
Files
spring-security/scripts/release/push-to-spring-distributions.sh
T

7 lines
402 B
Bash
Raw Permalink Normal View History

2019-06-19 13:27:35 -06:00
#!/bin/bash
BUILD_NUMBER=$1
ENCRYPTED_ARTIFACTORY_PWD=$2
export ARTIFACTORY_BUILD_API_URL=https://repo.spring.io/api/build/distribute/Spring%20Security%20-%204.2.x%20-%20Default%20Job/$BUILD_NUMBER
curl -i -u buildmaster:$ENCRYPTED_ARTIFACTORY_PWD -XPOST $ARTIFACTORY_BUILD_API_URL -H "Content-Type: application/json" -d '{"sourceRepos": ["libs-release-local"], "targetRepo": "spring-distributions"}'