Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
steps to reproduce:
- create a multi-configuration project
- add a Label Expression axis
- delete the expression name
- click save
Attachments
Issue Links
- is related to
-
JENKINS-25448 NPE on job save when no expressions provided for label expression axis
-
- Resolved
-
Code changed in jenkins
User: Oliver Gondža
Path:
src/main/java/hudson/matrix/AxisDescriptor.java
src/main/java/hudson/matrix/JDKAxis.java
src/main/java/hudson/matrix/LabelExpAxis.java
src/main/java/hudson/matrix/MatrixProject.java
src/main/java/hudson/matrix/TextAxis.java
src/main/resources/hudson/matrix/Messages.properties
src/test/java/hudson/matrix/AxisDescriptorTest.java
src/test/java/hudson/matrix/AxisTest.java
http://jenkins-ci.org/commit/matrix-project-plugin/1bdbe10c552928ce2547df3fc180c1c5db4d9588
Log:
Merge pull request #14 from olivergondza/validate-axes
[FIXED JENKINS-9277 JENKINS-25448 JENKINS-23614] Disallow special chars in axis names and values
Compare: https://github.com/jenkinsci/matrix-project-plugin/compare/6be15fe17421...1bdbe10c5529