I think I may have made some progress, but I think I need a component for
my plugin (id "jslint") on Jira? I can't see any way to create a component,
and the Atlassian docs suggest that is an administrator task?


On 2 January 2013 12:24, Gavin Davies <[email protected]> wrote:

> Thanks Nicolas, I didn't know that could be done from my end! I get the
> following error, however:
>
> $ mvn release:prepare
> [INFO] Scanning for projects...
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Box UK - JSLint 0.7.2-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-release-plugin:2.2.1:prepare (default-cli) @ jslint ---
> [INFO] Resuming release from phase 'scm-check-modifications'
> [INFO] Verifying that there are no local modifications...
> [INFO]   ignoring changes on: pom.xml.next, release.properties,
> pom.xml.releaseBackup, pom.xml.backup, pom.xml.branch, pom.xml.tag
> [INFO] Executing: /bin/sh -c cd /opt/BoxUK/jenkins/jslint4 && svn
> --non-interactive status
> [INFO] Working directory: /opt/BoxUK/jenkins/jslint4
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.366s
> [INFO] Finished at: Wed Jan 02 12:17:03 GMT 2013
> [INFO] Final Memory: 12M/210M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-release-plugin:2.2.1:prepare (default-cli)
> on project jslint: Cannot prepare the release because you have local
> modifications :
> [ERROR] [README.md:modified]
> [ERROR] [pom.xml:modified]
> [ERROR]
> [src/main/java/com/boxuk/jenkins/jslint/JSLintBuilder.java:modified]
> [ERROR] [src/main/java/com/boxuk/jenkins/jslint/LintRunner.java:modified]
> [ERROR]
> [src/main/resources/com/boxuk/jenkins/jslint/JSLintBuilder/config.jelly:modified]
> [ERROR]
> [src/main/resources/com/boxuk/jenkins/jslint/JSLintBuilder/help-arguments.html:unknown]
> [ERROR]
> [src/main/resources/com/boxuk/jenkins/jslint/JSLintBuilder/jslint.js:modified]
> [ERROR]
> [src/test/java/com/boxuk/jenkins/jslint/JSLintBuilderTest.java:modified]
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>
>
> I set up my settings.xml like so:
>
>   <servers>
>      <server>
>        <id>maven.jenkins-ci.org</id> <!-- For parent 1.397 or newer;
> before this use id java.net-m2-repository -->
>        <username>gavd</username>
>        <password>[redacted]</password>
>      </server>
>      ...
>
> My release.properties is:
>
> #release configuration
> #Wed Jan 02 12:11:03 GMT 2013
> preparationGoals=clean verify
> pushChanges=true
> exec.snapshotReleasePluginAllowed=false
> scm.commentPrefix=[maven-release-plugin]
> remoteTagging=true
> completedPhase=check-poms
> scm.tagNameFormat=@{project.artifactId}-@{project.version}
> scm.url=scm\:svn\:https\://svn.jenkins-ci.org/trunk/hudson/plugins/jslint/
>
> I'm a bit confused - I read the docs at
> https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins and I figured
> that someone in the Jenkins project had to fork my plugin into the core
> plugins repo in order to get it listed on the Jenkins plugin manager? A PR
> is open at https://github.com/jenkinsci/jslint-jenkins-plugin/pull/1
>
> Sorry if these are noob questions!
>
> Thanks,
> - Gav
>
>
> On 19 December 2012 14:52, nicolas de loof <[email protected]>wrote:
>
>> what prevent you to deploy a release ?
>> (
>> https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#HostingPlugins-Releasingtojenkinsci.org
>> )
>>
>>
>> 2012/12/19 gavd_UK <[email protected]>
>>
>>> Hi all,
>>>
>>> We have just enhanced this plugin so it exposes all of JSLint's options
>>> :-) You can now, for example, pass in -Dadsafe=true, -Dcontinue=true,
>>> or specify a global set of things that are predefined with
>>> -Dpredef=foo,bar,baz
>>>
>>> The plugin has onscreen documentation explaining this stuff, it's very
>>> easy though!
>>>
>>> Added as of tag 0.7.2.
>>>
>>> Would be cool to get this into the repos so others can easily install it
>>> without having to compile it themselves - how do I go about that?
>>>
>>> Thanks,
>>> - Gav
>>>
>>> On Thursday, July 19, 2012 5:03:25 PM UTC+1, gavd_UK wrote:
>>>>
>>>> Hello,
>>>>
>>>> I've written a Jenkins plugin that I would like to add. It runs JSLint
>>>> and outputs in the Checkstyle format. It doesn't require a build script and
>>>> has no dependencies (e.g. you don't need Rhino or Node installed), you can
>>>> just point it at some files in your checkout. It's useful for a simple way
>>>> to apply JSLint to a build.
>>>>
>>>> The source code and documentation is at:
>>>> https://github.com/boxuk/**jslint-jenkins-plugin<https://github.com/boxuk/jslint-jenkins-plugin>
>>>>
>>>> (there's also a writeup on the company blog http://www.boxuk.com/**
>>>> labs/jslint-jenkins-plugin<http://www.boxuk.com/labs/jslint-jenkins-plugin>
>>>>  **that gives detailed setup instructions)
>>>>
>>>> Thanks,
>>>> - Gav
>>>>
>>>>
>>
>
>
> --
> gavd.co.uk - my site
> unifieddiff.co.uk - monthly tech meetup in Cardiff
> leanpub.com/dealwithit - my book on attitude for coders
> cardiffdevworkshop.com - workshops for programmers
>



-- 
gavd.co.uk - my site
unifieddiff.co.uk - monthly tech meetup in Cardiff
leanpub.com/dealwithit - my book on attitude for coders
cardiffdevworkshop.com - workshops for programmers

Reply via email to