Skip to content

Commit

Permalink
[JENKINS-44458] Disable wizard by default in hpi:run
Browse files Browse the repository at this point in the history
  • Loading branch information
andresrc committed May 23, 2017
1 parent 18f3edc commit c099add
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,10 @@
Changelog
====

### Unreleased

* Setup Wizard disabled by default when using `hpi:run`. To enable it use `-DenableWizard`.

### 2.29

Release date: 2017, May 19
Expand Down
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -151,6 +151,13 @@ or

mvn -Pjenkins-651 hpi:run

## Setup Wizard

By default, the setup wizard (Jenkins >= 2.0) is skipped when using `hpi:run`. If you want the wizard to be enabled just run:

mvn -DenableWizard hpi:run


## For maintainers

You can run
Expand Down
21 changes: 21 additions & 0 deletions pom.xml
Expand Up @@ -1339,5 +1339,26 @@
</plugins>
</build>
</profile>
<profile>
<id>disableWizard</id>
<activation>
<property>
<name>!enableWizard</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.jenkins-ci.tools</groupId>
<artifactId>maven-hpi-plugin</artifactId>
<configuration>
<systemProperties>
<jenkins.install.state>TEST</jenkins.install.state>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit c099add

Please sign in to comment.