Support a tombstoned plugin dependency that will never be satisfied by a source build

This commit is contained in:
R. Tyler Croy 2017-07-19 18:43:16 -07:00
parent d781a1aea2
commit 36b43d2d91
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,11 @@ pushd $REPOS_DIR
done;
set +e
# Handle an old tombstoned dependency which will not build from source
# anymore :(
# https://github.com/jenkinsci/pipeline-model-definition-plugin/blob/master/pipeline-model-definition/pom.xml#L117-L123
curl https://repo.jenkins-ci.org/releases/org/jenkinsci/plugins/pipeline-model-declarative-agent/1.1.1/pipeline-model-declarative-agent-1.1.1.hpi > $PLUGINS_OUTPUT_DIR/pipeline-model-declarative-agent.hpi
for hpi in $(find . -iname "*.hpi" | grep -v "test-classes" | grep -v "target/plugins/"); do
cp $hpi $PLUGINS_OUTPUT_DIR
done;