Help, my plugin could't through jenkins ci.

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Help, my plugin could't through jenkins ci.

liuweiGL
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/)


Detail log reference: 


  • 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Help, my plugin could't through jenkins ci.

Ulli Hafner
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 <[hidden email]>:

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/)


Detail log reference: 


  • 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/7EE5293E-D4A0-48A9-8179-F540F5F4C1B1%40gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Help, my plugin could't through jenkins ci.

liuweiGL
No, the jar locatioin in my project repository, and i had use sh mvnCmd to install,it doesn't seem to work.



在 2020年1月22日星期三 UTC+8下午3:04:58,Ullrich Hafner写道:
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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="YmlC492-EAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">liuwe...@...>:

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 (<a href="https://repo.azure.jenkins.io/incrementals/" style="background-color:rgb(51,51,51);color:rgb(74,144,226);font-family:&quot;Source Code Pro&quot;,Menlo,Monaco,Consolas,&quot;Courier New&quot;,monospace;font-size:12px;white-space:pre-wrap" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Frepo.azure.jenkins.io%2Fincrementals%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES8qqvDCeYz3njBGB7hCJ2RvbRwg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Frepo.azure.jenkins.io%2Fincrementals%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES8qqvDCeYz3njBGB7hCJ2RvbRwg&#39;;return true;">https://repo.azure.jenkins.io/incrementals/)


Detail log reference: 

<a href="https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fdingding-notifications-plugin/detail/master/36/pipeline/16" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.jenkins.io%2Fblue%2Forganizations%2Fjenkins%2FPlugins%252Fdingding-notifications-plugin%2Fdetail%2Fmaster%2F36%2Fpipeline%2F16\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE3qG3c_6aXA-YwmCAyZkdz--6kIg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.jenkins.io%2Fblue%2Forganizations%2Fjenkins%2FPlugins%252Fdingding-notifications-plugin%2Fdetail%2Fmaster%2F36%2Fpipeline%2F16\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE3qG3c_6aXA-YwmCAyZkdz--6kIg&#39;;return true;">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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="YmlC492-EAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkin...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Help, my plugin could't through jenkins ci.

Ulli Hafner
Then it cannot work: other users cannot build your plugin as well.

Is the jar somehow proprietary and does not use an open source license? Can you please elaborate what this library is about and why it is not in available in a public repository? 
If it is open source then you can deploy the artifact in our Nexus instance.

Am 22.01.2020 um 08:36 schrieb liuweiGL <[hidden email]>:

No, the jar locatioin in my project repository, and i had use sh mvnCmd to install,it doesn't seem to work.



在 2020年1月22日星期三 UTC+8下午3:04:58,Ullrich Hafner写道:
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 <[hidden email]>:

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/)


Detail log reference: 


  • 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 jenkin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com.


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/ED1C8F7F-AA6C-456A-891B-D482E1D0D44D%40gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Help, my plugin could't through jenkins ci.

liuweiGL
The jar belongs to Alibaba, i don't know the reason also, i will consult them.

在 2020年1月22日星期三 UTC+8下午3:42:55,Ullrich Hafner写道:
Then it cannot work: other users cannot build your plugin as well.

Is the jar somehow proprietary and does not use an open source license? Can you please elaborate what this library is about and why it is not in available in a public repository? 
If it is open source then you can deploy the artifact in our Nexus instance.

Am 22.01.2020 um 08:36 schrieb liuweiGL <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Zso2LvDAEAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">liuwe...@...>:

No, the jar locatioin in my project repository, and i had use sh mvnCmd to install,it doesn't seem to work.



