Coder Social home page Coder Social logo

jenkinsci / datatheorem-mobile-app-security-plugin Goto Github PK

View Code? Open in Web Editor NEW
1.0 5.0 4.0 167 KB

Home Page: https://plugins.jenkins.io/datatheorem-mobile-app-security/

License: MIT License

Java 96.58% HTML 3.42%
jenkins-security jenkins-ios jenkins-android

datatheorem-mobile-app-security-plugin's Introduction

Data Theorem Mobile App Security Plugin

This plugin allows customers to upload PreProd mobile binaries directly to Data Theorem for security scanning, as part of your CI/CD pipeline.

Using the plugin in your Jenkins instance

To use the plugin, you need a Data Theorem account with a subscription. To find your API Key you can follow: https://datatheorem.github.io/PortalApi/upload_api.html

Local development

  • Install Java
  • Install official java JDK 8
  • Install maven
  • At the root of the project run a new Jenkins project with the plugin included using $ mvn hpi:run

Manually testing the plugin

  • At the root of the project run the plugin using $ mvn hpi:run
  • Connect to the Jenkins webpage at http://localhost:8080/jenkins
  • From the global configuration page install credentials and credentials plugins
  • Create a new job and add a post build action named : "Upload Build To Data Theorem"

Launch the tests

mvn clean test

Updating version

You should update the version variable from the SendBuildAction and from pom.xml when releasing a new plugin version

Deploy a release

Before deploying the project, ensure you have the permission rights https://github.com/jenkins-infra/repository-permissions-updater/

Then execute the following commands:

Prepare for new deployment

$ mvn release:prepare

Ensure that the generate release.properties file is referring to the right repository:

[email protected]/jenkinsci/datatheorem-mobile-app-security-plugin.git

Perform the release:

$ mvn release:perform

If there is an issue with the deployment, please refer to the jenkins manual deployment guide: https://www.jenkins.io/doc/developer/publishing/releasing-manually/

Testing the release in production

Wait for the jenkins release to be available . It may take up to 4hours. Once the plugin is available, you should see it at: https://plugins.jenkins.io/datatheorem-mobile-app-security/#releases

Then create a whole new jenkins environment with docker

$ docker run -p 8080:8080 -p 50000:50000 jenkins/jenkins:2.316-jdk11

Install the plugin and uses it to deploy a mobile application

datatheorem-mobile-app-security-plugin's People

Contributors

marc-tranzer avatar superlama avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.