Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ jobs:
name: Unit tests
command: |
cd stackrox-container-image-scanner
mvn verify
./mvnw verify
- run:
name: Build and package the Jenkins plugin
command: |
cd stackrox-container-image-scanner
mvn package
mvn hpi:hpi
./mvnw package
./mvnw hpi:hpi
- store_test_results:
path: /home/circleci/jenkins-plugin/stackrox-container-image-scanner/target/surefire-reports
- store_artifacts:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
java-version: '8'
cache: 'maven'
- name: Build with Maven
run: mvn package hpi:hpi --file stackrox-container-image-scanner/pom.xml
run: ./mvnw package hpi:hpi --file stackrox-container-image-scanner/pom.xml
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ nohup kubectl port-forward -n jenkins svc/jenkins 8080:8080 &

```
cd stackrox-container-image-scanner
mvn package && mvn hpi:hpi
./mvnw package && ./mvnw hpi:hpi
```

3. Install Plugin
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar
287 changes: 287 additions & 0 deletions stackrox-container-image-scanner/mvnw

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading