All of your dependencies must be available online. Is this jar available 
somewhere in a public maven repository? 

> Am 22.01.2020 um 06:26 schrieb liuweiGL <[email protected]>:
> 
> Jenkinsfile:
> 
> def mvnCmd = "mvn install:install-file -DgroupId=com.dingtalk.open 
> -DartifactId=taobao-sdk-java-auto -Dversion=1.0 -Dpackaging=jar 
> -Dfile=./maven/taobao-sdk-java-auto/taobao-sdk-java-auto_1479188381469-20191227.jar"
> 
> node('maven'){
>     disableConcurrentBuilds()
>     checkout scm
> 
>     stage('Install'){
>         sh mvnCmd
>     }
> 
>     stage('Build'){
>         buildPlugin()
>     }
> }
> 
> Error log:
> 
>  Failed to execute goal on project dingding-notifications: Could not resolve 
> dependencies for project 
> io.jenkins.plugins:dingding-notifications:hpi:2.0.1-SNAPSHOT: Could not find 
> artifact com.dingtalk.open:taobao-sdk-java-auto:jar:1.0 in azure-incrementals 
> (https://repo.azure.jenkins.io/incrementals/ 
> <https://repo.azure.jenkins.io/incrementals/>)
> 
> 
> Detail log reference: 
> 
> https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fdingding-notifications-plugin/detail/master/36/pipeline/16
>  
> <https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fdingding-notifications-plugin/detail/master/36/pipeline/16>
> 
> I've been trying all day, but i still fail. Why? I've installed the 
> dependency locally, it's confusing to me.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/7EE5293E-D4A0-48A9-8179-F540F5F4C1B1%40gmail.com.

Reply via email to