@@ -42,13 +42,14 @@ The goal of this task is to setup your credential in order to start consuming
4242This task helps you to get a package url for a repository.
4343
4444#### 2.1. Attributes
45- | Name | Type | Description | Default | Required |
46- | ----------- | ------ | ------------------------------------------------------------------- | ------- | -------- |
47- | provider | String | the repository provider platform (git-hub, bitbucket...) | n/a | Yes |
48- | repository | String | the repository name | n/a | Yes |
49- | reference | String | the GIT reference of the package | n/a | No |
50- | destination | String | the GIT reference of the package | n/a | No |
51- | property | String | the property in which the download URL or file path will be defined | n/a | No |
45+ | Name | Type | Description | Default | Required |
46+ | ----------- | ------ | ------------------------------------------------------------------- | -------- | -------- |
47+ | provider | String | the repository provider platform (git-hub, bitbucket...) | n/a | Yes |
48+ | repository | String | the repository name | n/a | Yes |
49+ | reference | String | the GIT reference of the package | n/a | No |
50+ | state | String | the allowed build states, can be "complete", "in-progress", or both | complete | No |
51+ | destination | String | the Download destination for the package | n/a | No |
52+ | property | String | the property in which the download URL or file path will be defined | n/a | No |
5253
5354#### 2.2 Example
5455``` xml
@@ -65,6 +66,7 @@ Download the package by adding the destination
6566 provider =" git-hub"
6667 repository =" continuousphp/phing-tasks"
6768 reference =" refs/heads/master"
69+ state =" in-progress,complete"
6870 destination =" /tmp"
6971 property =" package.path" />
7072```
0 commit comments