You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by al...@apache.org on 2022/05/15 15:24:22 UTC

[juddi] branch master updated: NOJIRA adds additional CI targets

This is an automated email from the ASF dual-hosted git repository.

alexoree pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juddi.git


The following commit(s) were added to refs/heads/master by this push:
     new dce260520 NOJIRA adds additional CI targets
dce260520 is described below

commit dce260520c2e03998d7311570dcf07e51cf118ef
Author: Alex O'Ree <al...@apache.org>
AuthorDate: Sun May 15 11:24:17 2022 -0400

    NOJIRA adds additional CI targets
---
 .github/workflows/codeql-analysis.yml | 73 ++++++++++++++++-------------------
 1 file changed, 34 insertions(+), 39 deletions(-)

diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 91bab4676..dc69dabef 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -21,6 +21,39 @@ on:
     - cron: '34 23 * * 6'
 
 jobs:
+  name: Build with CI tests
+    runs-on: ubuntu-latest
+    permissions:
+      actions: read
+      contents: read
+      security-events: write
+    strategy:
+      fail-fast: false
+      matrix:
+        language: ['java']
+    steps:
+    - name: Setup Java 8
+      uses: actions/setup-java@v1.4.3
+      with:
+        java-version: '8'
+        java-package: jdk
+        architecture: x64
+        
+    - name: set JDK 8 environment variables 
+      env:
+        ACTIONS_ALLOW_UNSECURE_COMMANDS: true
+      run: echo ::set-env name=JDK_8::$(echo $JAVA_HOME)
+        
+    - name: Checkout repository
+      uses: actions/checkout@v2
+     
+    - name: Install icedtea
+      run: sudo apt-get install -y icedtea-netx
+
+    - name: javabuild
+      run: mvn -B install -Pdist
+      
+
   analyze1:
     name: Analyze
     runs-on: ubuntu-latest
@@ -57,37 +90,11 @@ jobs:
       with:
         languages: ${{ matrix.language }}
      
-        # If you wish to specify custom queries, you can do so here or in a config file.
-        # By default, queries listed here will override any specified in a config file.
-        # Prefix the list here with "+" to use these queries and those in the config file.
-        # queries: ./path/to/local/query, your-org/your-repo/queries@main
-
-    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
-    # If this step fails, then you should remove it and run the build manually (see below)
-        
-    #- name: Autobuild
-    #  uses: github/codeql-action/autobuild@v1
-        
-
-    # ℹī¸ Command-line programs to run using the OS shell.
-    # 📚 https://git.io/JvXDl
-
-    # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines
-    #    and modify them (or add more) to build your code if your project
-    #    uses a compiled language
     - name: Install icedtea
       run: sudo apt-get install -y icedtea-netx
 
-    #- name: buildenvprobe
-    #  run: ls /usr/share/icedtea-web
-    #- name: buildenvprobe2
-    #  run: ls $JAVA_HOME/jre/lib/
-    #- name: buildenvprobe3
-    #  run: ls $JAVA_HOME/lib
-    #- name: buildenvprobe4
-    #  run: echo $JAVA_HOME
     - name: javabuild
-      run: mvn -B install
+      run: mvn -B install -Pdist -DskipTests=true
       
     - name: Perform CodeQL Analysis
       uses: github/codeql-action/analyze@v1
@@ -106,19 +113,7 @@ jobs:
       matrix:
         language: ['csharp']
   
-
     steps:
-    - name: Setup Java 8
-      uses: actions/setup-java@v1.4.3
-      with:
-        java-version: '8'
-        java-package: jdk
-        architecture: x64
-        
-    - name: set JDK 8 environment variables 
-      env:
-        ACTIONS_ALLOW_UNSECURE_COMMANDS: true
-      run: echo ::set-env name=JDK_8::$(echo $JAVA_HOME)
         
     - name: Checkout repository
       uses: actions/checkout@v2


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org