Unverified Commit db0c0eb8 authored by Jesse Mapel's avatar Jesse Mapel Committed by GitHub
Browse files

Added flag to skip SSL verification in CI (#3572)

* Added flag to skip SSL verification on PR CI

* Added no SSL flag to nightly build script

* Update Jenkinsfile

* Update build.groovy

* Update build.groovy

* Update Jenkinsfile

* Added command to skip SSL verification in Anaconda

* Updated build.groovy with anaconda SSL flag
parent deb00517
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ pipeline
                                stage ("${label}") {

                                    env.STAGE_STATUS = "Checking out ISIS"
                                    sh 'git config --global http.sslVerify false'
                                    checkout scm
                                    isisEnv.add("ISISROOT=${pwd()}/build")
                                    cmakeFlags.add("-DCMAKE_INSTALL_PREFIX=${pwd()}/install")
@@ -56,6 +57,7 @@ pipeline
                                      # Use the conda cache running on the Jenkins host
                                      conda config --set channel_alias http://dmz-jenkins.wr.usgs.gov
                                      conda config --set always_yes True
                                      conda config --set ssl_verify false 
                                      conda create -n isis python=3
                                    '''

+2 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ def setGitHubBuildStatus(status) {
node("${env.OS.toLowerCase()}") {
    stage ("Checkout") {
        env.STAGE_STATUS = "Checking out ISIS"
        sh 'git config --global http.sslVerify false'
        checkout scm
        isisEnv.add("ISISROOT=${pwd()}/build")
        cmakeFlags.add("-DCMAKE_INSTALL_PREFIX=${pwd()}/install")
@@ -67,6 +68,7 @@ node("${env.OS.toLowerCase()}") {
            # Use the conda cache running on the Jenkins host
            conda config --set channel_alias http://dmz-jenkins.wr.usgs.gov
            conda config --set always_yes True
            conda config --set ssl_verify false 
            conda create -n isis python=3
        '''