Jenkins

  • 18
    Jul

    Jenkins Git environment variables

    Jenkins job configuration: Source Code Management Configure “Git Repositories URL” & “Credentials” and “Branches to build” details I Build section Execute Windows batch command with above options

    Read More
  • 18
    Jul

    restart jenkins console

    http://[jenkins-server]/[command] where [command] can be exit shutdown jenkins restart restart jenkins reload to reload the configuration

    Read More
  • 01
    Jul

    Jenkins file for SoapUI Projects

    node(‘w5’){ deleteDir(); checkout scm; def jenkinsWorkspace = pwd(); def actualCmd =””; def APP_NAME = APP_NAME def EMAIL = EMAIL stage(“SOA QA Validation”){ def Executable_filename = “SOAP_UI_ETOXML_AUTO.xml” command = ‘cmd...

    Read More
  • 17
    Jun

    Temporarily relaxing Content Security Policy in Jenkins:

    https://jenkins.io/blog/2016/07/01/html-publisher-plugin/ chrome://flags/#enable-experimental-web-platform-features chrome://settings/content disable “Content Security Policy” on starting Jenkins java -Dhudson.model.DirectoryBrowserSupport.CSP=”” -jar jenkins.war https://content-security-policy.com/ Run IE and other browsers https://turbo.net/browsers Temporarily relaxing Content Security Policy in Jenkins: To...

    Read More
  • 17
    Jun

    Passing jenkins parameters at startup

    java -Dhudson.model.DirectoryBrowserSupport.CSP=”sandbox allow-scripts allow-popups allow-popups-to-escape-sandbox; style-src ‘unsafe-inline’ *;” -Dsvnkit.http.sslProtocols=TLSv1 -jar Jenkins.war –httpPort=8280

    Read More
  • 13
    Jun

    Configure windows Virtual Machine as node for your selenium execution

    Following steps can be used to configure Virtual machine as node on your Master jenkins node From Master Jenkins Instance: ================================ Add a new node, by specifying following values/settings:...

    Read More
  • 29
    Mar

    Maven & GitHub & Jenkins & TestNG Integration – CI Automation

    Maven & GitHub & Jenkins & TestNG Integration – CI Automation Skip to end of metadataGo to start of metadata Last updated: Sep 14, 2017 14:06 Build a maven...

    Read More
  • 28
    Nov

    How to execute TestNG regression suite from Maven commands

    Step 1.  Create TestNG tests  eg. import org.testng.annotations.Test; public class testClass { @Test public void myFunction() { System.out.println(“Testing 123……”); } }   Step 2: Configure surefire plugin in TestNG.xml...

    Read More
  • 21
    Sep

    Enable groovy scripting in Jenkins

    Traditionally user create jobs in Jenkins by providing necessary build / post build actions by filling the job details manually.  With introduction of Pipeline plugin, users now can now implement...

    Read More
  • 21
    Sep

    Setup delivery pipelines in Jenkins

    Steps required to configure “Delivery pipeline” in Jenkins.   #1.  Create jobs which needs to be chained together to perform “Delivery pipeline” tasks / builds. In order to configure...

    Read More
  • 1
  • 2