All,

I am attempting to release a newer version of my plugin but notice the 
final upload step appears to be uploading an old, existing, version of it. 
Consequently it fails.

In my POM (attached) I have a newer version number that supersedes the 
existing. Would someone mind giving me a few tips as to where else I might 
need to update my project to ensure the release step reflects the desired 
version number? I'm sure this is user error I can learn from.

Normal builds perform as expected, both as manual plugin uploads and CI off 
the project Github.


Thank you in advance!

Ryan Black





*Github:*

https://github.com/jenkinsci/fortify-on-demand-uploader-plugin



*Error snip*:


[INFO] Uploading: 
http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jenkins-ci/plugins/fortify-on-demand-uploader
/1.0/fortify-on-demand-uploader-1.0.pom
[INFO] 2/3 KB
[INFO] 3/3 KB
[INFO]
[INFO] [INFO] 
------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] 
------------------------------------------------------------------------
[INFO] [INFO] Total time: 53.498 s
[INFO] [INFO] Finished at: 2016-02-24T10:01:30-06:00
[INFO] [INFO] Final Memory: 61M/893M
[INFO] [INFO] 
------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy (default-deploy) on 
project fortify-on-demand-uploader: Failed to deploy artifacts: Co
uld not transfer artifact 
org.jenkins-ci.plugins:fortify-on-demand-uploader:hpi:1.0 from/to 
maven.jenkins-ci.org 
(http://maven.jenkins-ci.org:8081/content/repositories/releases): A
ccess denied to: 
http://maven.jenkins-ci.org:8081/content/repositories/releases/org/jenkins-ci/plugins/fortify-on-demand-uploader/
1.0/fortify-on-demand-uploader-1.0.hpi, ReasonPhra
se: Forbidden. -> [Help 1]



*POM*


<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<!-- Baseline Jenkins version you use to build and test the plugin. Users 
must have this version or newer to run. -->
<version>1.580.1</version>
<relativePath />
</parent>
<artifactId>fortify-on-demand-uploader</artifactId>
<version>1.01</version>
<packaging>hpi</packaging>

<name>Fortify on Demand Uploader Plugin</name>
<description>Gathers build artifacts and uploads them to Fortify on Demand 
service with user-specified options.</description>
<url>https://wiki.jenkins-ci.org/display/JENKINS/Fortify+On+Demand+Uploader+Plugin</url>
<licenses>
<license>
<name>MIT License</name>
<url>http://opensource.org/licenses/MIT</url>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/HPFOD/FoD-Jenkins.git</connection>
<developerConnection>scm:git:[email protected]:jenkinsci/fortify-on-demand-uploader-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/fortify-on-demand-uploader-plugin</url>
 <tag>HEAD</tag>
  </scm>
 <developers>
    <developer>
      <id>ryancblack</id>
      <name>Ryan Black</name>
      <email>[email protected]</email>
    </developer>
        <developer>
      <id>michael-a-marshall</id>
      <name>Michael Marshall</name>
      <email>[email protected]</email>
    </developer>
  </developers>
<repositories>
<repository>
<id>repo.jenkins-ci.org</id>
<url>http://repo.jenkins-ci.org/public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>repo.jenkins-ci.org</id>
<url>http://repo.jenkins-ci.org/public/</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.4</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
  <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.9</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
    </plugin>
</plugins>
</build>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.1</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.1</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>

-- 
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/ca5dfb31-fe35-44df-b179-5b372284f366%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to