This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Every jenkins file should start with either a Declarative or Scripted Pipeline entry point. | |
node { | |
//Utilizing a try block so as to make the code cleaner and send slack notification in case of any error | |
try { | |
//Call function to send a message to Slack | |
notifyBuild('STARTED') | |
// Global variable declaration | |
def project = 'sa-android' | |
def appName = 'Sample App' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
RUN cd /opt | |
RUN mkdir android-sdk-linux && cd android-sdk-linux/ | |
RUN apt-get update -qq \ | |
&& apt-get install -y openjdk-8-jdk \ | |
&& apt-get install -y wget \ | |
&& apt-get install -y expect \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.keepithttps.hibernate.type; | |
import java.io.IOException; | |
import java.io.Serializable; | |
import java.sql.PreparedStatement; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Types; | |
import java.util.Properties; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |