I started to make this changes, so I can learn a little bit more about the
internal of Jenkins. But now I'm stuck when it comes to using Jelly.
What I did:
LogRotator
{
List<LogRotatorRule>
}
LogRotatorRule
{
enum RuleBuildResultState
enum RuleBuildResultAction
...
}
I modified jelly of LogRotatorTask, but the selection fields are not
filled with the enum values. How can I debug this ?
Is there some output at runtime or compile time which shows
warnings/errors ?
I searched through the Jenkins tutorials but didn't find any useful
information about debugging jelly.
My changes can be found under:
https://github.com/AndreGross/jenkins
So if anybody has a few minutes to take a look and give me a hint it would
be great. The files are:
core\src\main\resources\hudson\tasks\LogRotator\config.jelly
core\src\main\java\hudson\tasks\LogRotator.java
core\src\main\java\hudson\tasks\LogRotatorRule.java
Thanks,
Andre
> I want to make the cleanup of old builds more configurable with rules.
You can have n rules.
> Each rule consists of:
> BuildResultState: All | Stable | Unstable | Failed |
> Action: Remove Build | Remove Artifact
> Max Nr Type: Days | Builds
> Max Nr: Number to enter
> Usecase (for me):
> I want to keep at most 25 builds in total, but only the last unstable
and the last 2 or 3 failed builds.
> And to save space I only want to keep the artifacts of the last 5 stable
builds.
> Would this be something which would be accepted for Jenkins ? I don't
want to maintain a fork all the time.
> It should be possible to convert old configurations to the new format
after update of jenkins. So no backward compatibility issues.
> If the idea is ok, could someone point me the places were the
configuration and the cleanup is done.
> This would save me some time, since I'm pretty new in the jenkins code.
Andre
_____________________________________________________________________________________
André Groß | Schneider Electric | Industry Business | Germany |
Software Projectleader
Phone: ++49 (0) 6182 81 ext. 2646 |
Email: [email protected] | Site:
www.schneider-electric.com | Address: Schneider Electric Automation
GmbH, Steinheimer Strasse 117, 63500 Seligenstadt, Germany
*** Please consider the environment before printing this e-mail
domi <[email protected]>
Gesendet von: [email protected]
11.04.2012 15:13
Bitte antworten an
[email protected]
An
[email protected]
Kopie
Thema
Re: JIRA 12854
send a pull request to https://github.com/jenkinsci/winstone
/Domi
On 11.04.2012, at 14:20, [email protected] wrote:
Hi,
I made changes to winstone to allow downloading of files greater than 4
GB.
It was more or less just changing some datatypes from int to long.
How can I submit it or who's responsible to take my changes ?
Regards,
Andre Groß
_____________________________________________________________________________________
André Groß | Schneider Electric | Industry Business | Germany |
Software Projectleader
Phone: ++49 (0) 6182 81 ext. 2646 |
Email: [email protected] | Site:
www.schneider-electric.com | Address: Schneider Electric Automation
GmbH, Steinheimer Strasse 117, 63500 Seligenstadt, Germany
*** Please consider the environment before printing this e-mail
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________