Skip to content

Commit

Permalink
Merge pull request #3 from verifa/fix/prepare-for-publishing
Browse files Browse the repository at this point in the history
update file headers, add github actions YML file, change artifactId i…
  • Loading branch information
kallesoranko authored Jan 3, 2020
2 parents 1e19447 + f27843e commit 671c38e
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 13 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Java CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B package --file pom.xml

1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
buildPlugin()
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2019 Verifa
Copyright (c) 2018-2020 Verifa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>3.4</version>
<version>3.55</version>
<relativePath />
</parent>
<groupId>io.jenkins.plugins</groupId>
<artifactId>cantata-plugin</artifactId>
<artifactId>cantata</artifactId>
<version>0.1.1</version>
<packaging>hpi</packaging>

Expand Down
6 changes: 4 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ Debug locally with `mvn hpi:run`.

### How to deploy to Jenkins

Package with `mvn package` and then `target/cantata-plugin.hpi`-file is created and that file can bve imported to Jenkins from Manage Jenkins -> Manage Plugins -> Advanced -> Upload Plugin.
Package with `mvn package` and then `target/cantata-plugin.hpi`-file is created and that file can be imported to Jenkins from:

> Manage Jenkins -> Manage Plugins -> Advanced -> Upload Plugin.
### License

Copyright (C) Verifa Oy, 2019.
Copyright &copy; Verifa Oy, 2019-2020.

See the [LICENSE](./LICENSE) file in the root of this project for license details.

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/verifa/cantata/CantataConstants.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Verifa Oy, 2019.
* Copyright (c) Verifa Oy, 2019-2020.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/verifa/cantata/CantataLogger.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Verifa Oy, 2019.
* Copyright (c) Verifa Oy, 2019-2020.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/verifa/cantata/CantataRunTestBuilder.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Verifa Oy, 2019.
* Copyright (c) Verifa Oy, 2019-2020.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/verifa/cantata/CantataWrapper.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Verifa Oy, 2019.
* Copyright (c) Verifa Oy, 2019-2020.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/verifa/cantata/utils/CantataUtils.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Verifa Oy, 2019.
* Copyright (c) Verifa Oy, 2019-2020.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Verifa Oy, 2019.
* Copyright (c) Verifa Oy, 2019-2020.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/verifa/cantata/CantataWrapperTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Verifa Oy, 2019.
* Copyright (c) Verifa Oy, 2019-2020.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Verifa Oy, 2019.
* Copyright (c) Verifa Oy, 2019-2020.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down

0 comments on commit 671c38e

Please sign in to comment.