Re: Publishing plugin use a bad url

2019-06-12 Thread Thomas POUIT
Hello,

Thank you slide, you're right: I was missing the whole scm section in my 
pom! Now it's working. It's my first release...
Thank you also Jesse: I see from your link that I can use a netbeans plugin 
for developing Jenkins plugins. I will test it.

Thank you both :-)

-- 
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/51dfed35-82aa-46ec-a292-8bcd6c248197%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Publishing plugin use a bad url

2019-06-11 Thread Slide
Looks like the  is missing git@ in the github url.

On Tue, Jun 11, 2019 at 1:36 PM Jesse Glick  wrote:

> On Tue, Jun 11, 2019 at 4:21 PM Slide  wrote:
> > Seems like its picking up the scm info from here
> https://github.com/jenkinsci/plugin-pom/blob/master/pom.xml#L39, but I am
> not sure why it would do that.
>
> Presumably because it was not overridden properly.
>
> I would encourage everyone, especially those with less familiarity
> with Maven, to use
>
> https://github.com/jenkinsci/archetypes
>
> --
> 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 jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2B2UMXkpd8qs8NWfgzhbqYnKuug%3D3KsZ9byU02oV2zwA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Website: http://earl-of-code.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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAPiUgVeM11bUYC1cB3jOJGe2cEbkzdZAb0anKLRXfCAbq7XfHw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Publishing plugin use a bad url

2019-06-11 Thread Jesse Glick
On Tue, Jun 11, 2019 at 4:21 PM Slide  wrote:
> Seems like its picking up the scm info from here  
> https://github.com/jenkinsci/plugin-pom/blob/master/pom.xml#L39, but I am not 
> sure why it would do that.

Presumably because it was not overridden properly.

I would encourage everyone, especially those with less familiarity
with Maven, to use

https://github.com/jenkinsci/archetypes

-- 
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2B2UMXkpd8qs8NWfgzhbqYnKuug%3D3KsZ9byU02oV2zwA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Publishing plugin use a bad url

2019-06-11 Thread Slide
Seems like its picking up the scm info from here
https://github.com/jenkinsci/plugin-pom/blob/master/pom.xml#L39, but I am
not sure why it would do that. Can you run `mvn help:effective-pom` to see
if something weird is going on?

On Tue, Jun 11, 2019 at 12:54 PM Thomas POUIT  wrote:

> Hello,
> I'm trying to publish my new plugin, but I get a 
> "jenkinsci/plugin-pom.git/
> is not a valid repository name" error. I do not understand why it is
> trying to publish under plugin-pom.git. Nowhere in my sources I refer to
> a plugin-pom repo!
>
> Here is the exact error message:
>
> [INFO]
> [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @
> castecho ---
> [INFO] Installing
> C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin\target\castecho.hpi
> to
> C:\Users\TPO\.m2\repository\io\jenkins\plugins\castecho\1.0.0\castecho-1.0.0.hpi
> [INFO] Installing
> C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin\pom.xml to
> C:\Users\TPO\.m2\repository\io\jenkins\plugins\castecho\1.0.0\castecho-1.0.0.pom
> [INFO] Installing
> C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin\target\castecho.jar
> to
> C:\Users\TPO\.m2\repository\io\jenkins\plugins\castecho\1.0.0\castecho-1.0.0.jar
> [INFO]
> 
> [INFO] BUILD SUCCESS
> [INFO]
> 
> [INFO] Total time: 01:17 min
> [INFO] Finished at: 2019-06-11T11:28:11+02:00
> [INFO] Final Memory: 85M/1650M
> [INFO]
> 
> Checking in modified POMs...
> Executing: cmd.exe /X /C "git add -- pom.xml"
> Working directory:
> C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
> Executing: cmd.exe /X /C "git rev-parse --show-toplevel"
> Working directory:
> C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
> Executing: cmd.exe /X /C "git status --porcelain ."
> Working directory:
> C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
> Ignoring unrecognized line: ?? .gitignore
> Ignoring unrecognized line: ?? pom.xml.releaseBackup
> Ignoring unrecognized line: ?? release.properties
> Executing: cmd.exe /X /C "git commit --verbose -F
> C:\Users\TPO\AppData\Local\Temp\maven-scm-1728998852.commit pom.xml"
> Working directory:
> C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
> Executing: cmd.exe /X /C "git symbolic-ref HEAD"
> Working directory:
> C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
> *Executing: cmd.exe /X /C "git push
> ssh:@github.com/jenkinsci/plugin-pom.git/castecho
> 
> refs/heads/master:refs/heads/master"*
> Working directory:
> C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
> 
> BUILD FAILURE
> 
> Total time: 01:35 min
> Finished at: 2019-06-11T11:28:14+02:00
> Final Memory: 23M/289M
> Failed
> to execute goal org.apache.maven.plugins: maven-release-plugin: 2.5.3:
> prepare (default-cli) on project castecho: Unable to commit files
> Provider message:
> The git-push command failed.
> Command output:
> warning: CRLF will be replaced by LF in pom.xml.
> The file will have its original line in your working directory.
> *fatal: remote error:*
> *  jenkinsci / plugin-pom.git / castecho is not a valid repository name*
>
>
> -> [Help 1]
>
> To see the full stack of errors, re-run Maven with the -e switch.
> Re-run Maven using the -X switch to enable full debug logging.
>
>
> However I followed what was asked here:
> https://jenkins.io/doc/developer/publishing/releasing/
> And my git repo is ready for tag at this location:
> https://github.com/jenkinsci/castecho-plugin
>
> Any help would be welcome to get me out of this mess. :-)
>
> --
> 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 jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/0b3fbd42-e577-4b95-9b3a-7c77f98dbdde%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Website: http://earl-of-code.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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Publishing plugin use a bad url

