Comments (4)
We have a privately hosted repository which mirrors maven-central. And we would like to use it for downloading allure's package.
Currently this is impossible as you cannot supply basic authentication for the download (as previously reported in a comment: allure-framework/allure2#832 (comment)).
If allure would leverage gradle's functionality for downloading packages, our use case would be supported as well.
from allure-gradle.
This PR leverages Gradle dependency resolution for allure-commandline
download: #61
So both dependency cahcing and dependency verification would work.
Please feel free to try it and provide feedback
from allure-gradle.
Hi,
I stumbled over this thread facing the same problem that I want to use a maven proxy and try to avoid using a http proxy.
Somehow I found myself unable to configure the download extension because it seems not to be available during configuration phase. In the end nothing works for me so I configured my build the following way and it works like a charm.
plugins {
id 'java'
id 'io.qameta.allure' version '2.8.1'
}
repositories {
maven {
url 'https://maven.example.com/proxy'
}
}
configurations {
allureCommandline
}
dependencies {
allureCommandline group: "io.qameta.allure", name: "allure-commandline", version: "2.14.0", ext: "zip"
}
task getAllure(type: Copy) {
from zipTree(configurations.allureCommandline.singleFile)
into "${rootDir}/.allure"
doLast {
downloadAllure.enabled = false
}
}
test.finalizedBy('getAllure')
getAllure.finalizedBy('allureReport')
Just want to share this in case someone else run into the same trouble...
Would be nice if this is the standard behaviour.
Anyways, @vlsi thanks for this great plugin.
BR
from allure-gradle.
Implemented in #61
from allure-gradle.
Related Issues (20)
- allureServe/allureReport task failing after the second run if category.json is saved under test/resources
- Allure result json doesn't contain any indication of group annotation when running a test which is executed as gradle task
- Invalid output property causes Gradle build cache miss
- Add support for Spock2 HOT 4
- Last version of Allure plugin (gradle) does not work properly HOT 4
- Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. HOT 1
- Add option to generate a single-file report via Gradle task
- Configuration cache: Cannot set the value of a property of type [...].Configuration using a provider of type [...].DefaultFileCollectionFactory$ResolvingFileCollection
- Allure gradle plugin causes execution of additonal test sets as part of build task HOT 3
- spi-off transformer should be disabled in case autoconfigure=false
- Able use custom java sdk HOT 2
- No reports are generated when using latest Allure version (2.16.1) HOT 3
- Allure commandline is downloaded into `build/allure` folder, but previously it was donwloaded into `.allure` folder in the project root HOT 1
- Issue integrating allure-plugin into build-conventions HOT 1
- Allure does not work together with reckon plugin HOT 2
- Aspectj dumps ajcore.txt files when applying allure-gradle plugin in project with spring-boot HOT 12
- Allure reports not generating after upgrading allure version from 2.8.1 to 2.9.4 HOT 2
- Example for report aggregation? HOT 1
- ClassCastException with Gradle 7.5-milestone-1 HOT 11
- Ignoring Aspectj version in allureAspectjWeaverAgent and allure extension without explicit implementation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allure-gradle.