This file contains hidden or 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
List <sObject> records = new List<sObject>(); | |
records = [SELECT ID, Name FROM sObject WHERE ID IN ('List', 'Of', 'Ids')]; | |
String Id0 = records[0].Id; | |
String Id1 = records[1].Id; | |
String Name0 = records[0].Name; | |
String Name1 = records[1].Name; | |
System.debug('Name Check: '+ Name0 == Name1); | |
System.debug('Name: '+Name0); |
This file contains hidden or 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
try { | |
insert object; | |
} catch (System.DmlException e) { | |
System.debug('DML-DEBUG'); | |
System.debug('DML-DEBUG - Cause: '+e.getCause()); | |
System.debug('DML-DEBUG - LineNum: '+e.getLineNumber()); | |
System.debug('DML-DEBUG - Message: '+e.getMessage()); | |
System.debug('DML-DEBUG'); | |
for (Integer i = 0; i < e.getNumDml(); i++) { | |
This file contains hidden or 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
pipeline { | |
agent any | |
environment { | |
def uploadSpec = """{ | |
"files": [ | |
{ | |
"pattern": "dist/*", | |
"target": "repo/folder/" | |
} | |
] |
OlderNewer