2019-06-11 Thread Thomas POUIT
Hello,
I'm trying to publish my new plugin, but I get a 
"jenkinsci/plugin-pom.git/ 
is not a valid repository name" error. I do not understand why it is trying 
to publish under plugin-pom.git. Nowhere in my sources I refer to a 
plugin-pom repo!

Here is the exact error message:

[INFO] 
[INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ 
castecho ---
[INFO] Installing 
C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin\target\castecho.hpi 
to 
C:\Users\TPO\.m2\repository\io\jenkins\plugins\castecho\1.0.0\castecho-1.0.0.hpi
[INFO] Installing 
C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin\pom.xml to 
C:\Users\TPO\.m2\repository\io\jenkins\plugins\castecho\1.0.0\castecho-1.0.0.pom
[INFO] Installing 
C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin\target\castecho.jar 
to 
C:\Users\TPO\.m2\repository\io\jenkins\plugins\castecho\1.0.0\castecho-1.0.0.jar
[INFO] 

[INFO] BUILD SUCCESS
[INFO] 

[INFO] Total time: 01:17 min
[INFO] Finished at: 2019-06-11T11:28:11+02:00
[INFO] Final Memory: 85M/1650M
[INFO] 

Checking in modified POMs...
Executing: cmd.exe /X /C "git add -- pom.xml"
Working directory: 
C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
Executing: cmd.exe /X /C "git rev-parse --show-toplevel"
Working directory: 
C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
Executing: cmd.exe /X /C "git status --porcelain ."
Working directory: 
C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
Ignoring unrecognized line: ?? .gitignore
Ignoring unrecognized line: ?? pom.xml.releaseBackup
Ignoring unrecognized line: ?? release.properties
Executing: cmd.exe /X /C "git commit --verbose -F 
C:\Users\TPO\AppData\Local\Temp\maven-scm-1728998852.commit pom.xml"
Working directory: 
C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
Executing: cmd.exe /X /C "git symbolic-ref HEAD"
Working directory: 
C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin
*Executing: cmd.exe /X /C "git push 
ssh:@github.com/jenkinsci/plugin-pom.git/castecho 
refs/heads/master:refs/heads/master"*
Working directory: 
C:\Sources\Jenkins_plugins\Jenkins-plugins\castecho-plugin

BUILD FAILURE

Total time: 01:35 min
Finished at: 2019-06-11T11:28:14+02:00
Final Memory: 23M/289M
Failed 
to execute goal org.apache.maven.plugins: maven-release-plugin: 2.5.3: 
prepare (default-cli) on project castecho: Unable to commit files
Provider message:
The git-push command failed.
Command output:
warning: CRLF will be replaced by LF in pom.xml.
The file will have its original line in your working directory.
*fatal: remote error:*
*  jenkinsci / plugin-pom.git / castecho is not a valid repository name*


-> [Help 1]

To see the full stack of errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.


However I followed what was asked here: 
https://jenkins.io/doc/developer/publishing/releasing/
And my git repo is ready for tag at this location: 
https://github.com/jenkinsci/castecho-plugin

Any help would be welcome to get me out of this mess. :-)

-- 
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/0b3fbd42-e577-4b95-9b3a-7c77f98dbdde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


release.properties
Description: Binary data


pom.xml
Description: XML document