Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
| #!/usr/bin/env python | |
| # | |
| # Adds the ability to add / modify tasks using a "blocks:" attribute, | |
| # the opposite of "depends:". | |
| # | |
| # This script acts as an on-modify, on-add and on-launch hook at the same time. | |
| # | |
| ### SETUP | |
| # Save this file as | |
| # ~/.task/hooks/on-modify.blocks_attr.py |
| #ivy cached data file for org.digimead#sbt-dependency-manager;0.6.4.3 | |
| #Wed May 29 06:37:34 MSK 2013 | |
| artifact\:ivy\#ivy\#xml\#-1144458947.is-local=true | |
| artifact\:sbt-dependency-manager\#jar\#jar\#-143165437.exists=true | |
| resolver=inter-project | |
| artifact\:ivy\#ivy.original\#xml\#289966412.exists=true | |
| artifact\:ivy\#ivy.original\#xml\#289966412.is-local=true | |
| artifact\:ivy\#ivy.original\#xml\#289966412.location=/home/ezh/.ivy2/local/org.digimead/sbt-dependency-manager/scala_2.9.2/sbt_0.12/0.6.4.3/ivys/ivy.xml | |
| artifact\:sbt-dependency-manager\#jar\#jar\#-143165437.is-local=true | |
| artifact\:sbt-dependency-manager\#jar\#jar\#-143165437.location=/home/ezh/.ivy2/local/org.digimead/sbt-dependency-manager/scala_2.9.2/sbt_0.12/0.6.4.3/jars/sbt-dependency-manager.jar |
| The problem is: | |
| string 91 org.apache.ivy.plugins.resolver.ChainResolver returns cached dependency (org.digimead#sbt-dependency-manager;0.6.4.3 in this case) with sbt.ProjectResolver | |
| "ProjectResolver(inter-project, mapped: com.jsuereth#sbt-ghpages-plugin;0.4.0, reaktor#sbt-scct;0.2-SNAPSHOT, com.github.theon#xsbt-coveralls-plugin;0.0.3-SNAPSHOT, pamflet-plugin#pamflet-plugin;0.1-SNAPSHOT)" | |
| sbt.ProjectResolver hasn't any relation to artifact org.digimead#sbt-dependency-manager;0.6.4.3 and returns empty download report: method def download(artifacts: Array[IArtifact], options: DownloadOptions): DownloadReport line 48. Project dependency lost :-( Load sequence broken. | |
| ModuleDescriptor | |
| module: plugins#plugins;0.1-SNAPSHOT status=integration publication=Mon May 27 23:34:31 MSK 2013 configurations={compile=compile, runtime=runtime, test=test, provided=provided, optional=optional, compile-internal=compile-internal, runtime-internal=runtime-internal, test-internal=test-internal, plugin=plugin, sources=sources, do |