在 2020年1月22日星期三 UTC+8下午3:04:58,Ullrich Hafner写道:
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 <[hidden email]>:

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 (<a href="https://repo.azure.jenkins.io/incrementals/" style="background-color:rgb(51,51,51);color:rgb(74,144,226);font-family:&quot;Source Code Pro&quot;,Menlo,Monaco,Consolas,&quot;Courier New&quot;,monospace;font-size:12px;white-space:pre-wrap" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Frepo.azure.jenkins.io%2Fincrementals%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES8qqvDCeYz3njBGB7hCJ2RvbRwg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Frepo.azure.jenkins.io%2Fincrementals%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES8qqvDCeYz3njBGB7hCJ2RvbRwg&#39;;return true;">https://repo.azure.jenkins.io/incrementals/)


Detail log reference: 

<a href="https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fdingding-notifications-plugin/detail/master/36/pipeline/16" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.jenkins.io%2Fblue%2Forganizations%2Fjenkins%2FPlugins%252Fdingding-notifications-plugin%2Fdetail%2Fmaster%2F36%2Fpipeline%2F16\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE3qG3c_6aXA-YwmCAyZkdz--6kIg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.jenkins.io%2Fblue%2Forganizations%2Fjenkins%2FPlugins%252Fdingding-notifications-plugin%2Fdetail%2Fmaster%2F36%2Fpipeline%2F16\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE3qG3c_6aXA-YwmCAyZkdz--6kIg&#39;;return true;">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 [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com.


--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Zso2LvDAEAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkin...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/5e9c2ef9-a3b1-45c4-a9c5-94bc6235ee2c%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Help, my plugin could't through jenkins ci.

liuweiGL
In reply to this post by Ulli Hafner
The jar is sdk of  DingTalk(钉钉), and it belongs to Alibabai don't know the reason also, i will consult them and deploy the artifact in your Nexus instance.

Then, i don't know what to do...
If it is open source then you can deploy the artifact in our Nexus instance

在 2020年1月22日星期三 UTC+8下午3:42:55,Ullrich Hafner写道:
Then it cannot work: other users cannot build your plugin as well.

Is the jar somehow proprietary and does not use an open source license? Can you please elaborate what this library is about and why it is not in available in a public repository? 
If it is open source then you can deploy the artifact in our Nexus instance.

Am 22.01.2020 um 08:36 schrieb liuweiGL <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Zso2LvDAEAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">liuwe...@...>:

No, the jar locatioin in my project repository, and i had use sh mvnCmd to install,it doesn't seem to work.



在 2020年1月22日星期三 UTC+8下午3:04:58,Ullrich Hafner写道:
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 <[hidden email]>:

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 (<a href="https://repo.azure.jenkins.io/incrementals/" style="background-color:rgb(51,51,51);color:rgb(74,144,226);font-family:&quot;Source Code Pro&quot;,Menlo,Monaco,Consolas,&quot;Courier New&quot;,monospace;font-size:12px;white-space:pre-wrap" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Frepo.azure.jenkins.io%2Fincrementals%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES8qqvDCeYz3njBGB7hCJ2RvbRwg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Frepo.azure.jenkins.io%2Fincrementals%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES8qqvDCeYz3njBGB7hCJ2RvbRwg&#39;;return true;">https://repo.azure.jenkins.io/incrementals/)


Detail log reference: 

<a href="https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fdingding-notifications-plugin/detail/master/36/pipeline/16" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.jenkins.io%2Fblue%2Forganizations%2Fjenkins%2FPlugins%252Fdingding-notifications-plugin%2Fdetail%2Fmaster%2F36%2Fpipeline%2F16\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE3qG3c_6aXA-YwmCAyZkdz--6kIg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.jenkins.io%2Fblue%2Forganizations%2Fjenkins%2FPlugins%252Fdingding-notifications-plugin%2Fdetail%2Fmaster%2F36%2Fpipeline%2F16\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE3qG3c_6aXA-YwmCAyZkdz--6kIg&#39;;return true;">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 [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com.


--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Zso2LvDAEAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkin...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/caec2c9d-c1e5-4f16-af81-b7a178482c21%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Help, my plugin could't through jenkins ci.

liuweiGL
In reply to this post by Ulli Hafner
The jar is sdk of  DingTalk(钉钉), and it belongs to Alibabai don't know the reason also, i will consult them and deploy the artifact in your Nexus instance.

But, i don't know what to do... Is there any documentation you can refer to, thank you.

If it is open source then you can deploy the artifact in our Nexus instance

在 2020年1月22日星期三 UTC+8下午3:42:55,Ullrich Hafner写道:
Then it cannot work: other users cannot build your plugin as well.

Is the jar somehow proprietary and does not use an open source license? Can you please elaborate what this library is about and why it is not in available in a public repository? 
If it is open source then you can deploy the artifact in our Nexus instance.

Am 22.01.2020 um 08:36 schrieb liuweiGL <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="Zso2LvDAEAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">liuwe...@...>:

No, the jar locatioin in my project repository, and i had use sh mvnCmd to install,it doesn't seem to work.



在 2020年1月22日星期三 UTC+8下午3:04:58,Ullrich Hafner写道:
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 <[hidden email]>:

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 (<a href="https://repo.azure.jenkins.io/incrementals/" style="background-color:rgb(51,51,51);color:rgb(74,144,226);font-family:&quot;Source Code Pro&quot;,Menlo,Monaco,Consolas,&quot;Courier New&quot;,monospace;font-size:12px;white-space:pre-wrap" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Frepo.azure.jenkins.io%2Fincrementals%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES8qqvDCeYz3njBGB7hCJ2RvbRwg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Frepo.azure.jenkins.io%2Fincrementals%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNES8qqvDCeYz3njBGB7hCJ2RvbRwg&#39;;return true;">https://repo.azure.jenkins.io/incrementals/)


Detail log reference: 

<a href="https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fdingding-notifications-plugin/detail/master/36/pipeline/16" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.jenkins.io%2Fblue%2Forganizations%2Fjenkins%2FPlugins%252Fdingding-notifications-plugin%2Fdetail%2Fmaster%2F36%2Fpipeline%2F16\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE3qG3c_6aXA-YwmCAyZkdz--6kIg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fci.jenkins.io%2Fblue%2Forganizations%2Fjenkins%2FPlugins%252Fdingding-notifications-plugin%2Fdetail%2Fmaster%2F36%2Fpipeline%2F16\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNE3qG3c_6aXA-YwmCAyZkdz--6kIg&#39;;return true;">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 [hidden email].
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com.


--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="Zso2LvDAEAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkin...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/aba6e51d-eff9-4fb1-ab15-2df05f4d532f%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Help, my plugin could't through jenkins ci.

Ulli Hafner
First of all please make sure that we are allowed to publish the API in our public Nexus, I can’t find any English page that references the library.

Am 22.01.2020 um 09:12 schrieb liuweiGL <[hidden email]>:

The jar is sdk of  DingTalk(钉钉), and it belongs to Alibabai don't know the reason also, i will consult them and deploy the artifact in your Nexus instance.

But, i don't know what to do... Is there any documentation you can refer to, thank you.

If it is open source then you can deploy the artifact in our Nexus instance

在 2020年1月22日星期三 UTC+8下午3:42:55,Ullrich Hafner写道:
Then it cannot work: other users cannot build your plugin as well.

Is the jar somehow proprietary and does not use an open source license? Can you please elaborate what this library is about and why it is not in available in a public repository? 
If it is open source then you can deploy the artifact in our Nexus instance.

Am 22.01.2020 um 08:36 schrieb liuweiGL <[hidden email]>:

No, the jar locatioin in my project repository, and i had use sh mvnCmd to install,it doesn't seem to work.



在 2020年1月22日星期三 UTC+8下午3:04:58,Ullrich Hafner写道:
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 <[hidden email]>:

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/)


Detail log reference: 


  • 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/99afdef8-a0aa-4e57-b256-7d0bb729e516%40googlegroups.com.


--
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 jenkin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/b1895bd9-f713-4d84-9528-df4a9e0b687d%40googlegroups.com.


--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/aba6e51d-eff9-4fb1-ab15-2df05f4d532f%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/87088662-3865-4FBB-8E62-5F0E4FD22280%40gmail.com.